mojira.dev
MC-254168

Mobs spawned using spawn eggs disappear after some time

Mobs spawned with spawn eggs disappear after some time. I'm not sure if it happens only when gamerule mobSpawning is set to false or if the issue is caused by some other game rules. My difficulty was definitely not peaceful - i successfully spawned the mobs, but then after some time they disappeared. And there is no way they died - they were held in closed rooms(some were blocked on 1 cube), there was nothing to kill them. Maybe the problem applies only to specific mobs, like skeletons and zombies, which i spawned(and they disappeared). Also, it all happened on a super flat world type. What's important is they disappear only when i don't see them on the screen or i am far away from them. Maybe it happened when the mobs were out of my render distance, but I don't think they ever were. I spawned them already a few times, I reopened Minecraft, restarted my computer and the issue keeps happening. I can't search for any setting in minecraft that might have something to do with this issue. Do they actually disappear on purpose or is that a bug? I'm trying to make a dungeon map and it would be easier if the mobs wouldn't disappear. I spawned the skeletons like in the image in the attachments, they just disappeared after some time.

Attachments

Comments 7

Please attach a screenshot of this occurring while the F3 debug screen is enabled.

This issue is being temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

On Screenshot(5) another skeleton just disappeared when it was not visible on my screen.

Are the entities that are despawning nametagged? If they're not and/or don't have the "PresistenceRequired" tag, they will despawn.

Ok, I used the PersistenceRequired tag. I hope it's going to work.

Wow, with the PersistenceRequired tag the mobs can't attack the player and skeletons have no bows in hands. How to fix that?

Try using a name tag instead of spawning them in with NBT.

Thank you for your report!
We're tracking this issue in MC-54556, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Stiffo

(Unassigned)

Unconfirmed

(Unassigned)

1.19

Retrieved