toggle menu
silk
1.10.4
jvm
switch theme
search in API
silk-igui
/
net.silkmc.silk.igui
/
GuiBuilder
/
EventHandlerBuilder
/
onClick
on
Click
fun
onClick
(
onClick
:
suspend
(
GuiClickEvent
)
->
Unit
)
(
source
)
And event callback which will be invoked if a player interacts with the inventory.