I try to use the command for few day and it didn't work. It's always said 'Invalid Commands Syntax'
Comments 7
I did it, but it not work. Maybe the command has a different form from PC version? If not then I'm sure it's a bug
The command
/give <player name> <item> <amount> <data> {"canplaceon":["block"]}.
Example: /give @p redstone_torch 1 0 {"canplaceon":["diamond_block"]}
Is there anything wrong? Just let me know if I do something wrong.
{"minecraft:can_place_on":{"blocks":["minecraft:diamond_block"]}}
PC's NBT is not the same as BC's components.
Edit: blocks, not block
It does work the syntax on mcpe is different than on PC and you must not use capital letters