GuiFreeSlot

class GuiFreeSlot(onClick: suspend (GuiClickEvent) -> Unit?) : GuiElement(source)

Constructors

Link copied to clipboard
constructor(onClick: suspend (GuiClickEvent) -> Unit?)

Functions

Link copied to clipboard
open suspend override fun getItemStack(slotIndex: Int): ItemStack
Link copied to clipboard
open suspend override fun onClick(clickEvent: GuiClickEvent)
Link copied to clipboard
open override fun shouldCancel(clickEvent: GuiClickEvent): Boolean
Link copied to clipboard
open fun startUsing(gui: Gui)
Link copied to clipboard
open fun stopUsing(gui: Gui)