Mojira Archive
MC-117939

DataTag Command:"" not working properly

If you try to set a commandblock with /setblock with the DataTag Command:"", it won't place the block and outputs an error message:
Data tag parsing failed: Expected '{' but got '@' at: @<--[HERE]
I used the command:

/setblock ~ ~1 ~ minecraft:command_block 0 {Command:"/tp @a ~ ~ ~"}

as an example.

Invalid

NormalCat

2017-05-26, 02:50 PM

2017-05-26, 03:11 PM

2017-05-26, 03:11 PM

0

0

Unconfirmed

/setblock, DataTag

Minecraft 1.12 Pre-Release 5

-