@minecraft/server / TargetBlockHitAfterEvent
Class: TargetBlockHitAfterEvent ​
Defined in: @minecraft/server/index.d.ts:20643
Contains information related to changes to a target block hit.
Extends ​
Properties ​
block ​
readonlyblock:Block
Defined in: @minecraft/server/index.d.ts:4790
Remarks ​
Block currently in the world at the location of this event.
Inherited from ​
dimension ​
readonlydimension:Dimension
Defined in: @minecraft/server/index.d.ts:4797
Remarks ​
Dimension that contains the block that is the subject of this event.
Inherited from ​
hitVector ​
readonlyhitVector:Vector3
Defined in: @minecraft/server/index.d.ts:20650
Remarks ​
The position where the source hit the block.
previousRedstonePower ​
readonlypreviousRedstonePower:number
Defined in: @minecraft/server/index.d.ts:20656
Remarks ​
The redstone power before the block is hit.
redstonePower ​
readonlyredstonePower:number
Defined in: @minecraft/server/index.d.ts:20662
Remarks ​
The redstone power at the time the block is hit.
source ​
readonlysource:Entity
Defined in: @minecraft/server/index.d.ts:20668
Remarks ​
Optional source that hit the target block.