Skip to content

@minecraft/server


@minecraft/server / BlockComponentRedstoneUpdateEvent

Class: BlockComponentRedstoneUpdateEvent ​

Defined in: @minecraft/server/index.d.ts:4586

Contains information regarding a specific block redstone update event.

Extends ​

Properties ​

block ​

readonly block: Block

Defined in: @minecraft/server/index.d.ts:4790

Remarks ​

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

Inherited from ​

BlockEvent.block


dimension ​

readonly dimension: Dimension

Defined in: @minecraft/server/index.d.ts:4797

Remarks ​

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

Inherited from ​

BlockEvent.dimension


powerLevel ​

readonly powerLevel: number

Defined in: @minecraft/server/index.d.ts:4595

Remarks ​

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 ​

readonly previousPowerLevel: number

Defined in: @minecraft/server/index.d.ts:4604

Remarks ​

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.