Export schematics
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user