{
  "parent": "minecraft:recipes/root",
  "rewards": {
    "recipes": [
      "tconstruct:melting/pig_iron_from_ingot"
    ]
  },
  "criteria": {
    "hasItem": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "tag": "forge:ingots/iron"
          }
        ]
      }
    },
    "has_the_recipe": {
      "trigger": "minecraft:recipe_unlocked",
      "conditions": {
        "recipe": "tconstruct:melting/pig_iron_from_ingot"
      }
    }
  },
  "requirements": [
    [
      "hasItem",
      "has_the_recipe"
    ]
  ]
}