onSlotClick

fun Inventory.onSlotClick(slot: Int, callback: InventoryClickEvent.() -> Unit)

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

See also