Contains information related to changes to a target block hit.

Hierarchy (View Summary)

Properties

block: Block

Block impacted by 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.