execute at @s run data modify entity @s Item.tag merge value {kyuglasswardmodule:1b}
data modify entity @s Item.tag.display.Lore append value '{"text":"Glass Ward 🛡 ","color":"#80FFFB"}'
execute in overworld run setblock 999978 184 999975 minecraft:chain_command_block[facing=up]{auto:1b,Command:"execute as @a[tag=GlassWard] run function zzzzdonotuse:modifyarmor/modules/glasswardeffect",TrackOutput:0} destroy
execute at @s run execute at @e[name=CadeyrnCrafting,sort=nearest,limit=1] run tellraw @a[distance=..4] ["",{"text":"Your helmet now has the 'Glass Ward' module!","color":"#80FFFB","italic":true}]
execute at @s run kill @e[distance=..5,nbt={Item:{id:"minecraft:glass",Count:1b}},tag=!SaveMe,limit=7]
execute at @s run kill @e[distance=..5,nbt={Item:{id:"minecraft:diamond_block",Count:1b}},tag=!SaveMe,limit=1]