0

I was trying to add missions to my museum in Minecraft, and i tried adding an extra text part to my /tellraw message. The command is below, copy/pasted from a command block:

tellraw @p {"text":"(Mission #1)","color":"blue","extra":[{"text":"There are FungusKing_III heads hidden around the museum. See if you can find them all!","color":"dark_blue""}}

Why isn't this working, and how can I fix it?

2

2 Answers 2

4
  1. You opened the extra list with a square bracket, but then didn't close it.
  2. You have two quotation marks at the end of "dark_blue"".

Fixing those, the command will work:

tellraw @p {"text":"(Mission #1)","color":"blue","extra":[{"text":"There are FungusKing_III heads hidden around the museum. See if you can find them all!","color":"dark_blue"}]}
2
  • Thank you! This solved the problem completely! Do you think i should use a tellraw generator next time? Commented Aug 16, 2016 at 7:02
  • @FungusKing I'd recommend using one (e.g: this), as it makes writing the JSON a lot easier and less error-prone.
    – SirBenet
    Commented Aug 16, 2016 at 7:15
-1

Well, I would use this, it's easier:

/tellraw @p ["",{"text":"(Mission #1)","color":"blue"},{"text":"Their are FungusKing_III Heads hidden around the museum, see if you can find them all!","color":"dark_blue"}}]

That would work.

Not the answer you're looking for? Browse other questions tagged .