Guide 1 Docs 2 Reference 3

Function of BlockSpec

blockSpec.on_random_tick

The random pass landed on it. Not the same thing as on_tick, which is why it has the longer name.

blockSpec.on_random_tick((block: BlockAt, base: (...any) -> any) -> ()) → ?

Parameters

(blockBlockAt, base: (...any) -> any) -> ()required

Returns

?