Tuesday, October 26, 2021
Farlands Glitch!
 
Notifications
Clear all

[Solved] Farlands Glitch!


Cenastor
(@cenastor)
Eminent Member Admin Beta User
Joined: 7 months ago
Posts: 29
Topic starter  

What are the Far Lands in Minecraft?

The Far Lands consist of a glitch that breaks the typical world generation that occurred ever since Minecraft first introduced infinite world generation. This occurs at exactly 12,550,824 blocks away from the center of the map. In the original version of Minecraft, all the way up until Beta 1.7.3, a simple bug existed within Minecraft that allowed this kind of terrain to spawn.

When Minecraft generates its terrain, it’s generated using multiple octaves of what is known as ‘3D Perlin Noise’. This is a little hard to understand, but if you were to look at a Minecraft map from above, you can notice how the different elevations sometimes are based on colors. Some are higher than others.

So, why does the Far Lands generate at the random, seemingly arbitrary number of 12 million? It has to do with how precise that noise map itself is. For the noise map math, rather than each pixel or unit representing one Minecraft block, every 171.103 units represent one block. The reason for this is unknown. (to me, lol) This noise unit number increases by 171.103 per Minecraft block. It fails to make sense once it hits the 32-bit integer limit (a limitation of the software) of 2.147 billion.

3d perlin noise

If you take that 32-bit integer limit and divide it by the unit per block, 171.103 you are left with the point where Minecraft falls apart: 12,550,824.053. It is possible for the Far Lands to generate within 3 blocks of this limit due to how numbers are rounded off in the equation, but generally this is how it works. After 32 million blocks, (well into the Far Lands) blocks stop being solid, and you just fall through them to your death. This is actually a Java limitation, which is a likely reason as to why the current world border is set to 30 million.

That is a simple explanation of how the Far Lands happened. Eventually, instructions were added to the terrain generation math that prevented the numbers from overflowing.

Website | Twitch | Twitter | Instagram | YouTube


Cenastor
(@cenastor)
Eminent Member Admin Beta User
Joined: 7 months ago
Posts: 29
Topic starter  

This issue still exists in bedrock version but I believe was fixed in Java.

Please try to avoid going this far out I'm not sure the issues it may cause for the server. 

Website | Twitch | Twitter | Instagram | YouTube


Share: