Guide 1 Docs 2 Reference 3
2

Schematic type

A box of blocks: a .schem file from the pack, read once by world.schematic, or one a script wrote with world.build. min is the build's own lowest corner, which is the corner origin puts down; a file has no coordinates of its own, so its min is zero.

Functions 2

schematic:rotate(degrees: number) → Schematic

The build's width, height and length in blocks. The build's own lowest corner, which origin puts down; zero for a file. A new build turned clockwise seen from above (90, 180 or 270), states and all.

schematic:mirror(axis: "x" | "z") → Schematic

A new build flipped: "x" swaps east and west, "z" north and south.