Spawn chunks are lazy chunks
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occurring.
It looks like spawn chunks are only lazy processing chunks in the current snapshot.
Expected Behavior
An entity's age should still change in the spawn chunks when there is no player nearby.
Falling blocks should process that they are falling and also increase there Time value.
Current Behavior
An entity's age stops changing in the spawn chunks when not loaded by the player, even if the entity is directly in the center of the spawn chunks.
Falling sand does not get processed (does not fall, Time does not change)
Steps to Reproduce
- Set the world spawn to 0, 0:
/setworldspawn 0 0 0 - Leave the area:
/tp 10000 ~ ~ - Summon e.g. a falling block at spawn:
/summon minecraft:falling_block 0 100 0 {Time:1} - Read the entity's NBT
/data get entity @e[type=minecraft:falling_block,limit=1]
Falling block is still present, it has not started falling yet (Pos:[0.5d, 100.0d, 0.5d])) nor has the the Time tag increased.
Environment
Windows 10 PC
Created Issue:
AreaEffectCloud's age does not change in spawn chunks
I had a timer which relied on an area effect clouds age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back.
Expected Behaviour
An area effect cloud's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
An area effect clouds age stops changing in the spawn chunks when not loaded by the playerSteps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
Environment
Windows 10 PC
I had a timer which relied on an
areaeffectclouds age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back.Expected Behaviour
An area effect cloud's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
An area effect clouds age stops changing in the spawn chunks when not loaded by the playerSteps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back.
Expected Behaviour
An area effect cloud's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
An area effect clouds age stops changing in the spawn chunks when not loaded by the playerSteps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
AreaEffectCloud's age does not change in spawn chunksSpawn chunks don't process entities properly
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occuring.
Expected Behaviour
An area effect cloud's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
An area effect clouds age stops changing in the spawn chunks when not loaded by the playerSteps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
Spawn chunks don't process entitiesproperlySpawn chunks don't process entities age
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occuring.
Expected Behaviour
Anarea effect cloud's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
Anarea effect cloudsage stops changing in the spawn chunks when not loaded by the playerSteps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occurring.
Expected Behaviour
An entity's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
An entity age stops changing in the spawn chunks when not loaded by the playerSteps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occurring.
Expected Behaviour
An entity's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
An entity age stops changing in the spawn chunks when not loaded by the playerSteps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud (or other entity which has the age tag) at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occurring.
Expected Behaviour
An entity's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
An entity age stops changing in the spawn chunks when not loaded by the player, even if the entity is directly in the centre of the spawn chunksSteps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud (or other entity which has the age tag) at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occurring.
Expected Behaviour
An entity's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
An entity's age stops changing in the spawn chunks when not loaded by the player, even if the entity is directly in the centre of the spawn chunksSteps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud (or other entity which has the age tag) at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occurring.
Expected Behaviour
An entity's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
An entity's age stops changing in the spawn chunks when not loaded by the player, even if the entity is directly in the centre of the spawn chunks.Steps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud (or other entity which has the age tag) at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occurring.
Expected Behaviour
An entity's age should still change in the spawn chunks when there is no player nearbyCurrent Behaviour
An entity's age stops changing in the spawn chunks when not loaded by the player, even if the entity is directly in the centre of the spawn chunks.Steps to Reproduce
1) Set the world spawn to 0, 0:
/setworldspawn 0 0 02) Summon an area effect cloud (or other entity which has the age tag) at spawn:
{Age:-2000,Tags:["spawncloud"]}
/summon minecraft:area_effect_cloud 0 0 03) Unload the spawn chunks and run this command a few times:
/data get entity @e[type=minecraft:area_effect_cloud,tag=spawncloud,limit=1] AgeThe entity is found, however, the age does not change.
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occurring.
It looks like spawn chunks are only lazy processing chunks in the current snapshot.
Expected Behaviour
An entity's age should still change in the spawn chunks when there is no player nearby.
Falling blocks should process that they are falling and also increase there Time value.Current Behaviour
An entity's age stops changing in the spawn chunks when not loaded by the player, even if the entity is directly in the centre of the spawn chunks.
Falling sand does not get processed (does not fall, Time does not change)Steps to Reproduce
- Set the world spawn to 0, 0:
/setworldspawn 0 0 0- Leave the area:
/tp 10000 ~ ~- Summon e.g. a falling block at spawn:
/summon minecraft:falling_block 0 100 0 {Time:1}- Read the entity's NBT
/data get entity @e[type=minecraft:falling_block,limit=1]
Falling block is still presesnt, it has not started falling yet (Pos:[0.5d, 100.0d, 0.5d])) nor has the the Time tag increased.
Spawn chunksdon't process entities ageSpawn chunks are lazy chunks
I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occurring.
It looks like spawn chunks are only lazy processing chunks in the current snapshot.
Expected Behavio
urAn entity's age should still change in the spawn chunks when there is no player nearby.
Falling blocks should process that they are falling and also increase there Time value.Current Behavio
urAn entity's age stops changing in the spawn chunks when not loaded by the player, even if the entity is directly in the cent
re of the spawn chunks.
Falling sand does not get processed (does not fall, Time does not change)Steps to Reproduce
- Set the world spawn to 0, 0:
/setworldspawn 0 0 0- Leave the area:
/tp 10000 ~ ~- Summon e.g. a falling block at spawn:
/summon minecraft:falling_block 0 100 0 {Time:1}- Read the entity's NBT
/data get entity @e[type=minecraft:falling_block,limit=1]
Falling block is still prese
snt, it has not started falling yet (Pos:[0.5d, 100.0d, 0.5d])) nor has the the Time tag increased.I had a timer which relied on an AreaEffectCloud's age increasing to run some functions, however, the age stopped changing when I wasn't in the spawn chunks until I teleported back. I then checked on items and the same issue was occurring.
It looks like spawn chunks are only lazy processing chunks in the current snapshot.
Expected Behavior
An entity's age should still change in the spawn chunks when there is no player nearby.
Falling blocks should process that they are falling and also increase there Time value.Current Behavior
An entity's age stops changing in the spawn chunks when not loaded by the player, even if the entity is directly in the center of the spawn chunks.
Falling sand does not get processed (does not fall, Time does not change)Steps to Reproduce
- Set the world spawn to 0, 0:
/setworldspawn 0 0 0- Leave the area:
/tp 10000 ~ ~- Summon e.g. a falling block at spawn:
/summon minecraft:falling_block 0 100 0 {Time:1}- Read the entity's NBT
/data get entity @e[type=minecraft:falling_block,limit=1]
Falling block is still present, it has not started falling yet (Pos:[0.5d, 100.0d, 0.5d])) nor has the the Time tag increased.
relates to
relates to
Spawn chunks being lazy chunks is tracked in another ticket: MC-144610
Seems to be fixed in 19w14a now that spawn chunks process entities again (MC-144610).
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).
This ticket updates the mob spawning issue in 1.14, previously tracked in MC-139338 and caused by MC-144610. The same problem still persists but now under other circumstances. Now mobs stop spawning over time and it seems to be affected by the render distance. Further tests show that this issue occurs outside of spawn chunks if your render distance is less than 11.
Steps to reproduce:
- Create a new superflat world in creative without generated structures, not in peacefull, render distance of 12.
- Give yourself a command block (/give @s command_block)
- Place it within spawn chunks, and make it so it will repetitively kill every mob but the player (repeat mode, always active, command is /kill @e[type=!player])
- Set the midnight time (/time set midnight) and teleport anywhere away from the spawn chunks.
- Notice how the mobs regularly spawn around you (by reading the command blocks output)
- Now set up your render distance to 8. Notice how the mobs will stop spawning (ignore the chunks not rendering btw, it is tracked in
MC-147532and it does not affect mobs spawning) - Set your distance back to a value higher than 10. Notice how the mobs start spawning again.
Video: 2019-04-06 12-55-21.mp4![]()
It is possibly related to MC-2536, but the issue is specific to 1.14, and this happens in singleplayer mode as well.
