Contains information related to changes to a target block hit.

Hierarchy

Constructors

Properties

block: Block

Remarks

Block impacted by this event.

dimension: Dimension

Remarks

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

hitVector: Vector3

Remarks

The position where the source hit the block.

previousRedstonePower: number

Remarks

The redstone power before the block is hit.

redstonePower: number

Remarks

The redstone power at the time the block is hit.

source: Entity

Remarks

Optional source that hit the target block.