@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 ​
readonlyblock:Block
Defined in: @minecraft/server/index.d.ts:4790
Remarks ​
Block currently in the world at the location of this event.
Inherited from ​
dimension ​
readonlydimension:Dimension
Defined in: @minecraft/server/index.d.ts:4797
Remarks ​
Dimension that contains the block that is the subject of this event.
Inherited from ​
powerLevel ​
readonlypowerLevel: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 ​
readonlypreviousPowerLevel: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.