{
  "type": "minecraft:chest",
  "pools": [
    {
      "name": "helditems",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:spell_tag"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:thick_club"
        },
        {
          "type": "empty",
          "weight": 20
        }
      ]
    },
    {
      "name": "treasure",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "pixelmon:relic_copper"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelmon:relic_silver"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "pixelmon:relic_gold"
        },
        {
          "type": "empty",
          "weight": 15
        }
      ]
    },
    {
      "name": "gems",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "weight": 5,
          "value": "pixelmon:intermediate/random_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:bone",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:spider_eye",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "name": "minecraft:bone_meal",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:skeleton_skull",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 7,
          "name": "minecraft:dead_bush",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 7,
          "name": "minecraft:cobweb",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:crimson_fungus",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:warped_fungus",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        }
      ]
    }
  ]
}
