Java Edition Far Lands/Infdev 20100327 to Beta 1.7.3

Lоcation
The initial set of Far Lands occurs between 12,550,821 and 12,550,825 on the positive X and Z axes, and always -12,550,825 in negative. Putting the numbers together, a standard Minecraft map in or before Beta 1.8, is around 25,101,642 blocks wide along the X axes and 25,101,650 wide along the Z axes. For comparison, the equatorial circumference of Earth is about 40,075,000 meters.

Structure


Both areas of the Far Lands feature extremely strange terrain, although they are significantly different.

In both zones, any area beneath sea level, excluding regular caves, are flooded with water. The Far Lands generate biomes, but most biomes are indistinguishable except by the color of grass. Desert biomes are covered in sand and snow-covered biomes are covered with snow, excluding the very top of the map due to the height build limit. Trees generate somewhat normally, but can be found only in the upper areas of the map due to the need for grass. However, if the player opens the debug screen, it always claims that the biome is a forest.

Ores can be found up to their respective maximum heights just like in the normal world. Unfortunately, due to the flooding, everything except for coal can be extremely difficult to acquire. In the solid areas of the Far Lands, normal caves still generate but are limited and small. Along with the caves, dungeons (which are extremely rare) and lakes can be found in solid areas. Water and lava springs can be found out in the open and in caves.

Much of the open space in both areas are shrouded in darkness and thus hostile mobs run rampant, making the Far Lands as a whole incredibly dangerous. This is especially problematic in the Corner Far Lands due to its layered structure. The flooded zones have an abundance of squid.

Edge Far Lands
The boundary of the Far Lands' edge (that is, where it meets the regular map) looks like a solid wall, all the way to the top of the map (Y-coordinate 127 in Beta 1.8 and prior) that is filled with gaping holes perpendicular to the edge. These holes are extremely long, perhaps "infinite", and on the whole seem to change very little no matter how deep the player ventures. They can be blocked, either partially or completely, but such blockages are rare and temporary. This "Wall of Swiss cheese" pattern continues beneath ground level, all the way to the bottom of the map, and seems to be partially caused by a large one-dimensional distortion in the map generator's output. This area is sometimes referred to as "The Loop".

The Edge Far Lands' average block composition: 36% stone, 25% air, 23% water, 10% dirt/grass block, 2% bedrock, and 4% others. (Based on a 14×14 chunk selection)

Corner Far Lands
At a corner, when two perpendicular Edge Far Lands sections meet, the Corner Far Lands begin to generate. Unlike the infinite-length holes in the Edge Far Lands, the Corner Far Lands contains more normal terrain. This terrain is "stacked" on top of itself to create a bizarre sandwich with layers of ground and air, which gives it its nickname, "The Stack". Each layer looks like a giant floating continent, hovering over the next layer, which is shadowed.

The majority of the generated world is Corner Far Lands, as the "normal" map (before ±12,550,821 mark) makes only the center of the world, and the Edge Far Lands make only its continued sides.

The number of layers is not always the same and varies between five and seven (fusing together and splitting every so often). Layers can be grouped into three categories: Sometimes, there are extremely tall pillars of gravel that stretch from the ground to the ceiling of a layer. Likewise, some of the beaches that collapse create pillars of sand all the way down to the ground, despite there not being that much sand, to begin with. The Corner Far Lands is also prone to having near-perfect diagonal lines being carved into the ceilings or floors of layers. If traced, these lines all intersect at the corner (X/Z ±12,550,821). This seems similar to how the Edge Far Lands have a consistent pattern along lines perpendicular to their edge, but is much less pronounced.
 * Top layer: This layer exists at the absolute top of the map. Occasionally there can be a lower area that is not shadowed (this is technically a dry layer). The lower area is where a majority of the trees and passive mobs can be found, as the top layer receives almost all of the sunlight. Due to the lack of space, the area at the absolute top cannot have trees or mobs. With mods in other biomes, they are most plentiful on the top as well.
 * The top layer tends to light incorrectly in day-night transitions. This is because the sunlight calculation does not work when the entire chunk is blocked at Y-coordinate 128 in early versions.
 * Dry layers: These generate slightly flatter than normal terrain and have grass, despite the darkness. At sea level, massive floating beaches can be found, which collapse if modified. Hostile mobs' spawn rate likely approaches the maximum due to being in the shadow of the top layer. Rarely, there are holes in the top layer that allow sunlight to reach these layers. Caves that have one of these layers as their "surface" can occasionally be carved out of dirt instead of stone. These layers have cave-like ceilings made out of stone, gravel and dirt.
 * Flooded layers: Like the dry layers, these generate somewhat flat terrain, but it is comprised primarily of stone. Sand and sandstone appear down here, even down to 30 blocks below sea level. Except for coal, all the ores can be found only in these layers.

The Corner Far Lands' average block composition: 40% stone, 16% air, 28% water, 10% dirt/grass, 2% bedrock, and 4% others. (Based on a 14×14 chunk selection)

The Farther Lands
The second set of Far Lands (henceforth named the "Farther Lands", alternatively "Further Lands") generate when X/Z coordinates reach about ±1,004,065,811 (or 623,897.614 miles), which is about 80 times farther than where the first set initiates, at ±12,550,821. The terrain is similar to the first set of Far Lands, but is more stretched out. They also have Edge and Corner types, which are described below.











The Fartherer Lands
Like the Farther Lands, at about ±80 times further from the initiation first set, the third set of Far Lands (furtherer from Far Lands, henceforth named "Fartherer Lands", alternatively "Furtherer Lands") generates once X/Z coordinates reach ±80,325,273,600 blocks away. Fartherer Lands generates past the chunk overwrite limit (X/Z: >±34,359,738,368) and the block rendering limit (X/Z: >±2,147,483,647), thus it is impossible to see Fartherer Lands in game without modifying the noise scale.

The Fartherer Lands, without occlusion from any previous sets of Far Lands, generates a terrain that are stretched out to the extent that they are thinner and flatter (essentially fading out to some extent) than Farther Lands, similar to Far Lands in Bedrock Edition. Due to how Fartherer Lands generates their terrain, the lands are reduced into panels, layers and strips of blocks (which was generating into some extent in Farther Lands, but exacerbated in Farther Lands). Thus, Fartherer Lands are similar structurally, but not identical with Far Lands in Bedrock Edition and Corner Farther Lands.

Unlike Farther Lands and Far Lands, Corner and Edge variations are more or less identical from each other. But once you gain enough distance from Fartherer Lands, they began to disappear from the topmost layer into bedrock layer (and disappears more slowly closer to the boundary of the Edge variations). This is confirmed in the corner variation of the Fartherer Lands. Also, Fartherer Lands appears to be different between +X/+Z, +X/-Z, -X/+Z and -X/-Z coordinates, especially when it comes to the corner variations.

The Farthest Lands
These generate 80 times farther away than the Fartherer Lands, when X/Z coordinates reach ±6,426,021,888,000 and are a result of selector noise overflowing at the 64 bit limit. Like the Fartherer Lands, it is not possible to see The Farthest Lands in game without modifying the noise scale.

While the terrain of The Farthest Lands is unknown to this day, experimental evidence (and taking the fact that the Farthest Lands begin when selector noise overflowed at 64 bit limit) suggests that The Farthest Lands does not generate any terrain but only bedrock and ocean, identical to the nothingness of -X (Negative X) Bedrock Edition Far Lands, thus potentially could mark the end of true terrain generation of the Minecraft world if any of the technical limits are not considered. (This could include two-dimensional, vertical pane-flat terrain that generates before nothingness. These terrain are not confirmed yet whether it belongs to Fartherer Lands or vice versa or it does not belong to both.)

Far Lands (X/Z: ±12,550,821–±1,004,065,920)
Players experience extreme frame-rate drops and very high CPU usage, which continue until Minecraft freezes completely. The frame-rate drops do not occur in multiplayer servers, though the server itself lags depending on the server computer's RAM. In both single-player and multiplayer, the intense lag that is characteristic of the Far Lands is caused by massive numbers of falling sand or gravel entities. This in turn is caused (like most of the rest of the Far Lands' strange effects) by more floating-point precision errors, and worsens as the player reaches X/Z: ±32,000,000 (because after X/Z 32,000,000 blocks, the terrain no longer generates. Only air blocks that have the same textures as the surrounding terrain generate). Lightning bolts that hit surfaces at the top of the map (Y-coordinate 127) are invisible and do not cause a fire. The particles created when rain hits these surfaces are black instead of blue. Snow does not accumulate on these surfaces either (because there is no space) unless a top layer tunnel peeks out.

Indev


In Indev (the release of January 30, 2010), there are many limits that can be experienced when traveling beyond the world limit. If the player teleports to X/Z: 2128 in the version of Indev that pushes the player back within the map, the player is pushed from X/Z: 2128 to X/Z: 2,147,483,648 in about 5 minutes. As the player is pushed back, the sun and moon begin to render back in (Most likely at X/Z: 264) and then the game crashes at the 32-bit Integer Limit.
 * X/Z ±2,111, Blocks stop rendering.
 * X/Z ±2,560. The sky stops rendering.
 * Every power of 2 that the player goes, the hitbox of the block that the player is facing becomes more and more distorted. At X/Z ±8,388,608, the player falls through the blocks.
 * The hitbox becomes increasingly more corrupted and distorted until it disappears entirely at X/Z ±2,147,483,648.
 * The farthest distance the player can travel using this method is X/Z: 10128, though the player can go further.

Infdev


On the February 27, 2010, version of Infdev, many side effects would occur as the player walked thousands or even millions of blocks away.
 * X/Z ±512 - 1,024: Skybox stops rendering. Clouds stop rendering.
 * X/Z ±2,048: Hitbox begins to subtly lose its shape.
 * X/Z: ±4,096: Footstep sounds play even if the player is not walking.
 * X/Z ±131,072: Chunks begin to shake. This effect doubles for every power of two that the player walked away from the spawn point.
 * X/Z: ±2,097,152: World stops rendering completely at certain angles.
 * X/Z ±16,777,216: Blocks are no longer solid; the player falls and hit a layer of lava.
 * X/Z ±33,554,432: The Far Lands start to generate. They look very different from the normal Far Lands as they are just a giant wall of stone blocks that go from sea level to the height limit.
 * X/Z ±2,147,483,647: Terrain disappears completely. Beyond here, the game crashes.

On the March 27, 2010 version of Infdev, terrain generation changed and the Far Lands began generating at X/Z ±12,550,820. The original shape of the Far Lands was different from Beta 1.7.3, and changed many times as the terrain generator changed. In this version, the Far Lands were more smooth and thick and had less rough edges. However, as the terrain became less thick over time, the Far Lands became more thin and sharp. Though the Far Lands existed in these versions, many of the side effects from before did not appear. However, fire particles and doors would act strangely. There was no stuttering movement, and beyond X/Z ±32,000,000, the blocks would simply not generate. Walking off the edge would cause the player to become stuck in a glitched position, unable to escape.





It has been confirmed that in Alpha v1.1.2, the blocks would not render beyond X/Z ±32,000,000, like older Infdev versions. The fake chunks started appearing in Alpha v.1.2.0

In previous versions of the game, if the player teleported as high as they possibly could, they were sent to a Y-Axis of 3.4x1038. In this zone, the player floats without a purpose, and dropped items that slide with what appears to be no friction before suddenly stop after about 20 blocks. It has been reported that the X and Z-Axis sometimes flicker randomly in this zone. The memory pie chart also sometimes randomly jumps to 100% undefined memory usage, and then disappears upon re-entering the debug menu.

Dimensions
The Far Lands of the Nether and Sky Dimension share characteristics of the Overworld Far Lands, although with some differences.

The Nether


The Nether Far Lands are similar to the Overworld Far Lands, except generated with Nether terrain features, with a lava ocean at Y=31.

In the Nether, the terrible lag associated with the Overworld Far Lands does not occur; most of the Nether is already dark enough for spawns in the first place, and there are fewer gravity-affected blocks (no sand, and gravel is rare).

If a nether portal is created in the Far Lands of the Overworld, entering causes a teleportation to normal Nether, as X/Z 32,000,000, the limit at which block physics and lighting cease to function, divided by 8 (as 1 block in the nether corresponds to 8 blocks in the Overworld), is X/Z 4,000,000, within the limits of X/Z 12,550,820, where the distortion starts. Conversely, a nether portal built in the Nether Far Lands does not function, as even at the limit of 12,550,820 blocks at the beginning of the Far Lands, it would cause the player to come out at X/Z 100,406,560, far past X/Z 32,000,000. If a portal is entered beyond X/Z 4,000,000 in the Nether, it causes the game to crash. Entering a portal at exactly X/Z: 4,000,000 in the Nether teleports the player around 8-16 blocks from the 32,000,000 limit.

The Far Lands do not generate above the bedrock ceiling, even if the Far Lands are modded into a more recent version.

The Nether can be a great way to reach the Far Lands in the Overworld, as every block in the Nether counts as 8 blocks in the Overworld. The player must travel to 1,568,853 or higher to spawn in the Far Lands. Teleporting just a few blocks less allows the player to see the beginning of the Far Lands.

Sky Dimension
The Sky Dimension similarly has no trademark liquid and generates no water/lava, and also no bedrock generates. They appear squashed similarly to those of the End.

The Sky Dimension Far Lands appears just like the End Far Lands, but with Overworld features.

This is also the area where the player is most likely to find diamonds. In any other area, the islands do not spawn low enough for diamonds to spawn. The Sky Dimension Far Lands do spawn all the way to Y: 0, so the player can find rare ores inside the Far Lands.

Cause
The terrain is generated based on 16 octaves of Perlin noise. Each noise generator takes floating-point inputs and uses those to interpolate between noise values at whole numbers. It does so by:


 * 1) Casting to a 32-bit integer, where Java rounds toward zero and handles overflow by picking the closest representable value;
 * 2) Subtracting one if the integer is greater than the original input, to always round down;
 * 3) Subtracting that integer from the original input to get a remainder in the interval [0, 1) suitable for interpolation.

It covers an interval of [−231, 231) without causing any problems. The problem is that many of the octaves cover a scale much smaller than a block, with up to 171.103 noise units per block. Indeed, 231 ≈ 171.103×12,550,824.053. Thus, the effects of the Far Lands start 12,550,824 blocks away from the center of the Minecraft world. Once this value is exceeded, the integer is always 231−1, picking the same noise values on that axis every time. This is the reason for the long unchanging tunnels in the Edge Far Lands, and plains in the Corner Far Lands.

The Farther Lands are caused by an overflow in "selector noise", as opposed to the low and high noise that cause the initial set of Far Lands to generate; while selector noise does repeat more often than low and high noise, only half as many octaves are used, causing them to overflow much further out.

At the positive end, the remainder starts out relatively small but usually much larger than 1, and grows by 171.103 per block. At the negative end, the remainder starts at −232. This value is then adjusted by ((6x−15)x+10)x3 or in this case, ((6(12,550,824.053)−15)(12,550,824.053)+10)(12,550,824.053)3 ≈ 1.8685826 × 1036 for quintic interpolation. Even one block in at the positive end, this is already around 1011. The negative end starts all the way around −1049. For the Corner Far Lands, multiply the values of both edges. When interpolation (really extrapolation) is attempted with values as large as these, it produces similarly large output. That output completely dwarfs all other terms that would normally give the terrain its shape, instead effectively passing only the sign of this one noise function through.

It was fixed by taking the remainder of the input divided by 224. Noise repeats every 28 units anyway, so it has no side effects. However, it does prevent the overflow. By removing these instructions, the Far Lands can be returned to current versions of the game.

There are several other factors to the cause of the Far Lands, making things slightly more complicated:


 * Noise is sampled only every four blocks and linearly interpolated in between. This is why when 12,550,824 is affected by the bug, it reaches out three more blocks to 12,550,821.
 * Each noise generator picks a random offset in [0, 256) to add to its input. This usually moves the boundary under 12,550,824, starting the Far Lands at 12,550,821. With a few seeds, it might not, putting the start at 12,550,825. Very rarely, if the boundary is just barely within 12,550,824, the first couple blocks of the Far Lands might look somewhat normal. The southern and eastern Far Lands do this independently of one another. At the negative end, the Far Lands always start at block coordinate −12,550,825, with the positive edge of those blocks at −12,550,824.
 * There are actually two sets of noise generators, which are blended together based on another noise generator. This is responsible for relatively smooth alternation between two sets of tunnels or plains. Occasionally, one of the noise generators starts generating the Far Lands before the other because it uses a different offset, producing an incongruous boundary.

Trivia

 * There is a chance of walking into a "bad chunk" that has such corrupt and unreadable data that it causes huge lag spikes and possibly crash the game.
 * When at the Far Lands, fences either have a thin wall collision box on one side or no collision with mobs or the player.
 * Even though Beta 1.6 made it impossible to place solid blocks at layer 128, the Far Lands' flat "ceiling" still gets generated there.
 * Because of the debates over renaming endermen to "Far Landers", Notch jokingly suggested to rename the Far Lands to The End instead. This then became the name for the dimension where the ender dragon resides.
 * One of the random splashes reads: "Check out the far lands!". Ironically, the splash was added to the game after the Far Lands were fixed.
 * In the fourth episode of Minecraft: Story Mode, Jesse and his/her group visit the Far Lands, in which a secret lab is located. The character Ivor describes the Far Lands as "a happy accident", and "nature's way of keeping life interesting". The bizarre terrain is featured and observed by the characters, although understandably, the glitches associated with it aren't present.