Mojira Archive
MC-21436

nested colors in json chat don't work

Nested colors in the new JSON output don't seen to work at all.

EX

{"text":[{"color":"green","text":"hello"},{"color":"red","text":"world"}]}

Should output a green color "hello" and a red colored "world", but it comes out as helloworld (all white).

It seems once a ChatMessage with children is serialized, it drops all formatting/color from the children. Only leaving the "text:" "foo" part.

I believe Dinnerbone did this JSON stuff, so flag as him.

Fixed

Connor Tumbleson

[Mojang] Nathan Adams

2013-07-03, 05:06 PM

2013-07-05, 11:48 AM

2013-07-05, 11:48 AM

0

1

Unconfirmed

chat, json

Minecraft 1.6.1

Minecraft 1.6.2