mojira.dev
MCPE-23119

Can't make items with CanPlaceOn and CanBreak tags

I try to make CanPlaceOn and CanBreak tagged items but it doesn't work
I don't think my command is correct or wrong or it's not already implemented..

Tested on MyPhone 27

Comments 2

Hi Paul Timothy Necasio, I can help you here because these commands actually work on Minecraft Pocket Edition 1.1.2. It's not the same as the Java version, on Pocket and Windows 10 Editions they have the form of "components" and not "data".
For the CanPlaceOn : /give @... block count data {“can_place_on”:{“blocks”:[“blocks here”]}}
For the CanDestroy : /give @... item count data {“can_destroy”:{“blocks”:[“blocks here”]}}
because the base of the command is now /give <target> <item/block name> <count> <data> <components>

I hope I helped you.

Thank you ZeReaper! I know it know 🙂

PTRN23

(Unassigned)

Unconfirmed

Android

Android 5.1

1.1.2.50

Retrieved