{
  "type": "minecraft:chest",
  "pools": [
    {
      "name": "artifacts",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:dna_splicers"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:elytra"
        },
        {
          "type": "empty",
          "weight": 15
        }
      ]
    },
    {
      "name": "helditems",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:charcoal"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:never_melt_ice"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:magnet"
        },
		{
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:poke_ball",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "pixelmon:poke_ball": "argoliem"
              },
              "conditions": []
            }
          ]
        },
        {
          "type": "empty",
          "weight": 10
        }
      ]
    },
    {
      "name": "treasure",
      "rolls": 2,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "pixelmon:relic_copper"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:relic_silver"
        },
        {
          "type": "minecraft:item",
          "weight": 7,
          "name": "pixelmon:relic_gold"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:relic_crown"
        },
		{
          "type": "minecraft:item",
          "weight": 5,
          "name": "pixelitems:relic_argoliem",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
		{
          "type": "minecraft:item",
          "weight": 4,
          "name": "pixelitems:relic_taninite",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
		{
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelitems:relic_strossnium",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
		{
          "type": "minecraft:item",
          "weight": 2,
          "name": "pixelitems:relic_brokonium",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "empty",
          "weight": 10
        }
      ]
    },
    {
      "name": "armor",
      "rolls": 2,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:plasma_chestplate"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:plasma_leggings"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:plasma_helmet"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:plasma_boots"
        },
        {
          "type": "empty",
          "weight": 10
        }
      ]
    },
    {
      "name": "gems",
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "pixelmon:electric_gem",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "pixelmon:ice_gem",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "pixelmon:fire_gem",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "empty",
          "weight": 15
        }
      ]
    },
    {
      "name": "vanilla",
      "rolls": {
        "min": 3,
        "max": 5
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:bread",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:cooked_beef",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:chain",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 7,
          "name": "minecraft:compass",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:fire_charge",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        }
      ]
    }
  ]
}
