Step 1 -Starting-
Open up World.java and search for:
public final int field_35473_a = 7;
public final int field_35471_b = 11;
public final int field_35472_c = 128;
public final int field_35469_d = 127;
public final int field_35470_e = 63;
and replace it with:
public int Shift7 = 7;
public int Shift11 = 11;
public int WorldHeight = 128;
public int WorldHeightD = 128;
public float WorldHeightF = 128F;
public int BiomeGenHeight = 128 - 1;
public int WaterHeight = 63;
public int CavesOver = 128;
public int Ravine = 128;
public int BigShroom = 128;
public int Forest = 128;
public int Swamp = 128;
public int Taiga1 = 128;
public int Taiga2 = 128;
public int TallGrass = 128;
public int Trees = 128;
public int dirtGenH = 128;
public int gravelGenH = 128;
public int coalGenH = 128;
public int ironGenH = 128;
public int goldGenH = 128;
public int redstoneGenH = 128;
public int diamondGenH = 128;
//------------------------------------------------
public int WorldHeightHell = 128;
public int CavesHell = 128;
public int BiomeGenHeightHell = 127;
public int Shift7Hell = 7;
public int Shift11Hell = 11;
Step 2 -Replacing the Values-
-----Long Part-----
Open up ZFileSearcher
Type .getClass(); and it will come up with lots of results
You then have to go through each file and change the values under it corresponding to what you put in World.java
For Example:
world.getClass();
int l6 = chunk.blocks[k4 << 11 | k5 << 7 | j6] & 0xff;
That would change to:
world.getClass();
int l6 = chunk.blocks[k4 << Shift11 | k5 << Shift7 | j6] & 0xff;
Note: It will not always be "world.getClass();" it may be something like "worldObj.getClass();"
Step 3 -Changing the Height-
Once you have ALL the values correctly replaced you can change the height by:
- Increasing Shift7 and Shift11 by one for ever 128 you add to 128
- Multiplying by intervals 128
- Changing all values of 128 to the same thing
- Changing the Water Height(Optional in most cases)
Step 4 -Compile and Reob.-
Go back to where the decompile.bat was located and run in this order:
recompile.bat (Wait for it to finish. There should be no errors.)
reobfuscate.bat (Wait for it to finish.)
Go to "/reobf/minecraft" and copy all of those files to your FRESH/NEW(So you don't mess up current mods) minecraft.jar
THIS TAKES TIME and CAN mess with other mods...BACKUP YOU BIN FOLDER You have been warned.
Things you will need:
Minecraft Coder Pack
File Searcher
A fresh Minecraft 1.8 .jar
Notepad++(Optional)
Note: No programs used are made by me.
Getting Set Up:
Step 1 -
Copy your minecraft bin folder into the MCP(Minecraft Coder Pack) Jar folder
Then running the decompile.bat
Step 2 -
Copy the FileSearcher into "src\minecraft\net\minecraft\src"
--------------------------------------------------------------------------------------------------------
Changing the Max Height:
Step 1 -Starting-
Open up World.java and search for:
public final int field_35473_a = 7;
public final int field_35471_b = 11;
public final int field_35472_c = 128;
public final int field_35469_d = 127;
public final int field_35470_e = 63;
and replace it with:
public int Shift7 = 7;
public int Shift11 = 11;
public int WorldHeight = 128;
public int WorldHeightD = 128;
public float WorldHeightF = 128F;
public int BiomeGenHeight = 128 - 1;
public int WaterHeight = 63;
public int CavesOver = 128;
public int Ravine = 128;
public int BigShroom = 128;
public int Forest = 128;
public int Swamp = 128;
public int Taiga1 = 128;
public int Taiga2 = 128;
public int TallGrass = 128;
public int Trees = 128;
public int dirtGenH = 128;
public int gravelGenH = 128;
public int coalGenH = 128;
public int ironGenH = 128;
public int goldGenH = 128;
public int redstoneGenH = 128;
public int diamondGenH = 128;
//------------------------------------------------
public int WorldHeightHell = 128;
public int CavesHell = 128;
public int BiomeGenHeightHell = 127;
public int Shift7Hell = 7;
public int Shift11Hell = 11;
Step 2 -Replacing the Values-
-----Long Part-----
Open up ZFileSearcher
Type .getClass(); and it will come up with lots of results
You then have to go through each file and change the values under it corresponding to what you put in World.java
For Example:
world.getClass();
int l6 = chunk.blocks[k4 << 11 | k5 << 7 | j6] & 0xff;
That would change to:
world.getClass();
int l6 = chunk.blocks[k4 << Shift11 | k5 << Shift7 | j6] & 0xff;
Note: It will not always be "world.getClass();" it may be something like "worldObj.getClass();"
Step 3 -Changing the Height-
Once you have ALL the values correctly replaced you can change the height by:
- Increasing Shift7 and Shift11 by one for ever 128 you add to 128
- Multiplying by intervals 128
- Changing all values of 128 to the same thing
- Changing the Water Height(Optional in most cases)
Step 4 -Compile and Reob.-
Go back to where the decompile.bat was located and run in this order:
recompile.bat (Wait for it to finish. There should be no errors.)
reobfuscate.bat (Wait for it to finish.)
Go to "/reobf/minecraft" and copy all of those files to your FRESH/NEW(So you don't mess up current mods) minecraft.jar
DONE!!!!
Feel free to post any questions.
I would have to make a separate tutorial for it. I will make one tomorrow if I don't have a ton of work.