The BlockComponentRandomTickEvent class in @minecraft/server.
Class in @minecraft/server
Extends BlockEvent
import { BlockComponentRandomTickEvent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Used by
Section titled “Used by”BlockCustomComponent.onRandomTick
Inherited
Section titled “Inherited”From BlockEvent: block, dimension