Package net.axay.kspigot.inventory

Types

ForColumnEight
Link copied to clipboard
interface ForColumnEight : ForInventoryWidthNine
ForColumnFive
Link copied to clipboard
interface ForColumnFive : ForInventoryWidthFive, ForInventoryWidthNine
ForColumnFour
Link copied to clipboard
interface ForColumnFour : ForInventoryWidthFive, ForInventoryWidthNine
ForColumnNine
Link copied to clipboard
interface ForColumnNine : ForInventoryWidthNine
ForColumnOne
Link copied to clipboard
ForColumnSeven
Link copied to clipboard
interface ForColumnSeven : ForInventoryWidthNine
ForColumnSix
Link copied to clipboard
interface ForColumnSix : ForInventoryWidthNine
ForColumnThree
Link copied to clipboard
ForColumnTwo
Link copied to clipboard
ForCompleteRowOne
Link copied to clipboard
ForCompleteRowThree
Link copied to clipboard
interface ForCompleteRowThree : ForRowThree, ForRowThreeSlotOneToThree
ForCompleteRowTwo
Link copied to clipboard
interface ForCompleteRowTwo : ForRowTwo, ForRowTwoSlotOneToThree
ForInventory
Link copied to clipboard
interface ForInventory
ForInventoryFiveByNine
Link copied to clipboard
interface ForInventoryFiveByNine : ForInventory
ForInventoryFourByNine
Link copied to clipboard
interface ForInventoryFourByNine : ForInventory
ForInventoryOneByFive
Link copied to clipboard
interface ForInventoryOneByFive : ForInventory
ForInventoryOneByNine
Link copied to clipboard
interface ForInventoryOneByNine : ForInventory
ForInventorySixByNine
Link copied to clipboard
interface ForInventorySixByNine : ForInventory
ForInventoryThreeByNine
Link copied to clipboard
interface ForInventoryThreeByNine : ForInventory
ForInventoryThreeByThree
Link copied to clipboard
interface ForInventoryThreeByThree : ForInventory
ForInventoryTwoByNine
Link copied to clipboard
interface ForInventoryTwoByNine : ForInventory
ForInventoryWidthFive
Link copied to clipboard
interface ForInventoryWidthFive : ForInventoryOneByFive
ForInventoryWidthThree
Link copied to clipboard
interface ForInventoryWidthThree : ForInventoryThreeByThree
ForRowFive
Link copied to clipboard
interface ForRowFive : ForInventoryFiveByNine, ForInventorySixByNine
ForRowFour
Link copied to clipboard
ForRowOneSlotFourToFive
Link copied to clipboard
interface ForRowOneSlotFourToFive : ForRowOne, ForInventoryOneByFive
ForRowOneSlotOneToThree
Link copied to clipboard
ForRowSix
Link copied to clipboard
interface ForRowSix : ForInventorySixByNine
ForRowThree
Link copied to clipboard
ForRowThreeSlotOneToThree
Link copied to clipboard
interface ForRowThreeSlotOneToThree : ForRowThree, ForInventoryThreeByThree
ForRowTwoSlotOneToThree
Link copied to clipboard
interface ForRowTwoSlotOneToThree : ForRowTwo, ForInventoryThreeByThree
InventoryBorderSlots
Link copied to clipboard
class InventoryBorderSlots<T : ForInventory> : InventorySlotCompound<T>
InventoryColumnSlots
Link copied to clipboard
class InventoryColumnSlots<T : ForInventory> : InventorySlotCompound<T>
InventoryCornerSlots
Link copied to clipboard
class InventoryCornerSlots<T : ForInventory> : InventorySlotCompound<T>
InventoryDimensions
Link copied to clipboard
data class InventoryDimensions(width: Int, heigth: Int)
InventoryGUI
Link copied to clipboard
abstract class InventoryGUI<T : ForInventory>(data: InventoryGUIData<T>)
InventoryGUIBuilder
Link copied to clipboard
class InventoryGUIBuilder<T : ForInventory>(kSpigot: KSpigot, type: InventoryType<T>)
InventoryGUIButton
Link copied to clipboard
open class InventoryGUIButton(inventoryGUIElementData: InventoryGUIElementData, action: (<ERROR CLASS>) -> Unit) : InventoryGUIElement
InventoryGUIButtonPageChange
Link copied to clipboard
class InventoryGUIButtonPageChange(inventoryGUIElementData: InventoryGUIElementData, calculator: InventoryGUIPageChangeCalculator, onChange: (<ERROR CLASS>) -> Unit?) : InventoryGUIButton
InventoryGUIClickEvent
Link copied to clipboard
class InventoryGUIClickEvent<T : ForInventory>(bukkitEvent: InventoryClickEvent, gui: InventoryGUI<T>)
InventoryGUIData
Link copied to clipboard
class InventoryGUIData<T : ForInventory>(plugin: KSpigot, inventoryType: InventoryType<T>, title: String?, pages: Map<Int, InventoryGUIPage>)
InventoryGUIElement
Link copied to clipboard
abstract class InventoryGUIElement(inventoryGUIElementData: InventoryGUIElementData) : InventoryGUISlot
InventoryGUIElementData
Link copied to clipboard
class InventoryGUIElementData(itemStack: ItemStack)
InventoryGUIFreeSlot
Link copied to clipboard
class InventoryGUIFreeSlot : InventoryGUISlot
InventoryGUIHolder
Link copied to clipboard
class InventoryGUIHolder(kSpigot: KSpigot) : AutoCloseable
InventoryGUIPage
Link copied to clipboard
class InventoryGUIPage(slots: Map<Int, InventoryGUISlot>, transitionTo: InventoryGUIPageChangeEffect?, transitionFrom: InventoryGUIPageChangeEffect?)
InventoryGUIPageBuilder
Link copied to clipboard
class InventoryGUIPageBuilder<T : ForInventory>(type: InventoryType<T>, page: Int)
InventoryGUIPageChangeCalculator
Link copied to clipboard
abstract class InventoryGUIPageChangeCalculator
InventoryGUIPageChangeEffect
Link copied to clipboard
InventoryGUIPageChanger
Link copied to clipboard
class InventoryGUIPageChanger(effect: InventoryGUIPageChangeEffect)
InventoryGUIPlaceholder
Link copied to clipboard
class InventoryGUIPlaceholder(inventoryGUIElementData: InventoryGUIElementData) : InventoryGUIElement
InventoryGUIShared
Link copied to clipboard
class InventoryGUIShared<T : ForInventory>(inventoryGUIData: InventoryGUIData<T>) : InventoryGUI<T>
InventoryGUISlot
Link copied to clipboard
interface InventoryGUISlot
InventoryRowSlots
Link copied to clipboard
class InventoryRowSlots<T : ForInventory> : InventorySlotCompound<T>
InventorySlot
Link copied to clipboard
data class InventorySlot(row: Int, slotInRow: Int) : Comparable<InventorySlot>
InventorySlotCompound
Link copied to clipboard
interface InventorySlotCompound<out T : ForInventory>
InventorySlotRange
Link copied to clipboard
class InventorySlotRange<out T : ForInventory> : InventorySlotCompound<T> , ClosedRange<InventorySlot>
InventoryType
Link copied to clipboard
class InventoryType<in T : ForInventory>(dimensions: InventoryDimensions, bukkitType: InventoryType?)
SingleInventorySlot
Link copied to clipboard
open class SingleInventorySlot<T : ForInventory> : InventorySlotCompound<T>
Slots
Link copied to clipboard
object Slots

Functions

inventoryGUI
Link copied to clipboard
inline fun <T : ForInventory> KSpigot.inventoryGUI(type: InventoryType<T>, builder: InventoryGUIBuilder<T>.() -> Unit): InventoryGUIShared<T>
linTo
Link copied to clipboard

This range contains all slots having an index between the indeces of the two given slots.

infix fun <T : ForInventory> SingleInventorySlot<out T>.linTo(slot: SingleInventorySlot<out T>): InventorySlotRange<T>
openGUI
Link copied to clipboard
fun HumanEntity.openGUI(gui: InventoryGUI<*>, page: Int): InventoryView?
rectTo
Link copied to clipboard

This range contains all slots inside of a thought rectangle with the two given slots as two opposite corners of the rectangle.

infix fun <T : ForInventory> SingleInventorySlot<out T>.rectTo(slot: SingleInventorySlot<out T>): InventorySlotRange<T>