Tags for smithing recipes
This commit is contained in:
@@ -68,9 +68,11 @@ For the smithing table, which upgrades a tool. It's the base game's own type, re
|
||||
}
|
||||
```
|
||||
|
||||
An optional `addition` is a third item it also takes, as `{ "id", "count" }` like the material. Upgrading uses up the
|
||||
tool and `count` of the material and the addition, and the result keeps the tool's `data`, like its
|
||||
[durability](../items/tools.md#durability). Two smithing recipes with the same tool, material and addition are an error.
|
||||
An optional `addition` is a third item it also takes, as `{ "id", "count" }` like the material. The tool and each `id`
|
||||
are [choices](#choices), so `"material": { "id": "#bworld:cobblestones", "count": 5 }` takes 5 of any one cobblestone.
|
||||
Upgrading uses up the tool and `count` of the material and the addition, and the result keeps the tool's `data`, like
|
||||
its [durability](../items/tools.md#durability). Two smithing recipes that both fit the same tool, material and addition
|
||||
are an error.
|
||||
|
||||
## Stonecutting: `bworld:stonecutting`
|
||||
|
||||
@@ -142,8 +144,8 @@ furnace smelts.
|
||||
## Choices
|
||||
|
||||
Anywhere a recipe takes a choice of items (`shaped` keys, and the fields a type reads with
|
||||
[`read.ingredient`](#custom-recipe-types), like smelting's `input` and fuel's `item`), an item [tag](tags.md) means
|
||||
anything in it fits, and so does a list of ids and tags:
|
||||
[`read.ingredient`](#custom-recipe-types), like smelting's `input`, fuel's `item` and smithing's `tool`), an item
|
||||
[tag](tags.md) means anything in it fits, and so does a list of ids and tags:
|
||||
|
||||
```json
|
||||
"key": { "P": "#bworld:planks" }
|
||||
|
||||
Reference in New Issue
Block a user