Data

data class Data(val target: EffectiveAbstractInteract.Target.Block, val click: EffectiveAbstractInteract.Click, val callback: InteractCallback) : EffectiveAbstractInteract.Data<EffectiveBlockInteractable.EventsCallOptions>

A registered block interact handler: target block type, Click and callback. Blocks have no cooldown.

Constructors

Link copied to clipboard
constructor(target: EffectiveAbstractInteract.Target.Block, click: EffectiveAbstractInteract.Click, callback: InteractCallback)

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<EffectiveBlockInteractable.EventsCallOptions>? = null
Link copied to clipboard
Link copied to clipboard
open override val target: EffectiveAbstractInteract.Target.Block