mojira.dev
MCPE-20912

CanPlaceOn and CanDestroy Not Functioning

The CanPlaceOn and CanDestroy NBT tags for /replaceitem are comming up invalid. Either it's not fully implemented, not working, or us players aren't putting it into the command correctly. I fully understand the remainder of /replaceitem, and this is the only part I don't understand. Even if this is a duplicate, I would like to know how to properly enter the tag. Include an example, if possible.

Comments 3

{"minecraft:can_place_on":{"blocks":["(block)"]}}
{"minecraft:can_destroy":{"blocks":["(block)"]}}

don't copy: (block) - just put block what you want 😃

RudeGbx PinoyPE... You are a life saver. I could not figure this out at all. Thank you!!!

If you can't figure out how a feature works, please visit the Minecraft Forums for assistance.

Don Nichols

(Unassigned)

Unconfirmed

Tablet - Android - Other (Specify in description)

1.1.0.0

Retrieved