Data

data class Data(val target: EffectiveAbstractInteract.Target.Entity, val click: EffectiveAbstractInteract.Click, val callback: InteractCallback, val cooldownData: EffectiveAbstractInteract.CooldownData<EffectiveEntityInteractable.EventsCallOptions>? = null) : EffectiveAbstractInteract.Data<EffectiveEntityInteractable.EventsCallOptions>

A registered entity interact handler: target entity, Click, callback and optional cooldown.

Constructors

Link copied to clipboard
constructor(target: EffectiveAbstractInteract.Target.Entity, click: EffectiveAbstractInteract.Click, callback: InteractCallback, cooldownData: EffectiveAbstractInteract.CooldownData<EffectiveEntityInteractable.EventsCallOptions>? = null)

Properties

Link copied to clipboard
open override val callback: InteractCallback
Link copied to clipboard
open override val click: EffectiveAbstractInteract.Click
Link copied to clipboard
open override val cooldownData: EffectiveAbstractInteract.CooldownData<EffectiveEntityInteractable.EventsCallOptions>?
Link copied to clipboard
val entity: Entity
Link copied to clipboard
open override val target: EffectiveAbstractInteract.Target.Entity