Steps to reproduce:
1. Get in a creative world
2. Take a Endermite Spawn Egg, and rename it with any name you want
3. Spawn the endermite, and wait...
If the endermite is named via the spawn egg, it despawns anyway, but if it's named later with a nametag, it won't despawn.
Linked issues
duplicates 1
Comments 3
I'm pretty sure it isn't. The spawned endermites despawning after 2 minutes is intended. Making an endermite not despawn after that time by using a name tag on it is also intended. But spawning an endermite through a named egg, which is supposed to work as both previous steps in one, and having it despawn after 2 minutes, that probably isn't intended.
Wrong. Naming mobs by renamed eggs does not prevent despawning, see MC-54556
Intended.