Hello all,
Allow me to describe my situation. I have recently done a clean install of the latest Minecraft, v. 1.6.2. I would like to make a simple modification to the Minecraft Files so that lava would behave like water, in that it is self replicating when two lava source blocks are placed diagonally from one another like water.
Now, let me describe as best I can the process I have used so far.
* Created a file on my Desktop named "Minecraft 1.6.2 Modding Files"
* Installed the Java JDK "jdk-7u25-windows-x64" and placed it in the above folder
* Installed Forge 9.10.0 Minecraft 1.6.2 and placed it in the same folder
* Installed MCP per the Install command in the forge folder
* Installed latest version of Eclipse
* Opened Eclipse and set workspace to: "C:\Users\Me\Desktop\Minecraft 1.6.2 Modding Files\forge\mcp\eclipse
* Navigated to and opened file "BlockFlowing.java" by following the path: "Minecraft > Source > net.minecraft.block > BlockFlowing.java"
* Went to the line of code (93-103, if unaltered):
* Did a control copy and pasted it on the line below the closing brace.
* Replaced where it says " == Material.water" with " == Materal.lava"
* Saved the file
* Ran the program in Eclipse
* Was able to make the game work as I wanted. I could dig a 2x2x1 hole, file in two opposite corners with lava, and then the two empty corners converted to lava source blocks.
* Exited out of Eclipse
============
This is where I'm having trouble. The next steps I took were:
* Open up the MCP folder under the Forge files
* Ran the Decompile .BAT file
* Ran the Recompile .BAT file
* Ran the reobfuscate .BAT file
* Opened up the reobf and minecraft folders under "forge > mcp > reobf > minecraft
* In this folder was a single file, named "apa.class"
* In a new explorer window I navigated to C:\Users\Me\AppData\Roaming\.minecraft
* From there I opened up the 1.6.2 Jar file under "versions > 1.6.2" using 7-zip
* I deleted the current apa.class file and copied the new apa.class file from the forge folder
* I deleted the META-INF folder from 7-zip
* Closed the Jar file and opened up the new minecraft launcher
* Created new creative world, but lava behaved prior to my changes, i.e. did not generate new source blocks.
=========
I have to doubt that there is something wrong with the code, since it worked as expected in Eclipse. I think the problem lies in somehow getting the file reobfuscated and over to Minecraft proper. Any ideas would be greatly appreciated.
Thanks,
Pug