{
  "type": "minecraft:chest",
  "pools": [
    {
      "name": "artifacts",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:poke_ball",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "pixelmon:poke_ball": "master_ball"
              }
            }
          ]
        },
		{
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:poke_ball",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "pixelmon:poke_ball": "strossnium"
              },
              "conditions": []
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:adamant_orb"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:lustrous_orb"
        },
        {
          "type": "empty",
          "weight": 50
        }
      ]
    },
    {
      "name": "treasure",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:relic_copper"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:relic_gold"
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "pixelmon:relic_silver"
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "pixelmon:stardust"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:star_piece"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:comet_shard"
        },
        {
          "type": "empty",
          "weight": 10
        }
      ]
    },
    {
      "name": "helditems",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:twisted_spoon"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:black_glasses"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:mind_plate"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:dread_plate"
        },
        {
          "type": "empty",
          "weight": 15
        }
      ]
    },
    {
      "name": "gems",
      "rolls": {
        "min": 1,
        "max": 3
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "pixelmon:psychic_gem",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "pixelmon:dark_gem",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "empty",
          "weight": 5
        }
      ]
    },
    {
      "name": "combat",
      "rolls": 2,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:diamond_sword",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:diamond_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:diamond_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:diamond_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:diamond_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:diamond_pickaxe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:diamond_shovel",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:iron_sword",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:iron_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:iron_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:iron_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:iron_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:iron_pickaxe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:iron_shovel",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 20,
                "max": 39
              },
              "treasure": true
            }
          ]
        }
      ]
    },
    {
      "name": "vanilla",
      "rolls": {
        "min": 1,
        "max": 4
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:emerald",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:diamond",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:gold_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 7,
          "name": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "name": "minecraft:chorus_fruit",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "name": "minecraft:ender_pearl",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        }
      ]
    },
    {
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 14
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:spire_armor_trim_smithing_template"
        }
      ],
      "rolls": 1
    }
  ]
}