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

setBlockCell

setBlockCell(authority, blockMap, setBlockCellOptions): BlockCellRefusal | null

Writes one cell of the block map blockMap, where outcomes are decided: its chunk’s grids, its collider and its stair, so every page draws and collides with the new cell. A character the new cell’s column meets is lifted onto its top in the same step. Answers why it wrote nothing, or null.

Parameter Type
authority Authority
blockMap Entity
setBlockCellOptions SetBlockCellOptions

BlockCellRefusal | null

setBlockCell(step, village, { column: 4, row: 7, height: 3 });