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?

  • There is a ] missing. Not sure if that's the only thing though. – Arperum Aug 9 '16 at 9:01
3
  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"}]}
  • Thank you! This solved the problem completely! Do you think i should use a tellraw generator next time? – Chemical Comrade Aug 16 '16 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 Aug 16 '16 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.