Help With Updating my old DP from 1.20.1 to 1.21.4
Hi I have an old datapack I made which is supposed to replace the player's head slot, chest slot, legs slot, and feet slot with godly enchanted armor. However, upon attempting to update the datapack to 1.21.4 the commands no longer work, (I am aware this is due to NBT updates between 1.20.1->1.21.4) however I do not know what updates in the NBT formatting changed between these two versions and what I would need to update with my command to combat this issue. Anyways, Here is the 4 commands for each slot replacement:
Continue to help postjson item replace entity @a armor.head with netherite_helmet{Unbreakable:1,AttributeModifiers:[{AttributeName:"generic.max_health",Amount:30,Slot:head,Name:"generic.max_health",UUID:[I;-123215,23233,221444,-46466]}],display:{Name:'[{"text":"God\'s Almighty Helmet","italic":false,"bold":true,"color":"yellow"}]',Lore:['[{"text":"Forged By The Gods.","italic":false}]','[{"text":"Whose Power Is Great.","italic":false}]']},Enchantments:[{id:"aqua_affinity",lvl:1},{id:"blast_protection",lvl:255},{id:"depth_strider",lvl:255},{id:"fire_protection",lvl:255},{id:"frost_walker",lvl:255},{id:"projectile_protection",lvl:255},{id:"protection",lvl:255},{id:"respiration",lvl:255},{id:"sharpness",lvl:255},{id:"thorns",lvl:255},{id:"unbreaking",lvl:255}]} 1 item replace entity @a armor.chest with netherite_chestplate{Unbreakable:1,AttributeModifiers:[{AttributeName:"generic.max_health",Amount:30,Slot:chest,Name:"generic.max_health",UUID:[I;-123215,23233,221444,-46466]}],display:{Name:'[{"text":"God\'s Almighty Chestplate","italic":false,"bold":true,"color":"yellow"}]',Lore:['[{"text":"Forged By The Gods.","italic":false}]','[{"text":"Whose Power Is Great.","italic":false}]']},Enchantments:[{id:"aqua_affinity",lvl:1},{id:"blast_protection",lvl:255},{id:"depth_strider",lvl:255},{id:"fire_protection",lvl:255},{id:"frost_walker",lvl:255},{id:"projectile_protection",lvl:255},{id:"protection",lvl:255},{id:"respiration",lvl:255},{id:"sharpness",lvl:255},{id:"thorns",lvl:255},{id:"unbreaking",lvl:255}]} 1 item replace entity @a armor.legs with netherite_leggings{Unbreakable:1,AttributeModifiers:[{AttributeName:"generic.max_health",Amount:30,Slot:legs,Name:"generic.max_health",UUID:[I;-123215,23233,221444,-46466]}],display:{Name:'[{"text":"God\'s Almighty Leggings","italic":false,"bold":true,"color":"yellow"}]',Lore:['[{"text":"Forged By The Gods.","italic":false}]','[{"text":"Whose Power Is Great.","italic":false}]']},Enchantments:[{id:"aqua_affinity",lvl:1},{id:"blast_protection",lvl:255},{id:"depth_strider",lvl:255},{id:"fire_protection",lvl:255},{id:"frost_walker",lvl:255},{id:"projectile_protection",lvl:255},{id:"protection",lvl:255},{id:"respiration",lvl:255},{id:"sharpness",lvl:255},{id:"thorns",lvl:255},{id:"unbreaking",lvl:255}]} 1 item replace entity @a armor.feet with netherite_boots{Unbreakable:1,AttributeModifiers:[{AttributeName:"generic.max_health",Amount:30,Slot:feet,Name:"generic.max_health",UUID:[I;-123215,23233,221444,-46466]}],display:{Name:'[{"text":"God\'s Almighty Boots","italic":false,"bold":true,"color":"yellow"}]',Lore:['[{"text":"Forged By The Gods.","italic":false}]','[{"text":"Whose Power Is Great.","italic":false}]']},Enchantments:[{id:"aqua_affinity",lvl:1},{id:"blast_protection",lvl:255},{id:"depth_strider",lvl:255},{id:"fire_protection",lvl:255},{id:"frost_walker",lvl:255},{id:"projectile_protection",lvl:255},{id:"protection",lvl:255},{id:"respiration",lvl:255},{id:"sharpness",lvl:255},{id:"thorns",lvl:255},{id:"unbreaking",lvl:255}]} 1