{
  "pools": [
    {
      "rolls": 2,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "weight": 2,
          "name": "infinity_cave:refs/rare_gear",
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.05
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:ender_eye",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 1
              }
            },
            {
              "function": "set_nbt",
              "tag": "{CustomModelData:2,ic:rc,rc:enchant,ec:2}"
            },
            {
              "function": "set_name",
              "name": [
                {
                  "text": "Enchantlet Tier II",
                  "color": "aqua",
                  "italic": false
                }
              ]
            },
            {
              "function": "set_lore",
              "lore": [
                {
                  "text": "Right click to enchant an ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "item in your offhand. ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": " ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "Costs 10 levels. ",
                  "color": "gray",
                  "italic": false
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 13,
              "treasure": true
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 13,
              "treasure": true
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 13,
              "treasure": true
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:chainmail_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 13,
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:stone_sword",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 13,
              "treasure": true
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:stone_axe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 13,
              "treasure": true
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_apple",
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.2
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:totem_of_undying",
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.025
            }
          ]
        }
      ]
    }
  ]
}
