628 B
628 B
title
title |
---|
button - |
//KSpigot/net.axay.kspigot.inventory/InventoryGUIPageBuilder/button
button
[jvm]
Brief description
A button is an item protected from any player actions. If clicked, the specified onClick function is invoked.
Content
fun button(slots: InventorySlotCompound<T>, itemStack: ItemStack, onClick: (InventoryGUIClickEvent<T>) -> Unit)