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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
cursor |
BlockCursor |
each |
(region) => void |
Returns
Section titled “Returns”boolean