All the stone cutter recipes
This commit is contained in:
@@ -101,25 +101,25 @@ writes the same id the model was written with. Two locations that join to the sa
|
||||
`--remap`.
|
||||
|
||||
**Remaps** are prefix rules, longest first, and a `skip` list of patterns for locations to leave out of every kind:
|
||||
`{ "textures": { "minecraft:block/": "bworld:" }, "models": {} }`. Mapping Minecraft's block and item textures to the
|
||||
base game's of the same name is the default. A mod's remap file is where its vanilla ids go, and later kinds add
|
||||
sections for items, blocks and fluids.
|
||||
`{ "textures": { "minecraft:block/": "bworld:" }, "models": {}, "ids": {}, "tags": {} }`. The defaults map Minecraft's
|
||||
block and item textures, its blocks and items (`ids`) and its tags to the base game's of the same name, and Forge's
|
||||
shared tags to `c`, which is what bworld calls them. A mod's remap file is where its other vanilla ids go.
|
||||
|
||||
**Kinds:**
|
||||
|
||||
| Kind | Java | bworld | Status |
|
||||
| ------------ | -------------------------------------------- | ------------------------------------------------------------------------- | ------ |
|
||||
| `model` | `assets/*/models/**.json` | `models/`, parents kept, faces renamed, Blockbench extras dropped | Built |
|
||||
| `texture` | `assets/*/textures/**.png` and `.png.mcmeta` | `textures/`, with animations | Built |
|
||||
| `blockstate` | `assets/*/blockstates/*.json` | `blocks/*.json` with `variants` or `parts`, string states made numeric | Built |
|
||||
| `item` | `assets/*/models/item/*.json` | `items/*.json` for items that aren't a block's, with their sprite | Built |
|
||||
| `lang` | `assets/*/lang/en_us.json` | item and block names | |
|
||||
| `recipe` | `data/*/recipe(s)/**.json` | `recipes/`: vanilla types to bworld's, a mod's own types kept as they are | |
|
||||
| `tag` | `data/*/tags/**.json` | `tags/`, `c:` tags merged with bworld's | |
|
||||
| `loot` | `data/*/loot_table(s)/**.json` | `drops`, or loot tables | |
|
||||
| `worldgen` | `data/*/worldgen/**.json` | `worldgen/`: ores, and features where bworld has them | |
|
||||
| `sound` | `assets/*/sounds.json`, `sounds/**.ogg` | sounds, once the engine has them (S8) | |
|
||||
| `mod` | all of the above | a whole mod folder with a manifest, and one report | |
|
||||
| Kind | Java | bworld | Status |
|
||||
| ------------ | -------------------------------------------- | ---------------------------------------------------------------------- | ------ |
|
||||
| `model` | `assets/*/models/**.json` | `models/`, parents kept, faces renamed, Blockbench extras dropped | Built |
|
||||
| `texture` | `assets/*/textures/**.png` and `.png.mcmeta` | `textures/`, with animations | Built |
|
||||
| `blockstate` | `assets/*/blockstates/*.json` | `blocks/*.json` with `variants` or `parts`, string states made numeric | Built |
|
||||
| `item` | `assets/*/models/item/*.json` | `items/*.json` for items that aren't a block's, with their sprite | Built |
|
||||
| `lang` | `assets/*/lang/en_us.json` | item and block names | |
|
||||
| `recipe` | `data/*/recipe(s)/**.json` | `recipes/`: vanilla types to bworld's. Stonecutting so far | Built |
|
||||
| `tag` | `data/*/tags/**.json` | `tags/`, Forge's shared tags as `c:`, missing entries optional | Built |
|
||||
| `loot` | `data/*/loot_table(s)/**.json` | `drops`, or loot tables | |
|
||||
| `worldgen` | `data/*/worldgen/**.json` | `worldgen/`: ores, and features where bworld has them | |
|
||||
| `sound` | `assets/*/sounds.json`, `sounds/**.ogg` | sounds, once the engine has them (S8) | |
|
||||
| `mod` | all of the above | a whole mod folder with a manifest, and one report | |
|
||||
|
||||
Block properties (shape, tool, toughness) aren't in any data file: Java mods set them in code. `mod` writes a block for
|
||||
each blockstate with placeholder properties, and a per-mod table fills them in. For Create that table is
|
||||
@@ -162,12 +162,24 @@ remap file's `skip`) that can be placed and look like Create's, with no behavior
|
||||
about 31 vanilla textures bworld doesn't have yet. `uvlock` is left out (132 blockstates use it), so some turned
|
||||
textures turn with their models where Java keeps them upright.
|
||||
|
||||
**What `tag` and `recipe` do today.** Tags and recipes are checked against the mods next to `--output`, read the way
|
||||
`check-mods` reads them. `tag` writes each item, block, entity and biome tag in bworld's format, which is Java's,
|
||||
keeping folders in tag ids. An entry that doesn't exist here becomes optional (`required: false`), so the tag loads now
|
||||
and picks it up once it's added, and what the remaps skip is left out. `recipe` converts each type bworld has an
|
||||
equivalent for and reports the rest by type. A recipe naming an item or tag that doesn't exist here, or that only loads
|
||||
under a condition (another mod installed), is skipped, since bworld's recipes have to be complete. Only
|
||||
`minecraft:stonecutting` is converted so far, to `bworld:stonecutting`.
|
||||
|
||||
Create 0.5.0.j's data gives 89 tags: 45 of Create's and 44 of Forge's shared ones, which are `c:` here. Fluid tags are
|
||||
skipped. Of its 531 stonecutting recipes, 423 are converted. The other 108 cut granite, diorite, deepslate, calcite,
|
||||
tuff and dripstone, which bworld doesn't have yet. Re-importing once it does brings them in.
|
||||
|
||||
**For Create**, `mods/create/import/` keeps the remap file and the commands, and later the block table. Re-running the
|
||||
import is one command, and hand-written files are never in the folders it writes.
|
||||
|
||||
**Vanilla ids in recipes.** Create's recipes use 447 distinct Minecraft ids, like dyes, `minecraft:cobblestone` and
|
||||
`minecraft:netherrack`. The remap file maps each to a bworld id or to `null`. A recipe with a `null` or unmapped id is
|
||||
skipped and listed in the report, so the table can grow over time and the report always says how much of Create is
|
||||
`minecraft:netherrack`. Each becomes the bworld id of the same name, or another with the remap file's `ids`. A recipe
|
||||
using one bworld doesn't have is skipped and listed in the report, so the report always says how much of Create is
|
||||
missing because bworld lacks something.
|
||||
|
||||
## Architecture
|
||||
|
||||
Reference in New Issue
Block a user