This is a bug where you can insert colors into the user's text prompt with command blocks (namely using /tellraw
).
Example:
/tellraw @a {"text":"Click","color":"blue","clickEvent":{"action":"suggest_command","value":"\u00a7bChat was replaced with colored text"}}
Note that, when the message is sent, you will be kicked for "illegal characters in chat" or similar on servers, and the singleplayer game will freeze (which is MC-79818)
Linked issues
relates to
Attachments
Comments
And wow that was craziest bug I've ever seen!
Wow. When I clicked the chat action command, it filled my chat bar with specifically white text. Then I entered the text (tried to) and crashed the world saying that it had "Illegal characters in chat" This is quite incredible! How did you come across this bug anyway?
Also can you explain why when I closed out of the error it brought me to the server menu? Might be the single player server "rerouting" I'm not sure. (Like being kicked out of a server)
@unknown, cause by MC-45602.
I guess that explains that part (you know the not reported bug part haha). Thanks

Confirmed in 1.16.1.

Can confirm in 1.17.1.
It seems like this was fixed in 1.19.1-rc1.
Confirmed for 15w47c