Class: TargetBlockHitAfterEvent
Contains information related to changes to a target block hit.
Extends
Constructors
new TargetBlockHitAfterEvent()
private
new TargetBlockHitAfterEvent():TargetBlockHitAfterEvent
Returns
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
hitVector
readonly
hitVector:Vector3
Remarks
The position where the source hit the block.
previousRedstonePower
readonly
previousRedstonePower:number
Remarks
The redstone power before the block is hit.
redstonePower
readonly
redstonePower:number
Remarks
The redstone power at the time the block is hit.
source
readonly
source:Entity
Remarks
Optional source that hit the target block.