Class: BlockComponentPlayerInteractEvent
Contains information regarding a specific block being interacted with.
Extends
Constructors
new BlockComponentPlayerInteractEvent()
private
new BlockComponentPlayerInteractEvent():BlockComponentPlayerInteractEvent
Returns
BlockComponentPlayerInteractEvent
Overrides
Properties
block
readonly
block:Block
Remarks
Block impacted by this event.
Inherited from
dimension
readonly
dimension:Dimension
Remarks
Dimension that contains the block that is the subject of this event.
Inherited from
face
readonly
face:Direction
Remarks
The block face that was interacted with.
faceLocation?
optional
readonly
faceLocation:Vector3
Remarks
Location relative to the bottom north-west corner of the block that the player interacted with.
player?
optional
readonly
player:Player
Remarks
The player that interacted with this block.