on Click
Sets the click event for the item.
Return
the updated ItemBuilder object.
Parameters
on Click
the function to be called when the item is clicked. The function receives an InventoryClickEvent parameter.
Sets the click event for the item.
the updated ItemBuilder object.
the function to be called when the item is clicked. The function receives an InventoryClickEvent parameter.