Mojira Archive
MCPE-37871

can_destroy and can_place_on do not work

I have spent countless hours searching the internet for the syntax for the can_destroy and can_place_on components and always get the same answers. However, when I put these syntax in, I always get these silly errors of “Unexpected [x] at [y] position.” I check every character I type and it always matches the syntax I find on the forums.

 

EDIT: I think I have found the source of the problem. The smaller font that is used when a ‘ or “ is typed is glitching the syntax. The only way I could get it to work was by pasting in the “ from an external source, which conveniently keeps the old font. 

 

The command used was /give @p wooden_pickaxe 1 0 {“minecraft:can_destroy”:{“blocks”:[“stone”]}} I found that the bug applied to other commands as well, but this was the first one I tried.

Invalid

Quinn Dagenais

2018-10-01, 03:11 AM

2018-10-02, 12:12 PM

2018-10-01, 09:18 PM

0

0

Unconfirmed

1.6.1

-