Getting started?
-
-
Thanks. Another clueless question, I'm not using eclipse, so where must I save the mod file and what must it be titled?
-
Thanks. Another clueless question, I'm not using eclipse, so where must I save the mod file and what must it be titled?
Since pretty much every tutorial out there is for Eclipse, I highly recommend its use
-
Alright, cool. Only problem is that eclipse spits out 100+ errors in the client files?
-
Not sure what to do, 1189 errors, 7 warnings, minecraft won't even boot when I try to run it through eclipse.
-
Is anyone else having the same problem?
-
How are you decompiling Minecraft and setting up Eclipse?
-
How are you decompiling Minecraft and setting up Eclipse?
First I take a clean Minecraft .jar and install the newest versions of IC2 and Forge. Game works fine. I copy the bin and lib files into jar and lib, respectively. I decompile with a few errors that seemed commonplace (someone else got the same thing earlier in the thread), but when I choose the eclipse folder as my workspace, it gets like 1000+ errors with the code.
-
You have to copy the ic2/common directory from mcp/src/minecraft into mcp/src/common/ic2 of a mcp-forge folder. Take the API from the zip to complete the sources.
So you need a 2. mcp folder + forge-src and the run mcp/forge/install.cmd to become a mcp decompilation including forge sources.
If you do right, you will have 66 or 67 errors, but they will fast fixed.
-
You have to copy the ic2/common directory from mcp/src/minecraft into mcp/src/common/ic2 of a mcp-forge folder. Take the API from the zip to complete the sources.
So you need a 2. mcp folder + forge-src and the run mcp/forge/install.cmd to become a mcp decompilation including forge sources.
If you do right, you will have 66 or 67 errors, but they will fast fixed.
I'm sorry, what?
I couldn't understand that. At all.
-
So in the right order.
1. of all you need MCP 7.2, Industrialcraft 1.107 open beta (Mod and API), Minecraft Forge 4.2.5.303 or higher (src and universal).
2. make 2 directories. One for MCP vanilla and one for MCP forge. Extract MCP 7.2 to both directories and then copy the ./minecraft/bin directory plus minecraft_server.jar to the jar directory of both MCP directories.
3. copy and extract minecraftforge-src-4.2.5.303+.zip in the MCP forge directory. After that go to the forge directory and start the install.cmd. You will now have your eclipse environment to work on a Modloader or Forge Mod.
4. open the minecraft.jar (with winrar) in the MCP vanilla folder and add all files from industrialcraft and minecraftforge-universal-4.2.5.303+.zip. Delete the 3 xxIntegration folder in the ic2 directory of minecraft.jar
5. copy the files from MCP forge/lib to MCP vanilla/lib
6. start (in MCP vanilla) updatemcp.bat and after that decompile.bat
7. copy (from the MCP vanilla folder) src/minecraft/ic2/* to src/common/ (of the MCP forge folder) and replace the API folder with the one you downloaded.
8. Start eclipse and use the eclipse folder of the MCP forge directory.
9. correct the sources so you can compile and run (the armor and ic2/sound + ic2/sprites folders go to the \eclipse\Minecraft\bin folder to make it useable while you compile and run from eclipse)
10. learn java so you will understand and can make logic conclusions
-
Error with retroguard on your step 6 while decompiling vanilla folder ic2:
Code== MCP 7.2 (data: 7.2, client: 1.3.2, server: 1.3.2) ==# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config> Creating Retroguard config files!! Modified jar detected. Unpredictable results !!== Decompiling client using fernflower ==> Creating SRGs> Applying Retroguard'"C:\Program Files\Java\jdk1.7.0_06\bin\java" -cp "runtime\bin\retroguard.jar;lib;lib\*;jars\bin\mine...' failed : 1 == ERRORS FOUND == Unrecoverable error during obfuscation, see log file for details.RetroGuard error: COM.rl.obf.classfile.ClassFileException: ClassNotFound net/minecraftforge/common/ISidedInventory================== Decompile failedPress any key to continue . . .