{
  "type": "minecraft:chest",
  "pools": [
        {
      "rolls": 3,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:golden_boots",
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.2,
                "max": 0.9
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 22
              },
              "treasure": true,
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.7
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 4,
                "max": 25
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.6
                }
              ]
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
                {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:golden_leggings",
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.2,
                "max": 0.9
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 22
              },
              "treasure": true,
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.7
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 4,
                "max": 25
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.6
                }
              ]
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
                {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:golden_chestplate",
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.2,
                "max": 0.9
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 22
              },
              "treasure": true,
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.7
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 4,
                "max": 25
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.6
                }
              ]
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
                {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:golden_helmet",
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.2,
                "max": 0.9
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 22
              },
              "treasure": true,
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.7
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 4,
                "max": 25
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.6
                }
              ]
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
                {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:diamond_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 4,
                "max": 15
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.4
                }
              ]
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.5,
                "max": 0.95
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.085
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:golden_pickaxe",
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.2,
                "max": 0.9
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 22
              },
              "treasure": true,
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.7
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_pickaxe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 4,
                "max": 25
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.6
                }
              ]
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:golden_shovel",
          "functions": [
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.2,
                "max": 0.9
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 22
              },
              "treasure": true,
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.7
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:iron_shovel",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 4,
                "max": 25
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.6
                }
              ]
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:iron_sword",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 4,
                "max": 25
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.6
                }
              ]
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.3,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:diamond_pickaxe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 4,
                "max": 12
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.3
                }
              ]
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.55,
                "max": 0.9
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.75
        }
      ]
    },
    {
      "rolls": 4,
      "entries": [
                {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:clay_ball",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 8,
                "max": 20
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.3
                }
              ]
            }
          ]
        },
                        {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:clay",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 13
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.3
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:moss_block",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 9
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.365
                }
              ]
            }
          ]
        },
                {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:grass",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 12
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.175
                }
              ]
            }
          ]
        },
                {
          "type": "minecraft:item",
          "weight": 12,
          "name": "minecraft:moss_carpet",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 7
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.3
                }
              ]
            }
          ]
        },
                {
          "type": "minecraft:item",
          "weight": 15,
          "name": "minecraft:glow_berries",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 15
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.4
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 6,
          "name": "minecraft:vine",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 6
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.2
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:amethyst_cluster",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "name": "minecraft:small_amethyst_bud",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 15,
          "name": "minecraft:medium_amethyst_bud",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 12,
          "name": "minecraft:large_amethyst_bud",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 26,
          "name": "minecraft:amethyst_shard",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:amethyst_block",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.225
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "type": "minecraft:uniform",
                "min": 7,
                "max": {
                  "min": 10,
                  "max": 30
                }
              },
              "treasure": true
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.4
        }
      ]
    },
    {
      "rolls": 3,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:paper",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 7
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.95
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.95
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:bookshelf",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.6
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 10
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.4
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:raw_iron",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 12
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.5
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:raw_iron_block",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.4
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:gold_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 10
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.4
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:raw_gold",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 12
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.5
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:raw_gold_block",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.4
            }
          ]
        },
                {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:copper_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 10,
                "max": 24
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.4
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:raw_copper",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 16
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.5
            }
          ]
        },
                {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:raw_copper_block",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 4
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.5
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:diamond",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:diamond_ore",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:location_check",
              "predicate": {
                "position": {
                  "y": {
                    "min": 0,
                    "max": 319
                  }
                }
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.25
        }
      ]
    }
  ]
}
