Guide 1 Docs 2 Reference 3

Function of World

world.build

The same value, written in code instead of read from a file. { detail = 2 }: coordinates are half blocks, fitted to slabs and stairs.

world.build(fn: (b: Builder) -> (), opts: { detail: number? }?) → Schematic

Parameters

fn(b: Builder) -> ()required
opts{ detail: number? }optional

Returns

Schematic

Used in