mojira.dev
MC-107305

Named mobs always despawn in all conditions

Passive and aggressive mobs alike will disappear after being ascribed a nametag. The name will successfully attach to the mob, but the mob will despawn during a relatively short span of inactivity on the Realm server (~6 hours or so). This happens regardless of whether or not they are near any walls to potentially suffocate in.

Example 1: I had 3 polar bears. One had a nametag. I left them to wander freely in a valley that they couldn't scale out of. The named bear disappeared within hours. Up until naming it, I had successfully kept all 3 bears within the enclosed region for weeks.

Example 2: I had a named endermite enclosed in a one block space. It disappears every time within half a day.

Example 3: I applied a nametag to a pig and leashed it to a fence post in an otherwise open field. It is gone.

Example 4: Every single named horse and sheep (>20 of them) that were successfully hanging out in a paddock for months (long before 1.10.1) are gone.

Thanks.

Comments 5

@Neko This is arguably not a duplicate of MC-27535 since it points to a larger issue. Passive mobs that normally don't despawn are actively despawning with a nametag.

This is arguably not a duplicate to MC-27535 since it is new to 1.10.1 and up and is not unique to hostile mobs. This issue causes passive mobs that would have otherwise stayed on the premises to actively despawn. It's also odd to me as a developer that this other defect has remained open since 2013 - surely the codebase has changed since then?

I can still confirm in 1.11.2 server.

I have named several passive and hostile mobs with a nametags, but after some time (maybe 24 or so hours) they despawn.

Example 1.
I have several horses and donkeys in a fence, out of the 15 mobs total, about 7 of them had a nametag, and all 7 have despawned.

Example 2.
I trapped and successfully attached nametags to several hostile mobs (Zombie, Zombie Pigman, Pilligar Captain, Creeper, Witch, Slime, ect.) all of which despawned within a 24 hour period of the naming of each one.

Example 3.
I attached a nametag to an iron golem, who was kept in a secure fence, and again after a 24 hour period of it's naming, it despawned.

Example 4.
I attached a nametag to 1 of my 4 dogs and 2 of 6 of my cats and left them all sitting in my house (on a world where I strictly play alone) and all of which I assigned a nametag have despawned.

I hope that you will look into fixing this issue promptly because I would like to retry my mob collection, as well as be able to name my tamed/untamed mobs. Thank you for your consideration. 🙂

Jordan K

(Unassigned)

Unconfirmed

Minecraft 1.10.2

Retrieved