{
  "type": "chest",
  "pools": [
    {
      "rolls": {
        "min": 2,
        "max": 6
      },
      "entries": [
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/horse_armor"
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/treasure",
          "weight": 4
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/materials/metal_ingots",
          "weight": 15
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/diamond_tools"
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/diamond_armor"
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/diamond_tools_enchanted"
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/diamond_armor_enchanted"
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/iron_tools",
          "weight": 10
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/iron_armor",
          "weight": 8
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/iron_tools_enchanted",
          "weight": 4
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/iron_armor_enchanted",
          "weight": 3
        },
        {
          "type": "item",
          "name": "minecraft:diamond",
          "weight": 5,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 7
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:emerald",
          "weight": 2,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        }
      ]
    }
  ]
}