Spawn chunk

Spawn chunks are chunks found in the world spawn point which are not unloaded from the memory, unlike normal chunks.

Introduction
Normally, old chunks beyond player's chunk loading distance get unloaded from the memory and new chunks get loaded into the memory. Therefore, events such as redstone mechanisms and farms in old chunks stop processing. Because spawn chunks do not get unloaded, events occurring in them continue to process, even if no players are nearby. If the world spawn is set to a laggy area using commands, such as an area with many redstone clocks, lag is present wherever the player is in the world.

Behavior
A start ticket is created for the world spawn chunk (so called "spawn chunks"). It has level of 22, and "propagate" or flow to neighbouring chunks, but each time it increases its level by 1 until the maximum of 44 is reached. As shown in the following picture:



Not all loading chunks have same properties and are divided into 4 load types.

Limit
Some game aspects don't always get processed because there may be other conditions for their progress, which includes the following:


 * Idle timeout
 * Each dimension has its own idle timeout. If there are players or forceloaded chunks in the dimension, the timeout is disabled. If the timeout reaches 300 game ticks, the dimension will stop processing certain actions. These include entity processing, ender dragon fight will stop and global entities (lightning and weather). However, the timer gets reset whenever an entity leaves or enters the Overworld. For example, continuously shooting arrows from dispensers in the Overworld through a nether portal causes these events to continue to process, even if no players are in the Overworld. See also Chunk.


 * Chunk tick
 * Only chunks with centers within 128 blocks of a player are ticked on every game tick. See also Tick.


 * Entities
 * Hostile mobs instantly despawn if they spawn more than 128 blocks from any player.
 * This includes zombie pigmen at Nether portals and witches in witch huts.
 * Passive mobs do not spawn naturally outside a 240 block X 240 block area around a player.
 * The passive mob spawn cap is limited by the number of friendly mobs loaded into memory, which means that any passive mobs present in the spawn chunks count towards the mob cap and usually prevents friendly mobs from naturally spawning anywhere else in the world. The only exception is when passive mobs spawn as part of a newly generated chunk.
 * See also Spawn.

Change position
A new world spawn point can be set using. If no coordinates are provided, the block position that the player is currently standing on becomes the spawn point. Then the chunk where the world spawn is located is given a start ticket on level 22, and ticket for old spawn chunks are cleared.

スポーンチャンク 스폰 청크 Chunk spawnu Спаун чанков 出生点区块