{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 8,
      "bonus_rolls": {
        "min": 0,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:soul_soil",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_apple",
          "weight": 8
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:enchanted_book",
          "weight": 9,
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 1s, id: \"minecraft:swift_sneak\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.3
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 4s, id: \"minecraft:thorns\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 1s, id: \"minecraft:infinity\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 4s, id: \"minecraft:fire_protection\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 2s, id: \"minecraft:swift_sneak\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.2
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{StoredEnchantments: [{lvl: 4s, id: \"minecraft:sharpness\"}]}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_helmet",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 18}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 220}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 140}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 50}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:enchant_randomly",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.8
                }
              ]
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 20
              },
              "treasure": false
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_chestplate",
          "weight": 9,
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 50}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 400}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 280}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 20
              },
              "treasure": false
            },
            {
              "function": "minecraft:enchant_randomly",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.8
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_boots",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 210}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 320}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 140}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 20
              },
              "treasure": false
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 50}"
            },
            {
              "function": "minecraft:enchant_randomly",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.8
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_leggings",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 220}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 180}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 320}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 50}",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:enchant_randomly",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.8
                }
              ]
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 20
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_sword",
          "weight": 8,
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 1024}"
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 1249}"
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 800}"
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 380}"
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{Damage: 75}"
            },
            {
              "function": "minecraft:enchant_randomly",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.8
                }
              ]
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 20
              },
              "treasure": false
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_11",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:music_disc_pigstep",
          "weight": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:wayfinder_armor_trim_smithing_template",
          "weight": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_scrap",
          "weight": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
          "weight": 15,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_nugget",
          "weight": 12,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_carrot",
          "weight": 15,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:carrot",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:blaze_powder",
          "weight": 8,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        }
      ]
    }
  ]
}
