mojira.dev
MC-1443

Custom colour item names lose format when repaired in anvil

I created an enchanted diamond axe with a custom name using NBTedit. The custom name tag had '§6Waraxe' which creates an orange item name 'Waraxe'. I then damaged the axe and repaired it in the anvil, however the item's in-game displayed name changed to cyan colour '§6Waraxe.'

I'm not sure, but I also think the unintentional renaming of the item raised the xp cost of repairing the item.

Linked issues

Comments 4

It is intentional that you cannot use format codes while naming things ingame.

I understand that you wouldn't be able to add item colour ingame, but it is really annoying that items lose their colours when you use an anvil. It would be good if the colour would just stay the same if you don't rename it, but change back to normal if you do. I am making a PVP map with these features, and it's not very nice to have "Master Sword" turned into "8Master Sword" with no colour.

At least strip the color codes from the name properly.

Your report contained an attachment with an invalid extension, so the attachment was removed.

Please remember to only include crashlogs as text files and images as jpg or png instead of using a Word document
-- I am a bot. This action was performed automagically! Please report any issues in Discord or Reddit

Aurin Hitchens

(Unassigned)

Unconfirmed

Minecraft 1.4.2

Retrieved