{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:experience_bottle",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{ic:clear}"
            }
          ]
        }
      ]
    },
    {
      "rolls": 10,
      "bonus_rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:splash_potion",
          "functions": [
            {
              "function": "set_nbt",
              "tag": "{custom_potion_effects:[{id:\"minecraft:instant_health\",amplifier:2b,duration:20},{id:\"minecraft:regeneration\",amplifier:2b,duration:300}],CustomPotionColor:16720161}"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:experience_bottle",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 32,
                "max": 64
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:shield",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_nbt",
              "tag": "{HideFlags:2,CustomModelData:2,ic:acid_shield,AttributeModifiers:[{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:4,Operation:0,UUID:[I;232069848,40531297,-1339166817,1330268803],Slot:\"offhand\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:2,Operation:0,UUID:[I;319156707,1453736356,-1572244117,1901841866],Slot:\"offhand\"}]}"
            },
            {
              "function": "set_name",
              "name": [
                {
                  "text": "Acid Shield",
                  "color": "gold",
                  "italic": false
                }
              ]
            },
            {
              "function": "set_lore",
              "lore": [
                {
                  "text": " "
                },
                {
                  "text": "Blocking attacks yield a 25% ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "chance to release a toxic gas ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "in the direction of the user. ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "Poison immunity in offhand. ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": " "
                },
                {
                  "text": "When in Off Hand:",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": " +4 Armor ",
                  "color": "blue",
                  "italic": false
                },
                {
                  "text": " +2 Armor Toughness",
                  "color": "blue",
                  "italic": false
                }
              ]
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "equipment": {
                  "offhand": {
                    "items": [
                      "minecraft:shield"
                    ]
                  }
                }
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 4,
          "name": "minecraft:experience_bottle",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 6,
                "max": 12
              }
            }
          ]
        },
        {
          "type": "minecraft:loot_table",
          "weight": 3,
          "name": "infinity_cave:refs/legendary_gear"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 3,
          "name": "infinity_cave:refs/limestone/legendary"
        }
      ]
    }
  ]
}
