Loading schematics
This commit is contained in:
@@ -29,6 +29,7 @@ mods/
|
||||
worldgen/noise_settings/**/*.json
|
||||
worldgen/biome_source/**/*.json
|
||||
worldgen/spawns.json # monsters that spawn on their own, see entities/index.md
|
||||
schematics/*.cbsm # schematics, never sent to players. see misc/schematics.md
|
||||
textures/*.png
|
||||
textures/*.json # animations, see resources/textures.md
|
||||
scripts/
|
||||
@@ -115,7 +116,7 @@ deno task build # packs every mod in mods/ into server_mo
|
||||
```
|
||||
copper_tools.cubi
|
||||
manifest.json # with main and credits pointing into the zip
|
||||
data.json # every block, model, item, entity, recipe, ore, tag and loot table, and the config
|
||||
data.json # every block, model, item, entity, recipe, ore, tag, loot table and schematic, and the config
|
||||
script.js # the script bundled into one module
|
||||
textures/<name>.png
|
||||
textures/<name>.json # for animated textures
|
||||
@@ -127,5 +128,5 @@ copper_tools.cubi
|
||||
- `deno task build` leaves other `.cubi` files in `server_mods/` alone, so mods from elsewhere can sit next to the ones
|
||||
it builds.
|
||||
- `data.json` doesn't hold the blocks the content phase registers. The server runs it when it loads the `.cubi`.
|
||||
- Players get a copy **without** the terrain's data and the config, but with the blocks the content phase registered in
|
||||
its `data.json`. See [Networking](../networking/index.md).
|
||||
- Players get a copy **without** the terrain's data, the schematics and the config, but with the blocks the content
|
||||
phase registered in its `data.json`. See [Networking](../networking/index.md).
|
||||
|
||||
Reference in New Issue
Block a user