mojira.dev
MC-2932

Spawn chunks are loaded all the time even in singleplayer

From some tests I did it looks like a few chunks around the spawn are constantly loaded.
Probably it's a legacy from the multi/single player merge. But I don't see a reason why there should be chunks loaded all the time if no player is around. If there is one please let me know.

I guess it causes the game to use a little bit more memory than necessary.

Also the entities in this area are loaded and interfer with the mobspawning. For hostile mobs that's no problem because they despawn anyways if no player is in a 128 radius. But if there are a few peaceful creatures close to the spawn the peaceful mobspawning does not work in any place in this world because of the mobcap.

I hope you understand why I think that it is a bug and just in case works as intended I would like to know why.

Linked issues

Comments 16

I have to remember to make a crop farm there then.

Btw, how do you know it is always loaded in memory ?

Also, what do you mean by "peaceful mob spawning" ? In my understanding the animals are now persistent, they are only created when the chunk is created and there is no cap for them (I have hundreds of animals in my farm but I can still find wild ones just outside).

If I remember correctly, those chunks are always loaded as to prevent falling through the void when you respawn.
I'm going to leave this open for a Mojangsta to comment on though, as I'm not sure.

@Joël Fivat
I'm not sure but I think the random update ticks which are needed for crop farms are not processed in this area.

I know that it is always loaded because I spawned a few chicken there and teleported 10000 blocks away. When I came back after 5 minutes the chicken have laid eggs.

There are two ways peaceful mobs can spawn (as far as I know):
1. On the world generation
2. Randomly like hostile mobs (not as often) if the mob cap is not reached (which doesn't work because of this bug)

@Mustek
Thank you for leaving it open. If I remember right they fixed the falling into the void bug in an other way now. So there is no need for that anymore. (Also you respawn at the bed you last slept in)

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

6 more comments

No, it's for both. There's a separate cap for hostiles and friendlies, but the cap still works the same way. Just like having enough hostiles loaded in a mob farm prevents hostiles generating anywhere else, having enough animals loaded in an animal farm prevents them spawning anywhere else. And the cap for animals is lower to begin with.

Is this still a concern in the current Minecraft version 1.6.4 / Launcher version 1.2.5 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Yes, this is still an issue in the current version, with the current launcher, or the current multiplayer server, or the current single player game.

Seriously Dinnerbones, you said this is indended? Can you please explain why you consider this a desirable or intended feature? Yes, you can load command blocks and redstone near spawn and they will always work – how many of us actually use that? Can you at least give us server control of the loaded radius as a compromise?

your iron farm will allways work. how awsome is that?

Yes, a rationale for it being an intended feature would help...
Hopefully the new /setworldspawn command changes the area that is kept loaded, allowing it to be moved to a location that is helpful, or at least less unhelpful...

Panda4994

(Unassigned)

Confirmed

animal, chunk, loaded, mob, mobcap, peaceful, spawn, spawning

Minecraft 1.4.2, Minecraft 1.4.4, Snapshot 13w05b, Snapshot 13w19a

Retrieved