Companion
object Companion
Functions
Link copied to clipboard
fun addInteractHandler(entity: Entity, click: EffectiveAbstractInteract.Click, callback: InteractCallback, cooldownData: EffectiveAbstractInteract.CooldownData<EffectiveEntityInteractable.EventsCallOptions>? = null)
Link copied to clipboard
Runs matching handlers for the interacted entity; returns whether the event should be cancelled.