{
  "type": "minecraft:chest",
  "pools": [
    {
      "name": "artifacts",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:reveal_glass"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:prison_bottle"
        },
		{
          "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": 6,
          "name": "pixelmon:poke_ball",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "pixelmon:poke_ball": "gs_ball"
              }
            }
          ]
        }
          ]
        },
    {
      "name": "treasure",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "pixelmon:relic_band"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:relic_crown"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:relic_copper"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:relic_gold"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:relic_silver"
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "pixelmon:relic_statue"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:relic_vase"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:rare_bone"
        },
        {
          "type": "empty",
          "weight": 10
        }
      ]
    },
    {
      "name": "helditems",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:safety_goggles"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:charcoal"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:soft_sand"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:hard_stone"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:flame_plate"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:earth_plate"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:stone_plate"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:thick_club"
        },
        {
          "type": "empty",
          "weight": 15
        }
      ]
    },
    {
      "name": "gems",
      "rolls": {
        "min": 1,
        "max": 3
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "pixelmon:fire_gem",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "pixelmon:ground_gem",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "pixelmon:rock_gem",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "empty",
          "weight": 5
        }
      ]
    },
    {
      "name": "vanilla",
      "rolls": {
        "min": 1,
        "max": 3
      },
      "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:bone",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        }
      ]
    },
    {
      "name": "smithing_template",
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 6
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "add": false,
              "count": 2.0,
              "function": "minecraft:set_count"
            }
          ],
          "name": "minecraft:dune_armor_trim_smithing_template"
        }
      ],
      "rolls": 1.0
    }
  ]
}
