onClick

fun Inventory.onClick(callback: InventoryClickEvent.() -> Unit)

Custom Interaction Method for the InventoryClickEvent. Register SmartEvents and use the Event Manager.

See also