EventsCallOptions

data class EventsCallOptions(val player: Player, val target: EffectiveAbstractInteract.Target.Block, val click: EffectiveAbstractInteract.Click, val hand: EquipmentSlot, val blockFace: BlockFace) : EffectiveAbstractInteract.EventsCallOptions<EffectiveAbstractInteract.Target.Block>

Context passed to an InteractCallback: the player, the clicked block, the click type, hand and face.

Constructors

Link copied to clipboard
constructor(player: Player, target: EffectiveAbstractInteract.Target.Block, click: EffectiveAbstractInteract.Click, hand: EquipmentSlot, blockFace: BlockFace)

Properties

Link copied to clipboard
val blockFace: BlockFace
Link copied to clipboard
open override val click: EffectiveAbstractInteract.Click
Link copied to clipboard
val clickedBlock: Block
Link copied to clipboard
Link copied to clipboard
open override val hand: EquipmentSlot
Link copied to clipboard
open override val player: Player
Link copied to clipboard
open override val target: EffectiveAbstractInteract.Target.Block