{
  "type": "chest",
  "pools": [
    {
      "rolls": {
        "min": 3,
        "max": 6
      },
      "entries": [
        {
          "type": "loot_table",
          "name": "smt:chests/tables/materials/metal_ingots",
          "weight": 15
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/treasure",
          "weight": 5
        },
        {
          "type": "item",
          "name": "minecraft:iron_ingot",
          "weight": 90,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:gold_ingot",
          "weight": 10,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:emerald",
          "weight": 40,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:emerald",
          "weight": 5
        },
        {
          "type": "item",
          "name": "minecraft:experience_bottle",
          "weight": 5
        }
      ]
    },
    {
      "rolls": {
        "min": 2,
        "max": 5
      },
      "entries": [
        {
          "type": "item",
          "name": "minecraft:iron_nugget",
          "weight": 50,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:gold_nugget",
          "weight": 10,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/materials/metal_nuggets",
          "weight": 15
        },
        {
          "type": "item",
          "name": "minecraft:lapis_lazuli",
          "weight": 20,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 10
              }
            }
          ]
        }
      ]
    }
  ]
}