0

So I entered this and it says this all the time

Data Tag Parsing Failed: Encountered Multiple Top Tags, Only One Expected

And here is the command:

/summon Villager ~ ~1 ~ {NoAI:1,Rotation:[45.0f,-15.0f]},{CustomName:"Fire"}
6

You don't need to separate the {NoAI:1,Rotation:[45.0f,-15.0f]} portion of the NBT tag and the {CustomName:"Fire"} portion. In fact, it's causing the syntax error here.

What you're going to want is as follows:

/summon Villager ~ ~1 ~ {NoAI:1,Rotation:[45.0f,-15.0f],CustomName:"Fire"}

Additionally, you may want to add CustomNameVisible:1 to the NBT tag to make the name show up like a player name, so the command becomes the following:

/summon Villager ~ ~1 ~ {NoAI:1,Rotation:[45.0f,-15.0f],CustomName:"Fire",CustomNameVisible:1}
  • After testing, I'm not quite clear what CustomNameVisible does. I'll do some more science to find out. – Unionhawk Jun 19 '15 at 0:27
  • 1
    it forces a custom name to be visible/invisible, if you set it to0 you won't see the name, useful for crazy commandblock stuff and custom maps. also sorry for necropost – Venya Oct 25 '17 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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