Files
KSpigot/docs/-k-spigot/net.axay.kspigot.inventory/-inventory-g-u-i-page-builder/button.md
bluefireoly 69b2e6cd17 Updated docs
2020-10-16 02:13:42 +02:00

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)