Chunk

From Cosmic Reach Wiki
Jump to navigation Jump to search

A chunk is piece of the world. Chunks are used to segment the world into managable pieces.

Chunk System

Since the world on Cosmic Reach is infinite, it becomes technically unfesable to load all of its blocks and keep track on their states at the same time. With chunks, the world can be divided into smaller pieces, and those can be loaded and unloaded on demand, depending on the player's position and Render Distance setting.

Each chunk is responsible of tracking all the blocks states inside it, as well as players interaction such as placing and breaking blocks. There is no known limit of horizontal and vertical chunks.

History

Pre-Alpha
0.0.1

Added chunks.

0.1.29

Now the chunks have no vertical limit, making infinite depth and height possible.

Trivia

  • Players cannot place blocks outside chunks.