EventHandlerBuilder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun onClick(onClick: suspend (GuiClickEvent) -> Unit)

And event callback which will be invoked if a player interacts with the inventory.

Link copied to clipboard
fun onClose(onClose: suspend (GuiCloseEvent) -> Unit)

An event callback which will be invoked if the gui inventory gets closed.