{
  "type": "minecraft:chest",
  "pools": [
    {
      "name": "balls",
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:loot_table",
          "weight": 10,
          "value": "pixelmon:intermediate/ball_lids_tier_1",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:loot_table",
          "weight": 2,
          "value": "pixelmon:intermediate/ball_lids_tier_2"
        }
      ]
    },
    {
      "name": "medicine",
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:loot_table",
          "weight": 10,
          "value": "pixelmon:intermediate/medicine_tier_1",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:loot_table",
          "weight": 2,
          "value": "pixelmon:intermediate/medicine_tier_2"
        }
      ]
    },
    {
      "name": "food",
      "rolls": {
        "min": 1,
        "max": 3
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:beef",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:chicken",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]       
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:mutton",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]       
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:cod",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]       
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:rabbit",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]       
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:salmon",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]       
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:porkchop",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]       
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:bread",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]       
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:carrot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]       
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelitems:hades_crown"
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "pixelitems:flower_crown"
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:potato",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 5
              }
            }
          ]       
        }
      ]
    }
  ]
}

