Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

forEachBlockChange

forEachBlockChange(cursor, each): boolean

Calls each with each rectangle of cells written since cursor, once each, and moves the cursor to now: what a reader that keeps its own copy of the ground, such as a cover’s placement, rebuilds. False where a chunk’s change ring no longer reaches back, and the reader takes the map whole.

Parameter Type
cursor BlockCursor
each (region) => void

boolean