
execute if entity @s[nbt={ArmorItems:[{tag:{Enchantments:[{id:"minecraft:protection",lvl:4s}]}}]}] run damage @s 5 minecraft:sonic_boom

execute if entity @s[nbt={ArmorItems:[{},{tag:{Enchantments:[{id:"minecraft:protection",lvl:4s}]}}]}] run damage @s 5 minecraft:sonic_boom

execute if entity @s[nbt={ArmorItems:[{},{},{tag:{Enchantments:[{id:"minecraft:protection",lvl:4s}]}}]}] run damage @s 5 minecraft:sonic_boom

execute if entity @s[nbt={ArmorItems:[{},{},{},{tag:{Enchantments:[{id:"minecraft:protection",lvl:4s}]}}]}] run damage @s 5 minecraft:sonic_boom
