Skip to content
Aury edited this page Jan 15, 2022 · 6 revisions

JSON format

place in a smithingupgrades/smithing_table_materials folder of your datapack

//iron.json filename
{
// The item used to smith this tier, if missing from an initial declaration,
// or set to "" this material won't be craftable. If it's overwriting it will replace the material item/tag
  "material": "minecraft:iron_ingot", 
// Used to tell is the material is a tag or an item.
  "isItem": true, 
// you can declare any "key": "item" pair in this list,
// any matching keys in other materials will be targets for recipe generation
  "equipment": { 
    "sword": "minecraft:iron_sword",
    "chestplate": "minecraft:iron_chestplate",
    "pickaxe": "minecraft:iron_pickaxe",
    "helmet": "minecraft:iron_helmet",
    "shovel": "minecraft:iron_shovel",
    "boots": "minecraft:iron_boots",
    "horsearmor": "minecraft:iron_horse_armor",
    "leggings": "minecraft:iron_leggings",
    "axe": "minecraft:iron_axe",
    "hoe": "minecraft:iron_hoe"
  },
  "inputList": {
// optional list of other materials it will either accept or deny crafting from
    "list": [], 
// determines if this list excludes the list's content or if it will only except the list's content
    "inclusive": false 
  },
  "outputList": {
// Optional list of other materials it will either accept or deny crafting to
    "list": [],
    "inclusive": false
  },
// Optionally controls how many items in a stack are consumed, defaults to 1.
  "matCount": 2,
// Optionally controls how many items in a stack are consumed for each material key. 
  "equipmentMatCount": { 
    "horsearmor": "5"
  }
}

Clone this wiki locally