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 : ForInventorySixByNine
ForInventoryFourByNine
Link copied to clipboard
interface ForInventoryFourByNine : ForInventoryFiveByNine
ForInventoryOneByFive
Link copied to clipboard
interface ForInventoryOneByFive : ForInventoryOneByNine
ForInventoryOneByNine
Link copied to clipboard
interface ForInventoryOneByNine : ForInventoryTwoByNine
ForInventorySixByNine
Link copied to clipboard
interface ForInventorySixByNine : ForInventory
ForInventoryThreeByNine
Link copied to clipboard
interface ForInventoryThreeByNine : ForInventoryFourByNine
ForInventoryThreeByThree
Link copied to clipboard
interface ForInventoryThreeByThree : ForInventoryThreeByNine
ForInventoryTwoByNine
Link copied to clipboard
interface ForInventoryTwoByNine : ForInventoryThreeByNine
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>
InventoryChangeEffect
Link copied to clipboard
enum InventoryChangeEffect : Enum<InventoryChangeEffect>
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>(type: InventoryType<T>)
InventoryGUIClickEvent
Link copied to clipboard
class InventoryGUIClickEvent<T : ForInventory>(bukkitEvent: InventoryClickEvent, gui: InventoryGUI<T>)
InventoryGUIData
Link copied to clipboard
class InventoryGUIData<T : ForInventory>(inventoryType: InventoryType<T>, title: String?, pages: Map<Int, InventoryGUIPage<T>>, transitionTo: InventoryChangeEffect?, transitionFrom: InventoryChangeEffect?, generalOnClick: (InventoryGUIClickEvent<T>) -> Unit?)
InventoryGUIElement
Link copied to clipboard
abstract class InventoryGUIElement<T : ForInventory>(inventoryGUIElementData: InventoryGUIElementData) : InventoryGUISlot<T>
InventoryGUIElementData
Link copied to clipboard
class InventoryGUIElementData(itemStack: ItemStack)
InventoryGUIHolder
Link copied to clipboard
object InventoryGUIHolder : AutoCloseable
InventoryGUIPage
Link copied to clipboard
class InventoryGUIPage<T : ForInventory>(number: Int, slots: Map<Int, InventoryGUISlot<T>>, transitionTo: PageChangeEffect?, transitionFrom: PageChangeEffect?)
InventoryGUIPageBuilder
Link copied to clipboard
class InventoryGUIPageBuilder<T : ForInventory>(type: InventoryType<T>, page: Int)
InventoryGUIPageChangeCalculator
Link copied to clipboard
abstract class InventoryGUIPageChangeCalculator
InventoryGUIShared
Link copied to clipboard
class InventoryGUIShared<T : ForInventory>(inventoryGUIData: InventoryGUIData<T>) : InventoryGUI<T>
InventoryGUISlot
Link copied to clipboard
abstract class InventoryGUISlot<T : ForInventory>
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?)
PageChangeEffect
Link copied to clipboard
enum PageChangeEffect : Enum<PageChangeEffect>
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
fun <T : ForInventory> 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>