KtInventoryBase

abstract class KtInventoryBase(val line: Int)

Inheritors

Constructors

Link copied to clipboard
constructor(line: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val line: Int
Link copied to clipboard
val size: Int

Functions

Link copied to clipboard
fun button(vararg slot: Int, item: KtInventoryButton<KtInventoryBase>)
fun button(slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<KtInventory>) -> Unit = {})
fun button(vararg slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<KtInventory>) -> Unit = {})
fun button(slots: Iterable<Int>, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<KtInventory>) -> Unit = {})
Link copied to clipboard
fun handleClick(event: InventoryClickEvent)
Link copied to clipboard
open fun onClick(event: InventoryClickEvent)
Link copied to clipboard
open fun onClose(event: InventoryCloseEvent)
Link copied to clipboard
open fun onOpen(event: InventoryOpenEvent)
Link copied to clipboard
abstract fun open(player: HumanEntity)