onClick

open override fun onClick(clickEvent: InventoryClickEvent)

Handles click events for this item provider. This method must be implemented by subclasses to define the behavior when the item is clicked in the GUI.

Parameters

clickEvent

The InventoryClickEvent that occurred when the item was clicked.