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

BlockEdit

BlockEdit = object & BrushCells & LaidHeight & BlockLaid | object & LaidHeight & BlockLaid | object & LaidHeight & BlockLaid | object & BrushCells | object & BrushCells | object & BrushCells | object & BrushCells | { block?: string; cell: CellPoint; facing?: BlockFacing | `${BlockFacing}`; tool: Stairs | `${Stairs}`; } | { block?: string; from: CellPoint; to: CellPoint; tool: Stairs | `${Stairs}`; }

One gesture of a tool: one transaction, one undo step, one entry of edit_tiles. Heights are whole steps of the set’s cellSize[1].

object & BrushCells & LaidHeight & BlockLaid


object & LaidHeight & BlockLaid


object & LaidHeight & BlockLaid


object & BrushCells


object & BrushCells


object & BrushCells


object & BrushCells


{ block?: string; cell: CellPoint; facing?: BlockFacing | `${BlockFacing}`; tool: Stairs | `${Stairs}`; }

Name Type Description
block? string The set’s stairs block, which a set of several needs.
cell CellPoint A lone stair’s cell.
facing? BlockFacing | `${BlockFacing}` Its way up. Left out, its one neighbour a step higher.
tool Stairs | `${Stairs}` -

{ block?: string; from: CellPoint; to: CellPoint; tool: Stairs | `${Stairs}`; }

Name Type Description
block? string -
from CellPoint The flight’s foot, on the low ground.
to CellPoint Across the cliff’s top, in a straight line north, south, east or west: the flight takes the cells nearest the cliff.
tool Stairs | `${Stairs}` -