Contains information regarding a specific block redstone update event.

Hierarchy (View Summary)

Constructors

Properties

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.

powerLevel: number

The redstone signal strength passing through this block. It is guaranteed to be >= the min_power of the block's 'minecraft:redstone_consumer' component.

previousPowerLevel: number

The redstone signal strength from the last tick that was passing through this block. It is guaranteed to be >= the min_power of the block's 'minecraft:redstone_consumer' component.