data merge entity @s {Health:50,drop_chances:{mainhand:.5f,offhand:0f},equipment:{feet:{id:diamond_boots,components:{trim:{pattern:rib,material:netherite},enchantments:{protection:1}}}},legs:{id:diamond_leggings,components:{trim:{pattern:rib,material:netherite}}},chest:{id:diamond_chestplate,components:{trim:{pattern:rib,material:netherite},enchantments:{blast_protection:2}}},head:{id:diamond_helmet,components:{enchantments:{projectile_protection:3}}}}
item replace entity @s weapon.mainhand with diamond_sword[item_name="Guard Sword",lore=[{"text":"It has been refined","color":"gold","italic":false}],enchantments={looting:4,sharpness:5,sweeping:4,breach:2}]