onClick

open fun onClick(event: InventoryClickEvent)(source)

This function is called when the item this modification is applied to is clicked

Parameters

event

The InventoryClickEvent which has triggered the click