{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 4,
      "bonus_rolls": 2,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_nugget",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 10,
                "max": 16
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:bone",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 6,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_apple",
          "weight": 1,
          "quality": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:string",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_ingot",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_boots",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_boots",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_boots",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": "#minecraft:treasure"
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.25,
                "max": 0.75
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.75
        }
      ]
    }
  ]
}
