[MC-10188] Command block messages dont format properly Created: 23/Feb/13  Updated: 29/Dec/17  Resolved: 23/Feb/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w07a
Fix Version/s: None

Type: Bug
Reporter: Sir Lord Jeff Assignee: Unassigned
Resolution: Works As Intended Votes: 0
Labels: color, command, command_block, teams

Confirmation Status: Unconfirmed

 Description   

Command blocks that have a name with a format code (like §2) will change the colour of the rest of the text unless a coloured player name (from a team) is in the message, at which point the text goes white again. This is inconsistent with player names which automatically reformat themselves (eg Joined message, killed message although oddly not left message)



 Comments   
Comment by Sir Lord Jeff [ 24/Feb/13 ]

Yes but that causes poor formatting with command outputs as it will always be white and not grey and italics, but changing it to be like that means that if you change the command to a say command the formatting will be wrong again. And this is inconsistent with coloured player names anyway, which reformat themselves to be correct.

Comment by [Mod] Ezekiel (ezfe) [ 23/Feb/13 ]

This is intended. You can de-format it after the name with §r.

Comment by Kumasasa [ 23/Feb/13 ]

Please post an example.

Generated at Sun Jan 12 12:23:33 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.