mojira.dev
MC-27535

Mobs can sometimes still despawn, even if named with a name tag

[~panda4994]:

Several causes of this issue been fixed:

  • Zombiefying a renamed Villager would not copy the PersitenceRequired-flag

  • It was possible that a nametag appeared to have been applied while this was not actually the case for the server.

  • Mobs in boats disappeared when they were saved in a different chunk than the boat

With the amount of duplicates this issue has it is entirely possible that there is still remaining issues of entities disappearing that have not been resolved. However these are most likely not related to nametags and despawning and should be tracked individually as their own report with context and if possible reproduction steps.

Thanks you!

The bug

When a few mobs were named with a name tag, some would occasionally despawn.

Linked issues

Attachments

Comments 88

Do they really despawn or burn in the sunlight ?

Please force a crash by pressing F3 + C for 10 seconds while ingame and attach the crash report ([minecraft|http://hopper.minecraft.net/help/finding-minecraft-data-folder]/crash-reports/crash-<DATE>-client.txt) here.

They really despawn. They are under ground, no direct sunlight.

Do you think it could have been because some of the mobs were named with a tag, and some named through an anvil directly by the egg?

Confirmed the despawning of Zombies created from a renamed egg (Multiplayer)
Cannot confirm the despawning of NameTagged Zombies

78 more comments

I can confirm (in 1.15.2), as I have a zombie in an iron farmed that I named using a nametag, and once i walked out of distance of it the zombie had despawned. In other versions (1.14 & below( of the game I do the same and the zombie will still be there when I return to the chunks.

someminecrafteridk

I have every mob listed on one Minecraft world and they all have NoAI, Silent, PersistenceRequired and Invulnerable tags and PersistenceRequired is supposed to keep mobs from despawning, but the only one that despawns is The trader llama.

happened to me the other day. i was creating a pillager village and had done the broken crossbow trick to make them friendly. nametagged them then dropped them a banner to hold. went away for a bit to work on something else and when i came back they were gone. 

Several causes of this issue been fixed:

  • Zombiefying a renamed Villager would not copy the PersitenceRequired-flag

  • It was possible that a nametag appeared to have been applied while this was not actually the case for the server.

  • Mobs in boats disappeared when they were saved in a different chunk than the boat

With the amount of duplicates this issue has it is entirely possible that there is still remaining issues of entities disappearing that have not been resolved. However these are most likely not related to nametags and despawning and should be tracked individually as their own report with context and if possible reproduction steps.

Thanks you!

Tamed horses also despawn. Dogs are cool bros.

I didnt add a nametag but I already tamed the horse.

Bud Gillett

Panda4994

Confirmed

Very Important

Mob spawning

Minecraft 1.6.2, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w05b, Minecraft 14w20b, ..., 20w16a, 20w17a, 20w18a, 20w19a, 20w21a

1.16 Pre-release 3

Retrieved