← All interactive demos

Preparing Only Nearby Chunks

Our own small model. Not the original game's screen, speed or load range.

Yellow frame: preparing. Red dot: the chunk under you is not ready yet. Preparing takes 6 ticks. The starting area is already prepared, and several chunks are prepared at the same time.


Leave and come back

Not tried yet.

Saving happens only inside this page. Reloading resets it. The number of chunks is not memory size or FPS.

Sources and limits of the model

The official Microsoft Learn guide explains chunks and render / simulation distance. The square range, waiting times and ground colours in this demo are our own assumptions. The world is 100 × 100 chunks; height, bandwidth limits and the real game's processing are left out.

About this model

This is our own model, used in the video "How does Minecraft load only nearby chunks?" on the YouTube channel "How Games Are Made" (ゲームのつくり方の歴史). AI was used to make the diagrams and code, and the facts were checked against sources by the creator. No game footage or official assets are used.

What this model shows

The big world is split into chunks. Only the chunks near you are prepared, and chunks far away are let go. A yellow frame is a chunk being prepared; a red dot means the chunk under you is not ready yet.

How to try it

Set "Chunks around you" to 0 (only under you) and "Move every" to 1 tick (fast). Preparing takes 6 ticks, so the ground under you cannot keep up and a red dot appears. Widen the range to 1 or 2, and you walk on chunks that were prepared ahead of time. Then use "Leave and come back": place a marker, leave, and return. With "Save changes to the marker" off, the marker in the chunk that was let go is gone. With it on, changes are saved before the chunk is let go, so the marker is still there when you return.

Key idea

Instead of handling the whole world at once, prepare only nearby chunks in turn, and save far chunks before letting them go. That is how a huge world fits in limited memory. The square range and waiting times are assumptions of this model, not the original game's speed or load range.