Mojira Archive
MC-82342

fill command fails parsing

You're able to type:
/fill x1 y1 z1 x2 y2 z2 minecraft:command_block 0 replace minecraft:stone

but when you add a datatag, it goes horribly wrong:
/fill x1 y1 z1 x2 y2 z2 minecraft:command_block 0 replace

{Command:"/say hey"}

minecraft:stone

though you can do this when you replace all the blocks like so:
/fill x1 y1 z1 x2 y2 z2 minecraft:command_block 0 replace

{Command:"/say hey"}

or
/fill x1 y1 z1 x2 y2 z2 minecraft:command_block 0 keep

{Command:"/say hey"}

but when adding a replacement block to it, will make the command incorrect due a bug in the parsing of the brackets. This is the error log of the command:
[20:57:15] Data tag parsing failed: Unbalanced curly brackets {}: Command:"/say hey"} minecraft:ston

There is no fix to this, that's why i'm doing it alternatively using the "keep" block-handling and change the air into something else, though that uses an extra commandblock

Duplicate

Jenne van den Boom

2015-07-13, 10:02 PM

2015-07-14, 08:54 PM

2015-07-13, 10:17 PM

0

1

Unconfirmed

Minecraft 1.8.7

-