GuiButton

Constructors

Link copied to clipboard
constructor(icon: GuiIcon, onClick: suspend (GuiClickEvent) -> Unit)

Properties

Link copied to clipboard

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 override fun startUsing(gui: Gui)
Link copied to clipboard
open override fun stopUsing(gui: Gui)