diff --git a/docs/modding/misc/schematics.md b/docs/modding/misc/schematics.md index 1a0da12..30846b5 100644 --- a/docs/modding/misc/schematics.md +++ b/docs/modding/misc/schematics.md @@ -36,8 +36,9 @@ Positions are from the box's lowest corner. ## Placing A mod's `schematics/.cbsm` files are its schematics `:`, so an exported file can be dropped in as it -is. `check-mods` checks that every block and entity in them exists. They're registered before any script runs, so a -server phase can place them right away. Players never download them. +is. `check-mods` checks that every block and entity in them exists. A missing block is only a warning: it's left out +when the schematic loads, so one made with blocks from another mod still works without it. They're registered before any +script runs, so a server phase can place them right away. Players never download them. A script can also register one it made itself, by id in the server phase, then place it by that id: @@ -50,9 +51,9 @@ ctx.schematics.place("copper_tools:hut", { }); ``` -`register` checks it right away, so a schematic with a block, state or entity that isn't registered stops the mod from -loading, instead of failing when it's placed. It takes a `Schematic` (exported from `cubi/server`), the same shape as a -file's. +`register` checks it right away, so a schematic with a state or entity that isn't registered stops the mod from loading, +instead of failing when it's placed. Blocks that aren't registered are left out, with a warning. It takes a `Schematic` +(exported from `cubi/server`), the same shape as a file's. `place` puts the whole schematic in at once, replacing what was there, air too: