Spawn Chunks

Where do they come from?

Spawn chunks are a consequence of 

void Player::updateSpawnChunkView();

 

which is called by these functions to move the spawn chunk view region to where you last set your spawn.

void Player::setBedRespawnPosition(BlockPos const& bedPosition);
void Player::setRespawnPosition(BlockPos const& inRespawnPosition, DimensionType dimension);
bool Player::setSpawnBlockRespawnPosition(BlockPos const& spawnBlockPosition, DimensionType dimension);

spawnchunksvisualisation.png

(Visualization by @kiwixite on discord)

These chunks will become unprocessed on server/world shutdown until loaded again. After which they will stay persistent across that session.


Revision #6
Created 2025-09-14 17:17:35 UTC by Nytreon
Updated 2026-10-13 19:33:58 UTC by Nytreon