EventsCallOptions

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

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

Constructors

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

Properties

Link copied to clipboard
open override val click: EffectiveAbstractInteract.Click
Link copied to clipboard
val clickedEntity: Entity
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.Entity