Mojira Archive
MC-116825

NBT setblock with command_block data

Since the new NBT data was changed I could use:
setblock ~ ~1 ~ command_block 0 replace {Command:"/say hi"}

But not when using it in a sign like this:
setblock ~ ~1 ~ standing_sign 12 replace {"Text1":"[{\"text\":\"test\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~ ~1 ~ command_block 0 replace {Command:"/say hi"}\"}}]"}

It will see that there is a " and stop the command. Changing it to \" does not change this.

And I can't think of any fix for it. Someone else having problems with this?

Duplicate

Christian Prater

2017-04-29, 09:25 PM

2017-06-25, 03:51 PM

2017-06-25, 03:51 PM

0

0

Unconfirmed

Minecraft 17w17a

-