Hey I'm just messing around with mcp and trying to use the ic2 api. Is there a way to add ic2 to my dev build? I've tried putting it in the mcp/jars/mods folder though it crashes, and nei seems to crash as well so I'm thinking it isn't a bug in the mod but how i'm adding it to my dev build. Anyone have advice?
How to test with ic2
-
-
only way to do that is to make a new mcp folder, decompile with ic2 following the instructions on gregs profile page, and copy your srcs into the new mcp folder
-
only way to do that is to make a new mcp folder, decompile with ic2 following the instructions on gregs profile page, and copy your srcs into the new mcp folder
thanks, better than nothing -
I'm having trouble following greg's instructions. It always gives me this error: "ERROR: duplicate entry: net/minecraft/client/gui/achievement/GuiAchievements.class" and I don't know what I should do to fix it.
-
-
You can use immibis' BON to deobfuscate the mod, then it will work correctly inside your mods folder in your eclipse environment (or you can add the deobfuscated jar to your classpath and get the same result).
In my development environment, I added the API to my build path, and added the deobfuscated jar to my classpath in my run configuration. It lets you skip the decompilation step thus less probability of error.
-
You can use immibis' BON to deobfuscate the mod, then it will work correctly inside your mods folder in your eclipse environment (or you can add the deobfuscated jar to your classpath and get the same result).
In my development environment, I added the API to my build path, and added the deobfuscated jar to my classpath in my run configuration. It lets you skip the decompilation step thus less probability of error.
Did you try that out? I tried exactly this and it refused to compile for me when placed in the mods folder in a 1.4.7 MCP environment. -
If it failed in your mods folder, try adding the deobfuscated .jar to your classpath in your ecplise run configuration instead.
Also, thinking about this, it may have failed because the META-INF folder inside ic2.jar was not removed. If I remember correctly, the first time I tried it I didn't delete that folder and it crashed on startup.
-
BON however does not let you run it in eclipse if you decompile it.