ClickModification

This class is used as a ItemModification to handle click events on the item

Parameters

inventoryItem

The InventoryItem to which this modification is applied

Constructors

Link copied to clipboard
constructor(inventoryItem: InventoryItem)

Properties

Link copied to clipboard
open override val inventoryItem: InventoryItem

Functions

Link copied to clipboard
fun addClickHandler(handler: (InventoryClickEvent) -> Unit)

This function is used to add a click handler to the item