{
  "type": "chest",
  "pools": [
    {
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "item",
          "name": "thermal:copper_ingot",
          "weight": 10,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 4
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.4
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:tin_ingot",
          "weight": 8,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 4
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.4
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:bronze_ingot",
          "weight": 6,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 4
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.35
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:iron_ingot",
          "weight": 5,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 3
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.3
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:silver_ingot",
          "weight": 4,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.2
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:lead_ingot",
          "weight": 5,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 3
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.3
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:gold_ingot",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.2
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:gold_ingot",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.5
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_nether"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:nickel_ingot",
          "weight": 4,
          "functions": [
            {
              "function": "set_count",
              "count": 2
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.25
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:constantan_ingot",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.2
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "tconstruct:pig_iron_ingot",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.1
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "tconstruct:slimesteel_ingot",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.06
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:lumium_ingot",
          "weight": 2,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.25
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_nether"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:invar_ingot",
          "weight": 4,
          "functions": [
            {
              "function": "set_count",
              "count": 2
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.2
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:overworld"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:electrum_ingot",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.3
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_nether"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "tconstruct:cobalt_ingot",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.15
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_nether"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:netherite_scrap",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.1
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_nether"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "tconstruct:queens_slime_ingot",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.075
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_nether"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "tconstruct:manyullyn_ingot",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.05
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_nether"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "tconstruct:hepatizon_ingot",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.025
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_nether"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:enderium_ingot",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.35
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_end"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "betterendforge:aeternium_ingot",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.2
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_end"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "betterendforge:thallasium_ingot",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.15
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_end"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "betterendforge:terminite_ingot",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.1
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_end"
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "draconicevolution:draconium_ingot",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.1
            },
            {
              "condition": "location_check",
              "predicate": {
                "dimension": "minecraft:the_end"
              }
            }
          ]
        }
      ]
    }
  ]
}
