Companion
object Companion
Functions
Link copied to clipboard
fun addClickHandler(item: ItemStack, click: EffectiveAbstractInteract.Click, callback: InteractCallback, ifRightClickOpenContainer: Boolean = false, cooldownData: EffectiveAbstractInteract.CooldownData<EffectiveClickable.EventsCallOptions>? = null)
Link copied to clipboard
Clears the per-tick guard tracking players who already interacted with an entity.
Link copied to clipboard
Runs every handler matching the interacted item and returns whether the event should be cancelled. Called by the module's event listeners; rarely needed directly.