Files
KSpigot/docs/-k-spigot/net.axay.kspigot.inventory/index.md
bluefireoly 69b2e6cd17 Updated docs
2020-10-16 02:13:42 +02:00

24 KiB

title
title
net.axay.kspigot.inventory -

//KSpigot/net.axay.kspigot.inventory

Package net.axay.kspigot.inventory

Types

Name Summary
ForColumnEight [jvm]
Content
interface ForColumnEight : ForInventoryWidthNine


ForColumnFive [jvm]
Content
interface ForColumnFive : ForInventoryWidthFive, ForInventoryWidthNine


ForColumnFour [jvm]
Content
interface ForColumnFour : ForInventoryWidthFive, ForInventoryWidthNine


ForColumnNine [jvm]
Content
interface ForColumnNine : ForInventoryWidthNine


ForColumnOne [jvm]
Content
interface ForColumnOne : ForInventoryWidthThree, ForInventoryWidthFive, ForInventoryWidthNine


ForColumnSeven [jvm]
Content
interface ForColumnSeven : ForInventoryWidthNine


ForColumnSix [jvm]
Content
interface ForColumnSix : ForInventoryWidthNine


ForColumnThree [jvm]
Content
interface ForColumnThree : ForInventoryWidthThree, ForInventoryWidthFive, ForInventoryWidthNine


ForColumnTwo [jvm]
Content
interface ForColumnTwo : ForInventoryWidthThree, ForInventoryWidthFive, ForInventoryWidthNine


ForCompleteRowOne [jvm]
Content
interface ForCompleteRowOne : ForRowOne, ForRowOneSlotOneToThree, ForRowOneSlotFourToFive


ForCompleteRowThree [jvm]
Content
interface ForCompleteRowThree : ForRowThree, ForRowThreeSlotOneToThree


ForCompleteRowTwo [jvm]
Content
interface ForCompleteRowTwo : ForRowTwo, ForRowTwoSlotOneToThree


ForEveryInventory [jvm]
Content
interface ForEveryInventory : ForInventoryOneByNine, ForInventoryTwoByNine, ForInventoryThreeByNine, ForInventoryFourByNine, ForInventoryFiveByNine, ForInventorySixByNine, ForInventoryThreeByThree, ForInventoryOneByFive


ForInventory [jvm]
Content
interface ForInventory


ForInventoryFiveByNine [jvm]
Content
interface ForInventoryFiveByNine : ForInventorySixByNine


ForInventoryFourByNine [jvm]
Content
interface ForInventoryFourByNine : ForInventoryFiveByNine


ForInventoryOneByFive [jvm]
Content
interface ForInventoryOneByFive : ForInventoryOneByNine


ForInventoryOneByNine [jvm]
Content
interface ForInventoryOneByNine : ForInventoryTwoByNine


ForInventorySixByNine [jvm]
Content
interface ForInventorySixByNine : ForInventory


ForInventoryThreeByNine [jvm]
Content
interface ForInventoryThreeByNine : ForInventoryFourByNine


ForInventoryThreeByThree [jvm]
Content
interface ForInventoryThreeByThree : ForInventoryThreeByNine


ForInventoryTwoByNine [jvm]
Content
interface ForInventoryTwoByNine : ForInventoryThreeByNine


ForInventoryWidthFive [jvm]
Content
interface ForInventoryWidthFive : ForInventoryOneByFive


ForInventoryWidthNine [jvm]
Content
interface ForInventoryWidthNine : ForInventoryOneByNine, ForInventoryTwoByNine, ForInventoryThreeByNine, ForInventoryFourByNine, ForInventoryFiveByNine, ForInventorySixByNine


ForInventoryWidthThree [jvm]
Content
interface ForInventoryWidthThree : ForInventoryThreeByThree


ForRowFive [jvm]
Content
interface ForRowFive : ForInventoryFiveByNine, ForInventorySixByNine


ForRowFour [jvm]
Content
interface ForRowFour : ForInventoryFourByNine, ForInventoryFiveByNine, ForInventorySixByNine


ForRowOne [jvm]
Content
interface ForRowOne : ForInventoryOneByNine, ForInventoryTwoByNine, ForInventoryThreeByNine, ForInventoryFourByNine, ForInventoryFiveByNine, ForInventorySixByNine


ForRowOneSlotFourToFive [jvm]
Content
interface ForRowOneSlotFourToFive : ForRowOne, ForInventoryOneByFive


ForRowOneSlotOneToThree [jvm]
Content
interface ForRowOneSlotOneToThree : ForRowOne, ForInventoryOneByFive, ForInventoryThreeByThree


ForRowSix [jvm]
Content
interface ForRowSix : ForInventorySixByNine


ForRowThree [jvm]
Content
interface ForRowThree : ForInventoryThreeByNine, ForInventoryFourByNine, ForInventoryFiveByNine, ForInventorySixByNine


ForRowThreeSlotOneToThree [jvm]
Content
interface ForRowThreeSlotOneToThree : ForRowThree, ForInventoryThreeByThree


ForRowTwo [jvm]
Content
interface ForRowTwo : ForInventoryTwoByNine, ForInventoryThreeByNine, ForInventoryFourByNine, ForInventoryFiveByNine, ForInventorySixByNine


ForRowTwoSlotOneToThree [jvm]
Content
interface ForRowTwoSlotOneToThree : ForRowTwo, ForInventoryThreeByThree


InventoryBorderSlots [jvm]
Content
class InventoryBorderSlots<T : ForInventory> : InventorySlotCompound<T>


InventoryChangeEffect [jvm]
Content
enum InventoryChangeEffect : Enum<InventoryChangeEffect>


InventoryColumnSlots [jvm]
Content
class InventoryColumnSlots<T : ForInventory> : InventorySlotCompound<T>


InventoryCornerSlots [jvm]
Content
class InventoryCornerSlots<T : ForInventory> : InventorySlotCompound<T>


InventoryDimensions [jvm]
Content
data class InventoryDimensions(width: Int, heigth: Int)


InventoryGUI [jvm]
Content
abstract class InventoryGUI<T : ForInventory>(data: InventoryGUIData<T>)


InventoryGUIBuilder [jvm]
Content
class InventoryGUIBuilder<T : ForInventory>(type: InventoryType<T>)


InventoryGUIButton [jvm]
Content
open class InventoryGUIButton<T : ForInventory>(inventoryGUIElementData: InventoryGUIElementData, action: (InventoryGUIClickEvent<T>) -> Unit) : InventoryGUIElement<T>


InventoryGUIButtonInventoryChange [jvm]
Content
class InventoryGUIButtonInventoryChange<T : ForInventory>(inventoryGUIElementData: InventoryGUIElementData, changeToGUICallback: () -> InventoryGUI<*>, changeToPageInt: Int?, onChange: (InventoryGUIClickEvent<T>) -> Unit?) : InventoryGUIButton<T>


InventoryGUIButtonPageChange [jvm]
Content
class InventoryGUIButtonPageChange<T : ForInventory>(inventoryGUIElementData: InventoryGUIElementData, calculator: InventoryGUIPageChangeCalculator, onChange: (InventoryGUIClickEvent<T>) -> Unit?) : InventoryGUIButton<T>


InventoryGUIClickEvent [jvm]
Content
class InventoryGUIClickEvent<T : ForInventory>(bukkitEvent: InventoryClickEvent, gui: InventoryGUI<T>)


InventoryGUIData [jvm]
Content
class InventoryGUIData<T : ForInventory>(inventoryType: InventoryType<T>, title: String?, pages: Map<Int, InventoryGUIPage<T>>, transitionTo: InventoryChangeEffect?, transitionFrom: InventoryChangeEffect?, generalOnClick: (InventoryGUIClickEvent<T>) -> Unit?)


InventoryGUIElement [jvm]
Content
abstract class InventoryGUIElement<T : ForInventory>(inventoryGUIElementData: InventoryGUIElementData) : InventoryGUISlot<T>


InventoryGUIElementData [jvm]
Content
class InventoryGUIElementData(itemStack: ItemStack)


InventoryGUIFreeSlot [jvm]
Content
class InventoryGUIFreeSlot<T : ForInventory> : InventoryGUISlot<T>


InventoryGUIHolder [jvm]
Content
object InventoryGUIHolder : AutoCloseable


InventoryGUIPage [jvm]
Content
class InventoryGUIPage<T : ForInventory>(number: Int, slots: Map<Int, InventoryGUISlot<T>>, transitionTo: PageChangeEffect?, transitionFrom: PageChangeEffect?)


InventoryGUIPageBuilder [jvm]
Content
class InventoryGUIPageBuilder<T : ForInventory>(type: InventoryType<T>, page: Int)


InventoryGUIPageChangeCalculator [jvm]
Content
abstract class InventoryGUIPageChangeCalculator


InventoryGUIPlaceholder [jvm]
Content
class InventoryGUIPlaceholder<T : ForInventory>(inventoryGUIElementData: InventoryGUIElementData) : InventoryGUIElement<T>


InventoryGUIShared [jvm]
Content
class InventoryGUIShared<T : ForInventory>(inventoryGUIData: InventoryGUIData<T>) : InventoryGUI<T>


InventoryGUISlot [jvm]
Content
abstract class InventoryGUISlot<T : ForInventory>


InventoryRowSlots [jvm]
Content
class InventoryRowSlots<T : ForInventory> : InventorySlotCompound<T>


InventorySlot [jvm]
Content
data class InventorySlot(row: Int, slotInRow: Int) : Comparable<InventorySlot>


InventorySlotCompound [jvm]
Content
interface InventorySlotCompound<out T : ForInventory>


InventorySlotRange [jvm]
Content
class InventorySlotRange<out T : ForInventory> : InventorySlotCompound<T> , ClosedRange<InventorySlot>


InventoryType [jvm]
Content
class InventoryType<in T : ForInventory>(dimensions: InventoryDimensions, bukkitType: InventoryType?)


PageChangeEffect [jvm]
Content
enum PageChangeEffect : Enum<PageChangeEffect>


SingleInventorySlot [jvm]
Content
open class SingleInventorySlot<T : ForInventory> : InventorySlotCompound<T>


Slots [jvm]
Content
object Slots


Functions

Name Summary
inventoryGUI [jvm]
Content
fun <T : ForInventory> inventoryGUI(type: InventoryType<T>, builder: InventoryGUIBuilder<T>.() -> Unit): InventoryGUIShared<T>


linTo [jvm]
Brief description


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


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


openGUI [jvm]
Content
fun HumanEntity.openGUI(gui: InventoryGUI<*>, page: Int?): InventoryView?


rectTo [jvm]
Brief description


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


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