{
  "pools": [
    {
      "rolls": 2,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "irons_spellbooks:scroll",
          "functions": [
            {
              "function": "irons_spellbooks:randomize_spell",
              "quality": {
                "min": 0.0,
                "max": 0.75
              },
              "spell_filter": {
                "school": "irons_spellbooks:ice"
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 4,
          "name": "irons_spellbooks:affinity_ring",
          "functions": [
            {
              "function": "irons_spellbooks:randomize_ring_enhancement",
              "school": "irons_spellbooks:ice"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "irons_spellbooks:frostward_ring"
        },
        {
          "type": "minecraft:empty",
          "weight": 2
        }
      ]
    },
    {
      "rolls": {
        "min": 6,
        "max": 12
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:snowball",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:ice",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 4
              }
            }
          ]
        }
      ]
    }
  ]
}
