-
Bug
-
Resolution: Works As Intended
-
None
-
1.9.0.5 Beta
-
None
-
Community Consensus
-
Windows
-
169962
(forgive me for this sin; Helen specifically told me to report this as a bug)
The syntax of /tellraw has the following related issues:
- All components must form a list
- List of components are needlessly nested inside of a rawtext object
The following is the specification for what should be considered a text component (i.e. valid for tellraw):
- A plain quoted string
- A JSON object of key/value pairs
- A list of text components (recursive definition)
Currently tellraw only accepts a list of JSON objects, wrapped inside a rawtext object. The following is a list of commands that should work, but don't:
/tellraw @a "Hello!" /tellraw @a {"text":"Some text!"} /tellraw @a ["text 1 ", {"text":"text 2 "}, [[["test3"]]]]
The following is how these commands must be rewritten to work currently:
/tellraw @a {"rawtext":[{"text":"Hello!"}]}
/tellraw @a {"rawtext":[{"text":"Some text!"}]}
/tellraw @a {"rawtext":[{"text":"text 1 "},{"text":"text 2 "},{"text":"text 3"}]}