Minecraft – How to summon a mob with an always-visible name tag

minecraft-commandsminecraft-java-edition

My son would like to know how to summon a mob with an always-visible name tag.

He's tried CustomNameVisible:1 but it doesn't work. It summons the mob, but the name tag is only visible when you look at the creature.

Best Answer

In Minecraft 1.8, the CustomNameVisible tag only works on Armor Stand entities.

Here is a workaround for putting a tag on a mob. Actually it isn't really on the mob itself, but on an Armor Stand riding it.

/summon ArmorStand ~ ~1 ~ {CustomName:"YourNameHere",CustomNameVisible:1,Small:1,Invisible:1,Invulnerable:1,Riding:{id:"EntityNameHere"}}

You just have to replace YourNameHere by the tag you want to appear and EntityNameHere by the entity name (e.g. Zombie or Skeleton).