Export schematics

This commit is contained in:
2026-11-15 18:41:22 -03:00
parent 2fa109026c
commit 59bfed58bf
18 changed files with 511 additions and 26 deletions
+3
View File
@@ -56,6 +56,9 @@ ctx.components.register_block("copper_tools:crate", {
The base game's `bworld:storage` does exactly this, see `mods/bworld/scripts/server.ts`.
The container's id means nothing outside the world, so a block like this should also have an `export_data` that writes
its items in, for when it's saved into a [schematic](../misc/schematics.md#block-data).
## Client Data
Client data is the part of a block's data its clients see too, like how fast a shaft turns. It's kept by field, each any