Class: BlockComponentRedstoneUpdateEvent
event block componentBeta
包含有关特定方块红石更新事件的信息。
Contains information regarding a specific block redstone update event.
Extends
Properties
block
readonlyblock:Block
Beta
Remarks
当前世界中此事件所在位置的方块。
Block currently in the world at the location of this event.
Inherited from
dimension
readonlydimension:Dimension
Beta
Remarks
包含此事件主体方块的维度。
Dimension that contains the block that is the subject of this event.
Inherited from
firstUpdate
实验性
readonlyfirstUpdate:boolean
Beta
Remarks
红石组件的第一个更新事件。
The first update event for the redstone component.
powerLevel
readonlypowerLevel:number
Beta
Remarks
通过此方块的红石信号强度。保证不小于该方块的 minecraft:redstone_consumer
组件的 min_power 值。
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
Beta
Remarks
上一刻通过此方块的红石信号强度。保证不小于该方块的 minecraft:redstone_consumer
组件的 min_power 值。
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.
