{
  "pools": [
    {
      "rolls": {
        "min": 1,
        "max": 3
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_potion",
              "id": "minecraft:strong_healing"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_potion",
              "id": "minecraft:healing"
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 0,
        "max": 4
      },
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "irons_spellbooks:magic_items/poor_ink"
        }
      ]
    },
    {
      "rolls": {
        "min": 0,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:scroll",
          "functions": [
            {
              "function": "irons_spellbooks:randomize_spell",
              "spell_filter": {
                "school": "irons_spellbooks:holy"
              },
              "quality": {
                "min": 0.1,
                "max": 0.65
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 12,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald"
        },
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:divine_pearl"
        },
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:arcane_essence"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:paper"
        }
      ]
    }
  ]
}
