slot

abstract fun slot(slot: Int, item: ItemStack, handler: InventoryClickEvent.() -> Unit)

Registers a slot with a click listener


abstract fun slot(slot: Int, item: ItemStack)

Registers a slot