Class SmithingRecipe
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
Defines a smithing recipe, to be created on an anvil. Uses a total of 6 layers, and gets its properties from LayeredVoxelRecipe<T>.
public class SmithingRecipe : LayeredVoxelRecipe<SmithingRecipe>
- Inheritance
-
SmithingRecipe
- Inherited Members
Examples
{
"ingredient": {
"type": "item",
"code": "ingot-*",
"name": "metal",
"allowedVariants": [ "tinbronze", "bismuthbronze", "blackbronze", "silver", "gold", "iron", "meteoriciron", "steel" ]
},
"name": "boss",
"pattern": [
[
"____",
"_##_",
"_##_",
"____"
],
[
"####",
"#__#",
"#__#",
"####"
]
],
"output": {
"type": "item",
"code": "boss-{metal}"
}
}