{
  "type": "minecraft:entity",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "endrem:magical_eye",
          "weight": 1
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:blood_staff"
        },
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:necronomicon_spell_book"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:legendary_ink",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:blank_rune",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 3
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 3,
        "max": 5
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:arcane_essence",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 28,
                "max": 45
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:scroll",
          "weight": 7,
          "functions": [
            {
              "function": "irons_spellbooks:randomize_spell",
              "quality": {
                "min": 0.75,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "born_in_chaos_v1:magical_holiday_candy",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "confluence:bezoar",
          "weight": 4
        }
      ]
    },
    {
      "rolls": 1,
      "bonus_rolls": {
        "min": 0,
        "max": 1
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "wizards:wizard_robe_head"
        },
        {
          "type": "minecraft:item",
          "name": "wizards:wizard_robe_chest"
        }
      ]
    },
    {
      "rolls": 1,
      "bonus_rolls": {
        "min": 0,
        "max": 1
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "wizards:wizard_robe_legs"
        },
        {
          "type": "minecraft:item",
          "name": "wizards:wizard_robe_feet"
        }
      ]
    },
    {
      "rolls": 2,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "numismatic-overhaul:silver_coin",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 8,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "numismatic-overhaul:gold_coin",
          "weight": 8,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        }
      ]
    }
  ]
}
