execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:turtle_helmet",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:275}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:elytra",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:432}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:leather_helmet",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:55}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:leather_chestplate",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:80}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:leather_leggings",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:75}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:leather_boots",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:65}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:golden_helmet",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:77}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:golden_chestplate",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:112}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:golden_leggings",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:105}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:golden_boots",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:91}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:chainmail_helmet",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:165}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:chainmail_chestplate",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:240}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:chainmail_leggings",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:225}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:chainmail_boots",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:195}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:iron_helmet",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:165}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:iron_chestplate",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:240}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:iron_leggings",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:225}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:iron_boots",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:195}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:diamond_helmet",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:363}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:diamond_chestplate",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:528}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:diamond_leggings",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:495}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:diamond_boots",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:429}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:netherite_helmet",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:407}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:netherite_chestplate",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:592}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:netherite_leggings",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:555}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:netherite_boots",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:481}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:wooden_axe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:59}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:wooden_hoe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:59}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:wooden_pickaxe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:59}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:wooden_shovel",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:59}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:wooden_sword",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:59}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:stone_axe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:131}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:stone_hoe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:131}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:stone_pickaxe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:131}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:stone_shovel",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:131}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:stone_sword",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:131}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:golden_axe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:32}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:golden_hoe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:32}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:golden_pickaxe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:32}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:golden_shovel",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:32}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:golden_sword",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:32}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:iron_axe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:250}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:iron_hoe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:250}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:iron_pickaxe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:250}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:iron_shovel",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:250}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:iron_sword",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:250}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:diamond_axe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:1561}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:diamond_hoe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:1561}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:diamond_pickaxe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:1561}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:diamond_shovel",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:1561}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:diamond_sword",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:1561}}}

execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:netherite_axe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:2031}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:netherite_hoe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:2031}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:netherite_pickaxe",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:2031}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:netherite_shovel",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:2031}}}
execute as @e[type=item,distance=..5,nbt={Item:{id:"minecraft:netherite_sword",tag:{CurseShattering:1}}}] run data merge entity @s {Item:{tag:{Damage:2031}}}