{
  "pools": [
    {
      "rolls": 3,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:white_banner",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{HideFlags:32,ic:safety_banner,BlockEntityTag:{Patterns:[{Color:15,Pattern:\"cs\"},{Color:15,Pattern:\"ms\"}]}}"
            },
            {
              "function": "minecraft:set_name",
              "name": [
                {
                  "text": "Safety Banner",
                  "color": "light_purple",
                  "italic": false
                }
              ]
            },
            {
              "function": "minecraft:set_lore",
              "lore": [
                {
                  "text": "Place down to clear a ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "50x50 area from mob",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "spawning.",
                  "color": "gray",
                  "italic": false
                }
              ]
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.5
            }
          ]
        }
      ]
    },
    {
      "rolls": 2,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:ender_eye",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 1
              }
            },
            {
              "function": "set_nbt",
              "tag": "{CustomModelData:5,ic:rc,rc:enchant,ec:5}"
            },
            {
              "function": "set_name",
              "name": [
                {
                  "text": "Enchantlet Tier V",
                  "color": "gold",
                  "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 30 levels. ",
                  "color": "gray",
                  "italic": false
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "name": "minecraft:netherite_upgrade_smithing_template",
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.25
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 38,
              "treasure": true
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 38,
              "treasure": true
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 38,
              "treasure": true
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 38,
              "treasure": true
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_sword",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 38,
              "treasure": true
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:netherite_axe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": 38,
              "treasure": true
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0,
                "max": 0.9
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:totem_of_undying"
        },
        {
          "type": "item",
          "weight": 1,
          "name": "minecraft:armor_stand",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_nbt",
              "tag": "{CustomModelData:1,ic:light_emblem,EntityTag:{Marker:1b,Invisible:1b,Tags:[\"ic.light_emblem\"]}}"
            },
            {
              "function": "set_name",
              "name": [
                {
                  "text": "Light Emblem",
                  "color": "light_purple",
                  "italic": false
                }
              ]
            },
            {
              "function": "set_lore",
              "lore": [
                {
                  "text": "When placed mobs will spawn ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "per player in the area for ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "60 seconds.",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": " ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "Only works below -y56. ",
                  "color": "gray",
                  "italic": false
                }
              ]
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.01
            }
          ]
        }
      ]
    }
  ]
}
