Jump to content

pugnation05

Members
  • Posts

    4
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

pugnation05's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Tekner, thank you for your detailed response. As soon as I have the time, I will definitely research reflection. Hopefully, someday I can be as code savvy as you seem to be!
  2. I do apologize. I know the forum said this was not a Java tutorial, so I'm trying to do the best I can. I guess I will continue to look at it on weekends when I have time and will try to see if I deviated from my original steps any. But I do greatly appreciate you taking the time to see if you could find my error. That's incredibly nice of you!
  3. Chibill: I have no idea what that means, but if it's something you want to do, then I'd be super appreciative! GotoLink: Per your advice, I uninstalled MCP from the forge folder, reinstalled, redid the code, and did the same thing I did in the OP, except I did not decompile first. I only ran recompile and reobfuscate. It still didn't work. *Note* I did notice that I am getting the "No Scala path" error. I'm not exactly sure what that means.
  4. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.