How do I use the /tellraw command
The extra
list holds "extra" text components that you can stylize:
/tellraw @a {"text":"","extra":[{"text":"blue","color":"blue"},{"text":"green","color":"green"}]}
Note that they will inherit from the parent. For example, everything inside extra
will be bold unless set to false for specific components:
/tellraw @a {"text":"All bold","bold":true,"extra":[{"text":"blue","color":"blue"},{"text":"green","color":"green"}]}
You can instantiate as a list to essentially start within extra
, saving on characters. If doing so, the very first record listed will act as the root parent:
/tellraw @a [{"text":"blue","color":"blue"},{"text":"green","color":"green"}]
/tellraw @a [{"text":"All bold","bold":true},{"text":"blue","color":"blue"},{"text":"green","color":"green"}]