{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "min": 2,
        "max": 4
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:arrow",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:spectral_arrow",
          "weight": 3,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:raw_iron",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:lapis_lazuli",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 6,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 6,
                "max": 12
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:tipped_arrow",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 10
              }
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{CustomPotionColor:1481884,CustomPotionEffects:[{Id:4,Duration:1200},{Id:18,Duration:1200}],display:{Name:'[\"\",{\"text\":\"BroadHead \",\"italic\":false,\"color\":\"dark_aqua\"},{\"text\":\"Arrow\",\"italic\":false,\"color\":\"gray\"}]',Lore:['[\"\",{\"text\":\"Hardened Hunting Arrow\",\"italic\":false,\"color\":\"white\"}]']}}"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:tipped_arrow",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 10
              }
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{CustomPotionColor:8606770,CustomPotionEffects:[{Id:17,Duration:1200,Amplifier:1},{Id:25,Duration:40}],display:{Name:'[\"\",{\"text\":\"poop\",\"italic\":false,\"color\":\"#996633\"},{\"text\":\" Arrow\",\"italic\":false,\"color\":\"#cc9999\"}]',Lore:['[\"\",{\"text\":\"Amazing quality\",\"italic\":false,\"color\":\"#cc9999\"}]']}}"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:tipped_arrow",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 10
              }
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{CustomPotionColor:16351261,CustomPotionEffects:[{Id:18,Duration:400,Amplifier:1}],display:{Name:'[\"\",{\"text\":\"Nerf\",\"italic\":false,\"color\":\"blue\"},{\"text\":\" \",\"italic\":false,\"color\":\"dark_blue\"},{\"text\":\"Dart\",\"italic\":false,\"color\":\"gold\"}]',Lore:['[\"\",{\"text\":\"Very strong\",\"italic\":false,\"color\":\"#6699ff\"}]']}}"
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{CustomPotionColor:3949738,CustomPotionEffects:[{Id:21,Duration:4800,Amplifier:2},{Id:5,Duration:4800,Amplifier:0},{Id:24,Duration:4800,Amplifier:1}],display:{Name:'[\"\",{\"text\":\"Bosnian \",\"italic\":false,\"color\":\"blue\"},{\"text\":\"Liquid\",\"italic\":false,\"color\":\"gold\"}]',Lore:['[\"\",{\"text\":\"Sourced from the incredibly\",\"italic\":false,\"color\":\"white\"}]','[\"\",{\"text\":\"magical Bosnian pyramids\",\"italic\":false,\"color\":\"white\"}]','[\"\",{\"text\":\" \",\"italic\":false}]']}}"
            }
          ],
          "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": 20
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_axe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 20
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:stone_sword",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 100
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:shield",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 100
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:goat_horn",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 20
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 20
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 100
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:leather_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 100
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 30
              },
              "treasure": true
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            },
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 10,
                "max": 30
              },
              "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": 10,
                "max": 20
              },
              "treasure": true
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.1
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:lingering_potion",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{CustomPotionColor:16351261,CustomPotionEffects:[{Id:16,Duration:2400,Amplifier:1},{Id:12,Duration:2400,Amplifier:1}],display:{Name:'[\"\",{\"text\":\"Bigos\",\"italic\":false,\"color\":\"gold\"}]',Lore:['[\"\",{\"text\":\"Very delicious\",\"italic\":false,\"color\":\"yellow\"}]']}}"
            },
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.2
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_helmet"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_chestplate"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_leggings"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_boots"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_pickaxe"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_axe"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_shovel"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_sword"
        }
      ],
      "functions": [
        {
          "function": "minecraft:enchant_with_levels",
          "levels": {
            "min": 5,
            "max": 10
          }
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.3
        }
      ]
    }
  ]
}
