data modify entity @s[nbt={Item:{id:"minecraft:leather_helmet"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"head",type:"armor",id:"-123321432456189101-73842",amount:1,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:chainmail_helmet"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"head",type:"armor",id:"-123321432456189101-73842",amount:2,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:iron_helmet"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"head",type:"armor",id:"-123321432456189101-73842",amount:2,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:golden_helmet"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"head",type:"armor",id:"-123321432456189101-73842",amount:2,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:diamond_helmet"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"head",type:"armor",id:"-123321432456189101-73842",amount:3,operation:"add_value"}
data modify entity @s[nbt={Item:{id:"minecraft:diamond_helmet"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"head",type:"armor_toughness",id:"-123321432456189102-73842",amount:2,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:netherite_helmet"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"head",type:"armor",id:"-123321432456189101-73842",amount:3,operation:"add_value"}
data modify entity @s[nbt={Item:{id:"minecraft:netherite_helmet"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"head",type:"armor_toughness",id:"-123321432456189102-73842",amount:3,operation:"add_value"}
data modify entity @s[nbt={Item:{id:"minecraft:netherite_helmet"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"head",type:"knockback_resistance",id:"-123321432456189103-73842",amount:0.1,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:turtle_helmet"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"head",type:"armor",id:"-123321432456189101-73842",amount:2,operation:"add_value"}