mojira.dev
MC-190605

Formatting reset code (§r) doesn't work anymore in language files

chat reset code (§r) doesn't work at the start of the text in resource pack lang file. in 1.15 it defaults to white color and sets italic to false.

<sample rp>/assets/minecraft/lang/en_us.json

{
    "item.minecraft.golden_apple": "§rSample Text"
}

Test resource pack

[media]

Linked issues

Attachments

Comments 6

The § symbol is slowly being removed from Minecraft. Use Raw JSON text instead.

you cannot use Raw JSON text in a resource pack's lang files. Only §r doesn't work all other colors/formats that use § work. could make it where [MOTD unicode|https://minecraft.tools/en/color-code.php] will also work in any lang file instead of §

Looks like I've dealt with your ticket way too fast 😉 Reopened.

all is good, I could see how you could have mistaken it as being the other bugs.

This doesn't affect server names for instance. Probably only language files.

Formatting codes are deprecated and will be removed in the future. We will continue to introduce further support for text components instead where it is still missing, so prefer moving to those wherever possible and be aware that any strings using format codes may stop working in future versions.

Legopitstop

(Unassigned)

Confirmed

Normal

Rendering, UI

language-file, resource-pack

1.16 Release Candidate 1, 1.16

Retrieved