Hello, I am trying to change the farlands position on beta 1.7 but I am trying to find the .java file but it is in aa-zz so It has all those letters on all the files
Is it possible to edit the coord scale in the file and change the value to make the farlands generate close to spawn.
The Farlands aren't an intended feature of Minecraft, they are a result of the worldgen algorithms breaking down at very large values. To have them spawn closer, you'd have to change how the worldgen works...which even in 1.16 generally means mods.
In order to mod the game you need a proper decompiler/deobfuscator, such as Mod Coder Pack, which will translate all the files to human-readable source code with meaningful names. In 1.6.4 the class with the coordinate scales is "ChunkProviderGenerate", though this is a name that was chosen by MCP since the original source code names are unknown, and these names can be different for different versions. However, you can find the coordinate scale by searching for the value "684.412" (which is known to not have changed; the only real difference between Beta 1.7.3 and newer versions is that biomes can now control height variations). Note that changing this value will also change normal terrain, much like the options in 1.8's Customized world type (1368.824 will make the Far Lands start at half the distance but terrain itself will also be compressed so the distance between peaks and valleys will be halved):
/**
* generates a subset of the level's terrain data. Takes 7 arguments: the [empty] noise array, the position,
* and the size.
*/
private double[] initializeNoiseField(double[] par1ArrayOfDouble, int par2, int par3, int par4, int par5, int par6, int par7)
{
// Far Lands start distance = 2147483647 / 684.412 * 4 = 12550824
double var44 = 684.412D;
double var45 = 684.412D;
You could avoid this by adding a value to the coordinates passed into the noise functions (as chunk coordinates; 784426, or 12550824 / 16, will make the Far Lands start near 0,0, with negative coordinates being normal until around -25101648; this method can't make them closer in both directions unless you add some additional code to check if the chunk coordinates are positive or negative and add the appropriate +/- offset):
/**
* Will return back a chunk, if it doesn't exist and its not a MP client it will generates all the blocks
* for the specified chunk from the map seed and chunk seed
*/
public Chunk provideChunk(int par1, int par2)
{
this.rand.setSeed((long)par1 * 341873128712L + (long)par2 * 132897987541L);
byte[] var3 = new byte[32768];
// This will make the Far Lands start near 0,0 in the positive directions
int d = 12550824 / 16;
this.generateTerrain(par1 + d, par2 + d, var3);
// This will make the Far Lands start near +/- 512; adjust offset of -512 as desired
int d = (12550824 - 512) / 16;
this.generateTerrain(par1 + (par1 < 0 ? -d : d), par2 + (par2 < 0 ? -d : d), var3);
Also, you can use MCEdit to copy and paste the Far Lands to a different location without having to mod the game, as I did myself when I modded 1.6.4 to remove the bugfix (the world download still works, it is mostly ocean with some Mushroom Island), which will eliminate many of the issues that cause lag in Beta 1.7.3, such as sand and gravel not falling properly, as well as the jittery rendering (these issues are due to the use of 32 bit floats instead of 64 bit, as later versions use).
Note also that if you directly modify the jar the launcher will redownload a new jar, replacing it, since it will detect that it is corrupted (all code/asset files have their checksums checked on every launch; 99% of the time when somebody reinstalls the game to fix an issue the cause was actually a bad data file such as options.txt, resource/data packs, or world saves). You'll need to make a copy of the version by copying its folder in .minecraft\versions, then rename it and the two files inside to the same name, then open the json file and change the "id": inside to the same name and delete the entire "downloads" section that includes "client.jar" (both sections are shown here, only the last line, with a different version name, should remain with anything not included here left alone). You could also just run it within MCP if it is just a personal mod.
Hello, I am trying to change the farlands position on beta 1.7 but I am trying to find the .java file but it is in aa-zz so It has all those letters on all the files
Is it possible to edit the coord scale in the file and change the value to make the farlands generate close to spawn.
The Farlands aren't an intended feature of Minecraft, they are a result of the worldgen algorithms breaking down at very large values. To have them spawn closer, you'd have to change how the worldgen works...which even in 1.16 generally means mods.
In order to mod the game you need a proper decompiler/deobfuscator, such as Mod Coder Pack, which will translate all the files to human-readable source code with meaningful names. In 1.6.4 the class with the coordinate scales is "ChunkProviderGenerate", though this is a name that was chosen by MCP since the original source code names are unknown, and these names can be different for different versions. However, you can find the coordinate scale by searching for the value "684.412" (which is known to not have changed; the only real difference between Beta 1.7.3 and newer versions is that biomes can now control height variations). Note that changing this value will also change normal terrain, much like the options in 1.8's Customized world type (1368.824 will make the Far Lands start at half the distance but terrain itself will also be compressed so the distance between peaks and valleys will be halved):
You could avoid this by adding a value to the coordinates passed into the noise functions (as chunk coordinates; 784426, or 12550824 / 16, will make the Far Lands start near 0,0, with negative coordinates being normal until around -25101648; this method can't make them closer in both directions unless you add some additional code to check if the chunk coordinates are positive or negative and add the appropriate +/- offset):
Also, you can use MCEdit to copy and paste the Far Lands to a different location without having to mod the game, as I did myself when I modded 1.6.4 to remove the bugfix (the world download still works, it is mostly ocean with some Mushroom Island), which will eliminate many of the issues that cause lag in Beta 1.7.3, such as sand and gravel not falling properly, as well as the jittery rendering (these issues are due to the use of 32 bit floats instead of 64 bit, as later versions use).
Note also that if you directly modify the jar the launcher will redownload a new jar, replacing it, since it will detect that it is corrupted (all code/asset files have their checksums checked on every launch; 99% of the time when somebody reinstalls the game to fix an issue the cause was actually a bad data file such as options.txt, resource/data packs, or world saves). You'll need to make a copy of the version by copying its folder in .minecraft\versions, then rename it and the two files inside to the same name, then open the json file and change the "id": inside to the same name and delete the entire "downloads" section that includes "client.jar" (both sections are shown here, only the last line, with a different version name, should remain with anything not included here left alone). You could also just run it within MCP if it is just a personal mod.
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?