button

fun button(slots: GuiSlotCompound, icon: GuiIcon, onClick: suspend (GuiClickEvent) -> Unit)

Adds a button. A button has custom onClick logic.