-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 1.8-pre1
-
None
-
Nested tags cause an "Invalid JSON:" message when pass through a command block. The following asks for three values, but is unable to process the values once input to a command.
In en_US.lang:
wf.menu.join=Join (%1$s, %2$s, %3$s)
wf.team.blue=Wolfsbane
wf.team.red=Foxglove
wf.team.green=Spectators
Command:
tellraw @a {
"text:":"",
"extra":[
{
"translate":"wf.menu.join",
"with":[
{
"translate":"wf.teams.blue",
"color":"blue"
},
{
"translate":"wf.teams.red",
"color":"red"
},
{
"translate":"wf.teams.green",
"color":"green"
}
]
},
{
"text":" Extra text to verify nesting is correct."
}
]
}Nested tags cause an "Invalid JSON:" message when pass through a command block. The following asks for three values, but is unable to process the values once input to a command. In en_US.lang: wf.menu.join=Join (%1$s, %2$s, %3$s) wf.team.blue=Wolfsbane wf.team.red=Foxglove wf.team.green=Spectators Command: tellraw @a { "text:":"", "extra":[ { "translate":"wf.menu.join", "with":[ { "translate":"wf.teams.blue", "color":"blue" }, { "translate":"wf.teams.red", "color":"red" }, { "translate":"wf.teams.green", "color":"green" } ] }, { "text":" Extra text to verify nesting is correct." } ] }
-
Unconfirmed
The "with" tag does not seem to handle multiple values. Tried "text", "selector", "translate", and everything else. The command returns a "Invalid JSON:".
In en_US.lang:
wf.menu.join=Join (%1$s, %2$s, %3$s)
wf.team.blue=Wolfsbane
wf.team.red=Foxglove
wf.team.green=Spectators
Command:
tellraw @a {
"text:":"",
"extra":[
{
"translate":"wf.menu.join",
"with":[
,
,
{ "translate":"wf.teams.green", "color":"green" } ]
},
]
}