I would like to enchant a sword with sharpness 6 and it just rename in & 5Boss_Blade how is that & 5 is for the color
Anvil?
Doesn't work in vanilla in color.
Lost sharpness 6?
Yes, then make sharp 6 first?
https://mcstacker.net there you can generate a give command for it
Try it with the command:
/ give @p diamond_sword {display: {Name: '{"text": "Boss_Blade", "color": "dark_purple", "bold": true}'}, Enchantments: [{id: "minecraft: sharpness", lvl: 6s}]} 1