Chunk

Chunks are the method used by Notch to divide "infinite" maps in the alpha and beta releases. They are 16 blocks wide, 16 blocks long, and 128 blocks deep, which is 32,768 blocks total. When wandering the world the nearest 81 chunks are loaded, arranged in a 9 by 9 grid around the player. These chunks may have activity (mobs spawning, trees growing, water flowing, dropped items disappearing etc.), while the other world chunks are inactive, stored on your hard drive. If a player goes to an area that is beyond the already generated chunks, new chunks are generated and stored to the drive. As of the December 20th update, SMP servers tend to save chunks less often. Chunks will not save again if they were saved in the last 30 seconds.

Creation of Chunks
Chunks are created with the help of the Map-Seed, which means that the chunks are always the same if you would use the same Seed again.

Finding Chunk Edges
If one is in a biome that does not have a snow covered land with a long view, it can seem difficult to find the borders of chunks. However, a player can press the "F3" button and open up the Debug screen that shows the plays X, Y, and Z coordinates. If a player's X or Z coordinates (rounded up to the next number)are divisible by 16, then it is the edge of the chunk. EG: A player is standing at the coordinates 95.67888 Z and 31.5666 Z.  Rounded up, they are at (96, 32). 96 is cleanly divisible by 16 (96/16 = 6), as is 32 (32/16 = 2). That means the player is standing at a corner of that chunk, but also 3 others.

Chunk error
A chunk error (also known as a missing chunk, world hole, or lag pit) is a common error found most often in multiplayer mode, or more rarely in single player. They are only client side, meaning that other users cannot see the chunk error unless under some very rare circumstances. Reconnecting to the server or reloading the map usually fixes chunk errors. Players can jump or fall into an errored chunk, since some players have reported falling and some have reported warping similar to arrows. Due to the nature of chunk errors, any fluids on the border of the chunk error will look as if they are flowing downwards. On non-modded servers the teleport command can be used to escape such a glitch. Items dropped on an errored chunk WILL fall and cannot be retrieved, however. Also, non-solid blocks can't flow into one. Blocks that are in a chunk error can reappear if you place a block in a chunk error (it gets overwritten, so the block you place gets turned into what was there) or blow it up with TNT.

Players are able to walk into a chunk error,but will only glitch out*1. They are able to ride through them in a boat or minecart - provided there are pre-existing rails. While the track will remain invisible to you, your cart will follow it. If your destination happens to be in a errored chunk, simply re-connect to the server or reload the map*2 upon arrival to avoid falling into the errored chunk and losing your minecart.


 * 1 This may solve the chunk error in some cases, but this is not guaranteed.


 * 2 One way to do this is to force a block update by placing a block or an item, such as a torch. This may solve the chunk error, though it is not guaranteed.

Usage of chunk errors
Errored chunks can occasionally include mountains, in which the mountain is generally cut right down one or more sides. This is useful for finding caves and precious minerals. You should mark the surface in a memorable fashion above any interesting looking veins, caverns or dungeons before re-loading the map.

If you have a buddy on a multiplayer server with a chunk error, they are useful for guiding you from along the sides of a chunk error as they can see where you are digging. This means that your friends can point you to resources they cannot reach because of the chunk error.