Mojira Archive
MC-83460

JSON requires quotes around the keys in the "/title" and "/tellraw" commands and NBT tags "pages", "Text1" .. "Text4"

Confirmed to happen with:

  • /tellraw
  • /title
  • Books and signs

tellraw and title doesn't work like it used to in 1.8

tellraw @a {text:"this is a text"}
title @a title {text:"this is a title"}

this works fine in 1.8, but in the 1.9 snapshots it doesn't.
it the 1.9 snapshots you require

tellraw @a {"text":"this is a text"}
title @a title {"text":"this is a title"}

to make it work.

in case of title, 1 worded titles would also work with

title @a title hello

but now needs to be

title @a title {"text":"hello"}

this will break a lot of maps made in 1.8, and also gives inconsistency among commands as, for example:

/give @p minecraft:written_book 1 0 {title:"",author:"",pages:["{text:lenient,color:blue}"]}

and

/setblock ~ ~1 ~ minecraft:standing_sign 0 replace {Text1:"{text:lenient,color:blue}"}

work fine, so why should tellraw and title have quotes around the keys too?

Works As Intended

No User

Ben Wager

[Mojang] Searge (Michael Stoyke)

2015-07-29, 10:11 PM

2021-07-19, 09:29 PM

2015-08-11, 11:39 AM

6

11

Confirmed

/tell, /tellraw, error-message, inconsistent, json

Minecraft 15w31a, Minecraft 15w31c, Minecraft 15w32a, Minecraft 15w32c

Minecraft 15w31b