The BlockComponentRedstoneUpdateEvent class in @minecraft/server.
Class in @minecraft/server
Extends BlockEvent
import { BlockComponentRedstoneUpdateEvent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”powerLevel
Section titled “powerLevel”read-only
readonly powerLevel: number;previousPowerLevel
Section titled “previousPowerLevel”read-only
readonly previousPowerLevel: number;Used by
Section titled “Used by”BlockCustomComponent.onRedstoneUpdate
Inherited
Section titled “Inherited”From BlockEvent: block, dimension