mojira.dev
MC-13537

Formatting always begins at the start of the chat line

If the end any part of a chat line is formatted (bold, italic, underlined, ...) The start of the same line has that format too.

I know that because if I insert a §r at the end of the line the bug doesn't show up.

I think it is easily fixable by just adding a §r at the end of every chat line.

Linked issues

Comments 10

When you say the start of the next line, how far do you mean? Please explain or provide screenshots.

I didn't know that § was working in chat, is this through a mod (unsupported) or command block?

I said the start of the SAME line.
§ doesn't work in chat.
But you can insert it using bukkit. (Bukkit's ChatColor.RESET is equal to "§")

Let's say at the end of the line the text is bold.
Then the whole line is bold if there is no reset sign at the very start or the very end.
So at the start of the SAME line it stays formatted until a reset code is in the message.
For some reason it is only for formatting codes and not for color codes.

Please see if this can be replicated through the use of command blocks.

How exactly does § do a reset? I don't think it is supposed to work like that (§ needs a parameter). Does this still happen if you use §f instead of a plain §?

MY line looks like this:

WhiteWhiteWhite: §lBOLDBOLD

BOLDBOLD is bold because § is the format prefix and l stands for l.
But the whole line is displayed bold because there is no reset at the end or start (reset = §r)

Oh and I can't test whether it is the same with command blocks or not.

Confirmed with command blocks by editing the NBT name tag to include a strikethrough, which was applied from the start to the end of the chat line, even though it was placed in the middle of the name.
So a command block with this name:

Name §mTest

Appears like this in chat:

§m[Name Test] Hello!

When it should show:

[Name §mTest] Hello!

§m in this case is strikethrough.

That's exactly what I mean 😃

Why don't you fixed it in the snapshot?
I mean it's extremely easy to fix.

Chances are that any of the following are true:

  • It is not a stability error

  • It is caused by doing direct editing of maps

    • There is a simple workaround, which is good practice to do anyway (resetting the text mode)

  • There are no votes for the issue, so Mojang doesn't know about the issue

No longer neccessary to use 3rd party tools --> /tellraw

MinecraftShamrock

(Unassigned)

Confirmed

chat, color, format, line, reset, start

Minecraft 1.5.1

Retrieved