data modify entity @s[nbt={Item:{id:"minecraft:leather_chestplate"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"chest",type:"armor",id:"-123321432456189101-73843",amount:3,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:chainmail_chestplate"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"chest",type:"armor",id:"-123321432456189101-73843",amount:5,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:iron_chestplate"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"chest",type:"armor",id:"-123321432456189101-73843",amount:6,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:golden_chestplate"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"chest",type:"armor",id:"-123321432456189101-73843",amount:5,operation:"add_value"}

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

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

data modify entity @s[nbt={Item:{id:"minecraft:elytra"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"chest",type:"armor",id:"-12332143245618910173843",amount:0,operation:"add_value"}