Mojira Archive
MC-55373

/tellraw and /title inconsistencies

The bug

The way tellraw commands inherit properties is very inconsistent between formats. Here are some examples of tellraw commands:

{"text":"Hello","color":"red"}

Hello

{"text":"Hello","color":"red","extra":[{"text":" world"}]}

Hello world

{"text":" ","extra":[{"text":"How are you","color":"green"},{"text":" today?"}]}

How are you today

[{"text":"How are you","color":"green"},{"text":" today?"}]

How are you today

as you can see in the last two examples, putting your text objects in the extras array doesn't allow inheritance between them, however putting them in a first level array does. This makes no sense, because in both of these examples, the text snippets share the same relation, they are at the same level of an array, in the same order. They should behave the same.

Code analysis

Code analysis by Marcono1234 can be found in this comment.