Skip to main content

Spawn Chunks

Where do they come from?

Spawn chunks are a consequence of 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 across that session.