mojira.dev
MC-139338

Mobs in spawn chunks don't despawn, resulting in no mobs spawning anywhere else

The bug

All creatures (without including villagers and illager raids) are barely spawning in all parts of the game, I am not sure if this is a glitch but I keep going to different new worlds and I keep finding the same issue.

Steps to reproduce

  1. Create a new superflat world (for the easiness, but also because mobs are more frequent the lower the altitude is).

  2. Once in the game, don't move, and set the time to night.

  3. Let the mobs build up, or use a repetitive command block to fill the cap.

  4. Once it's done, then fly away from the area, very far away, very very far away.
    → You will notice no more hostile mob, nor animal is spawning the more you travel. That's because they are still loaded in spawn chunks despise no player is nearby.

Linked issues

MC-139214 Mobs won't spawn in the Nether unless you reload the world Resolved MC-139246 Hostile mobs don't spawn at night in the overworld Resolved MC-139346 Mobs don't spawn Resolved MC-139582 mobs are not spawning Resolved MC-140056 Mobs rarely spawning now. I cannot find any mobs. Resolved

Attachments

Comments 57

Uriel Salischiker

Have you tried running /kill @e? Maybe you reached the mob cap

I don't think that's the case due to the fact that no maps I have seen have ever interfered with each other. I keep making new worlds and don't see any mobs spawning even at night.

I think what happened is something got messed up in the coding in the new snapshot when they released it and possibly the illager raids spawn rate might be interfering with all other mob spawn rates.

Can confirm for 18w47b, though it's been happening to me for a while. I thought it was something to do with the memory issues, but they seem to be fixed and the hostiles still aren't spawning the way they used to. Then I thought I had my game on Easy, but nope it's set to Normal. Played one night in one player survival and I saw one skeleton and one spider. I wandered around for a long time and came across one zombie and one creeper, and that was it. Even if I stay in one place for a long time the hostile mobs just don't spawn.

seed: -8300275442758179407

(pic above)

Can confirm for 18w50a too

You have spawn point in a new village right?

47 more comments

Seems to be fixed in 19w14a now that spawn chunks process entities again (MC-144610).

Unfortunately, I am still experiencing this in 19w14a. Started a new world, and on my second night, mobs refuse to spawn. I'm not sure what kind of technical information you are looking for, feel free to guide me on this.

The difficulty is Hardcore. I haven't gone to the Nether. My operating system is Debian 9 (Stretch)

Here's a screenshot of desolated plains:

[media]

It is possible to reproduce, but not for the same reasons. Now I can observe there is no mob switch effect at spawn chunks anymore: the mobs effectively despawn when the player leaves the area due to the fix of [MC-144610].
But what's new is it is now affected by the view distance. I can only reproduce with view distance of 10 or less. From view distance of 12, the mob spawning works as intended.
Now I tested this in singleplayer, but I wonder if the issue MC-2536 which is concerning multiplayer is not actually now occurring here as well. The reason for this is if you notice the value of MultiplayerChunkCache, since 1.14 snapshots, the first value can be different from the second one even with integrated server (singleplayer).

Can confirm. @unknown, can you create a new ticket?

I have created [MC-147560]

Astro Physics

(Unassigned)

Confirmed

Mob spawning

Minecraft 18w45a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, ..., Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b

Minecraft 19w14a

Retrieved