{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "min": 1,
        "max": 3
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:arrow",
          "weight": 8,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:redstone",
          "weight": 6,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:flint",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gunpowder",
          "weight": 7,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
          "weight": 8,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:ender_pearl",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:flint_and_steel",
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_horse_armor"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_hoe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 5,
                "max": 30
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.2
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_axe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 25
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.5
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_axe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 20
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.1
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_sword",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 20
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.1
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:turtle_helmet",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Trim:{pattern:spire,material:emerald},display:{Name:'[\"\",{\"text\":\"Gnome Hat\",\"italic\":false,\"color\":\"dark_green\"}]'},Enchantments:[{lvl:1,id:aqua_affinity},{lvl:4,id:fire_protection},{lvl:1,id:mending},{lvl:4,id:projectile_protection},{lvl:4,id:protection},{lvl:3,id:unbreaking},{lvl:1,id:vanishing_curse}]}"
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.1
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:totem_of_undying",
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.3
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:trident",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 0,
                "max": 25
              },
              "treasure": true,
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.2
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_sword",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 25
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.6
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 20
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.4
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 20
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.4
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": []
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 20
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.4
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 20
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.4
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{CustomPotionColor:65280,CustomPotionEffects:[{Id:1,Duration:2400,Amplifier:4},{Id:28,Duration:2400}],display:{Name:'[\"\",{\"text\":\"Mystical \",\"italic\":false,\"color\":\"white\"},{\"text\":\"Gnome \",\"italic\":false,\"color\":\"red\"},{\"text\":\"Potion\",\"italic\":false,\"color\":\"blue\"}]',Lore:['[\"\",{\"text\":\"Found in the elder mystical\",\"italic\":false,\"color\":\"#ccccff\"}]','[\"\",{\"text\":\"gnome forest\",\"italic\":false,\"color\":\"#ccccff\"}]']}}"
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.2
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{CustomPotionColor:1481884,CustomPotionEffects:[{Id:13,Duration:3600,Amplifier:2},{Id:30,Duration:3600,Amplifier:2},{Id:16,Duration:3600,Amplifier:2}],display:{Name:'[\"\",{\"text\":\"Fongus Potion\",\"italic\":false,\"color\":\"aqua\"}]',Lore:['[\"\",{\"text\":\"Made from a special \",\"italic\":false,\"color\":\"dark_aqua\"}]','[\"\",{\"text\":\"watery fongus\",\"italic\":false,\"color\":\"dark_aqua\"}]','[\"\",{\"text\":\"found only in the\",\"italic\":false,\"color\":\"dark_aqua\"}]','[\"\",{\"text\":\"magical gnome forest\",\"italic\":false,\"color\":\"dark_aqua\"}]']},Enchantments:[{lvl:1,id:unbreaking}]}"
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.2
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:rabbit_stew",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:mushroom_stew",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:suspicious_stew",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_helmet",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Trim:{pattern:silence,material:amethyst},display:{Name:'[\"\",{\"text\":\"Bulgarian \",\"italic\":false,\"color\":\"gold\"},{\"text\":\"Helmet\",\"italic\":false,\"color\":\"dark_purple\"}]',Lore:['[\"\",{\"text\":\"Made from precious\",\"italic\":false,\"color\":\"blue\"}]','[\"\",{\"text\":\"Bulgarian minerals\",\"italic\":false,\"color\":\"blue\"}]']},Enchantments:[{lvl:10,id:blast_protection},{lvl:1,id:mending},{lvl:10,id:unbreaking}]}"
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.2
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_leggings",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Trim:{pattern:silence,material:redstone},display:{color:16711680,Name:'[\"\",{\"text\":\"Fiery \",\"italic\":false,\"color\":\"red\"},{\"text\":\"Leggings\",\"italic\":false,\"color\":\"dark_red\"}]',Lore:['[\"\",{\"text\":\"Made from precious\",\"italic\":false,\"color\":\"#660000\"}]','[\"\",{\"text\":\"Fire Resistant materials\",\"italic\":false,\"color\":\"#660000\"}]','[\"\",{\"text\":\"found in volcanoes\",\"italic\":false,\"color\":\"#660000\"}]','[\"\"]','[\"\",{\"text\":\" \",\"italic\":false}]']},Enchantments:[{lvl:5,id:fire_protection},{lvl:1,id:mending},{lvl:10,id:unbreaking}]}"
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.2
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_boots",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{Trim:{pattern:snout,material:copper},display:{Name:'[\"\",{\"text\":\"Halal Sandals\",\"italic\":false,\"color\":\"gold\"}]',Lore:['[\"\",{\"text\":\"Strongest Sandals\",\"italic\":false,\"color\":\"yellow\"}]','[\"\",{\"text\":\"to ever be created,\",\"italic\":false,\"color\":\"yellow\"}]','[\"\",{\"text\":\"protects you from\",\"italic\":false,\"color\":\"yellow\"}]','[\"\",{\"text\":\"potential haram\",\"italic\":false,\"color\":\"yellow\"}]','[\"\",{\"text\":\"activity\",\"italic\":false,\"color\":\"yellow\"}]']},Enchantments:[{lvl:1,id:mending},{lvl:5,id:protection},{lvl:5,id:thorns},{lvl:5,id:unbreaking}]}"
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.2
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_sword"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_sword"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_sword"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:stone_sword"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:wooden_sword"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:bow"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:crossbow"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:shield"
        }
      ],
      "functions": [
        {
          "function": "minecraft:enchant_with_levels",
          "levels": {
            "min": 10,
            "max": 20
          }
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.5
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 0,
                "max": 2
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 30
              }
            }
          ]
        }
      ]
    }
  ]
}
