Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-21436

nested colors in json chat don't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.6.2
    • Minecraft 1.6.1
    • Server Client
    • Unconfirmed
    • Survival

      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.

            dinnerbone [Mojang] Nathan Adams
            iBotPeaches Connor Tumbleson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: