GUIButton

open class GUIButton<T : ForInventory>(icon: ItemStack, action: (GUIClickEvent<T>) -> Unit) : GUIElement<T>

Functions

getItemStack
Link copied to clipboard
override fun getItemStack(slot: Int): ItemStack
onClick
Link copied to clipboard
override fun onClick(clickEvent: GUIClickEvent<T>)

Inheritors

GUIButtonInventoryChange
Link copied to clipboard
GUIButtonPageChange
Link copied to clipboard
GUISpaceCompoundScrollButton
Link copied to clipboard