2

I'm playing on iOS, and I need some help with commands. I'm trying to give mobs that I spawn custom names. I have tried the following:

/summon villager ~ ~ ~ {CustomName:"Dr.Tray"}

The error message I got was "Invalid Command Syntax"

If you know the correct way to do this, Please do not hesitate to tell me!

0

1 Answer 1

2

The only data tags that work in Pocket Edition are CanPlaceOn and CanDestroy for items. To rename a mob, you have to use an item tag.

2
  • Thank you! Now I ask how do I use canplaceon and candestory? Commented Sep 15, 2017 at 18:03
  • Look at the wiki. The comments aren't the place to answer a completely different question. Commented Sep 15, 2017 at 21:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.