execute as @s[nbt={Item:{id:"minecraft:diamond_helmet"}}] run data merge entity @s {Item:{tag:{diamondnetherarmorkyu:1b,diamondarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.armor_toughness",Name:"generic.armor_toughness",Amount:2,Operation:0,Slot:"head",UUID:[I;6969,6969,6969,1131]},{AttributeName:"generic.armor",Name:"generic.armor",Amount:3,Operation:0,Slot:"head",UUID:[I;6969,6969,6969,1132]},{},{},{},{},{},{}]}}}
execute as @s[nbt={Item:{id:"minecraft:diamond_chestplate"}}] run data merge entity @s {Item:{tag:{diamondnetherarmorkyu:1b,diamondarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.armor_toughness",Name:"generic.armor_toughness",Amount:2,Operation:0,Slot:"chest",UUID:[I;6969,6969,6969,1133]},{AttributeName:"generic.armor",Name:"generic.armor",Amount:8,Operation:0,Slot:"chest",UUID:[I;6969,6969,6969,1134]},{},{},{},{},{},{}]}}}
execute as @s[nbt={Item:{id:"minecraft:diamond_leggings"}}] run data merge entity @s {Item:{tag:{diamondnetherarmorkyu:1b,diamondarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.armor_toughness",Name:"generic.armor_toughness",Amount:2,Operation:0,Slot:"legs",UUID:[I;6969,6969,6969,1135]},{AttributeName:"generic.armor",Name:"generic.armor",Amount:6,Operation:0,Slot:"legs",UUID:[I;6969,6969,6969,1136]},{},{},{},{},{},{}]}}}
execute as @s[nbt={Item:{id:"minecraft:diamond_boots"}}] run data merge entity @s {Item:{tag:{diamondnetherarmorkyu:1b,diamondarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.armor_toughness",Name:"generic.armor_toughness",Amount:2,Operation:0,Slot:"feet",UUID:[I;6969,6969,6969,1137]},{AttributeName:"generic.armor",Name:"generic.armor",Amount:3,Operation:0,Slot:"feet",UUID:[I;6969,6969,6969,1138]},{},{},{},{},{},{}]}}}

execute as @s[nbt={Item:{id:"minecraft:netherite_helmet"}}] run data merge entity @s {Item:{tag:{diamondnetherarmorkyu:1b,netherarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.knockback_resistance",Name:"generic.knockback_resistance",Amount:.1,Slot:"head",Operation:0,UUID:[I;6969,6969,6968,1139]},{AttributeName:"generic.armor_toughness",Name:"generic.armor_toughness",Amount:3,Operation:0,Slot:"head",UUID:[I;6969,6969,6968,1131]},{AttributeName:"generic.armor",Name:"generic.armor",Amount:3,Operation:0,Slot:"head",UUID:[I;6969,6969,6968,1132]},{},{},{},{},{},{}]}}}
execute as @s[nbt={Item:{id:"minecraft:netherite_chestplate"}}] run data merge entity @s {Item:{tag:{diamondnetherarmorkyu:1b,netherarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.knockback_resistance",Name:"generic.knockback_resistance",Amount:.1,Slot:"chest",Operation:0,UUID:[I;6969,6969,6968,1140]},{AttributeName:"generic.armor_toughness",Name:"generic.armor_toughness",Amount:3,Operation:0,Slot:"chest",UUID:[I;6969,6969,6968,1133]},{AttributeName:"generic.armor",Name:"generic.armor",Amount:8,Operation:0,Slot:"chest",UUID:[I;6969,6969,6968,1134]},{},{},{},{},{},{}]}}}
execute as @s[nbt={Item:{id:"minecraft:netherite_leggings"}}] run data merge entity @s {Item:{tag:{diamondnetherarmorkyu:1b,netherarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.knockback_resistance",Name:"generic.knockback_resistance",Amount:.1,Slot:"legs",Operation:0,UUID:[I;6969,6969,6968,1141]},{AttributeName:"generic.armor_toughness",Name:"generic.armor_toughness",Amount:3,Operation:0,Slot:"legs",UUID:[I;6969,6969,6968,1135]},{AttributeName:"generic.armor",Name:"generic.armor",Amount:6,Operation:0,Slot:"legs",UUID:[I;6969,6969,6968,1136]},{},{},{},{},{},{}]}}}
execute as @s[nbt={Item:{id:"minecraft:netherite_boots"}}] run data merge entity @s {Item:{tag:{diamondnetherarmorkyu:1b,netherarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.knockback_resistance",Name:"generic.knockback_resistance",Amount:.1,Slot:"feet",Operation:0,UUID:[I;6969,6969,6968,1142]},{AttributeName:"generic.armor_toughness",Name:"generic.armor_toughness",Amount:3,Operation:0,Slot:"feet",UUID:[I;6969,6969,6968,1137]},{AttributeName:"generic.armor",Name:"generic.armor",Amount:3,Operation:0,Slot:"feet",UUID:[I;6969,6969,6968,1138]},{},{},{},{},{},{}]}}}

#
execute as @s[nbt={Item:{id:"minecraft:iron_helmet"}}] run data merge entity @s {Item:{tag:{ironarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:3.25,Operation:0,Slot:"head",UUID:[I;6969,6969,6969,1139]},{},{},{},{},{},{}]}}}
execute as @s[nbt={Item:{id:"minecraft:iron_chestplate"}}] run data merge entity @s {Item:{tag:{ironarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:7.25,Operation:0,Slot:"chest",UUID:[I;6969,6969,6969,1140]},{},{},{},{},{},{}]}}}
execute as @s[nbt={Item:{id:"minecraft:iron_leggings"}}] run data merge entity @s {Item:{tag:{ironarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:6.25,Operation:0,Slot:"legs",UUID:[I;6969,6969,6969,1141]},{},{},{},{},{},{}]}}}
execute as @s[nbt={Item:{id:"minecraft:iron_boots"}}] run data merge entity @s {Item:{tag:{ironarmorkyu:1b,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:3.25,Operation:0,Slot:"feet",UUID:[I;6969,6969,6969,1142]},{},{},{},{},{},{}]}}}