mojira.dev
MC-135154

Colored text by § resets color of the second and further lines

The bug

This bug happens when I use § to make the text colored and color stays only for the first line whereas other formatting saves for further lines. If you, for example, enable Force Unicode Font, you will see that it works like I described.

How to reproduce

To recreate this bug you need to have UTF-8 without BOM function with some kind of this command

tellraw @a {"text":"§aA small river named Duden flows by their place and supplies it with the necessary regelialia."}

P.S I know that json has color tag, but § is useful for some kind of this colored translation

tellraw @a {"translate":"§aA small river named Duden flows by their place and supplies it with the necessary regelialia.","with":[{"text":"It is a paradisematic country, in which roasted parts of sentences fly into your mouth. ","color":"red"}]}

Linked issues

Attachments

Comments 4

This is still a problem in 1.14 and needs to be fixed.

In 21w03a (and probably earlier) the second line appears to be colored correctly, see:

/tellraw @a {"text":"\u00A7aA small river named Duden flows by their place and supplies it with the necessary regelialia."}

Are you still experiencing this?

However, insertions in translated text cause subsequent text to have the wrong color:

/tellraw @a {"translate":"\u00A7aThe Sandstone block (%s) can be crafted from sand.","with":[{"text":"found naturally in the desert","color":"gray"}]}

I am not sure if that is what you meant with your second example (because it is currently missing a placeholder %s). However, I doubt that this will be considered a valid issue given that they want to get rid of the legacy formatting as far as I know.

Can confirm for bedrock edition 1.17.11.

@@unknown, the MC project on this bug tracker is only for reports about Java Edition. Please search if there are any existing reports for Bedrock Edition (project MCPE), and if not, create a new one. Feel free to refer to this report here though.

Wector11211

(Unassigned)

Community Consensus

(Unassigned)

Minecraft 1.13, Minecraft 1.13.1

Retrieved