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.
Comments 12
Relates to/Dupe of MCPE-28401.
As a workaround for this issue, you can disable the Smart Punctuation feature in the keyboard settings of your iOS device. (Settings→General→Keyboard→Smart Punctuation)
Relates to/Dupe of MCPE-28401.
As a workaround for this issue, you can disable the Smart Punctuation feature in the keyboard settings of your iOS device. (Settings→General→Keyboard→Smart Punctuation)
Please provide the command used