类 TargetBlockHitAfterEvent

Contains information related to changes to a target block hit.

层级 (查看层级一览)

属性

block: Block

Block currently in the world at the location of this event.

dimension: Dimension

Dimension that contains the block that is the subject of this event.

hitVector: Vector3

The position where the source hit the block.

previousRedstonePower: number

The redstone power before the block is hit.

redstonePower: number

The redstone power at the time the block is hit.

source: Entity

Optional source that hit the target block.