Remove structures planning

This commit is contained in:
2026-11-21 15:24:31 -03:00
parent 94463b3cea
commit 717d2cb766
6 changed files with 9 additions and 138 deletions
+2 -1
View File
@@ -705,7 +705,8 @@ export interface SchematicPlacement {
position: Position;
// the block it turns and mirrors around, from its lowest corner. 0 0 0 by default
position_pivot?: Position;
// clockwise seen from above. turns positions, a state named facing and entities' yaw, see STRUCTURES.md
// clockwise seen from above. turns positions, a state named facing and entities' yaw, see
// docs/modding/misc/schematics.md
rotation?: 0 | 90 | 180 | 270;
// the axis that gets flipped, before it's turned
mirror?: "x" | "z";
+2 -1
View File
@@ -2,7 +2,8 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// schematics: blocks and entities from a box of the world, kept to be placed again somewhere else. a .cbsm file is
// one encoded with msgpack. the short keys (i, s, p) are there to keep files small, see STRUCTURES.md
// one encoded with msgpack. the short keys (i, s, p) are there to keep files small, see
// docs/modding/misc/schematics.md
import { decode, encode } from "@std/msgpack";
import * as z from "zod";
import { find_problems, id, json_object, type Problems, vec3 } from "./schema.ts";