Vswe's Summer Courses | You're not logged in. Sign up or log in | Server time: | Donate
One can now see other persons' badge hunts. Simply head over to their profiles to access them.

Go back to course page

Forging a Minecraft mod

Basic Minecraft modding with Minecraft Forge

How do I decompile any mod?

  • 2013-08-10 10:01:44
    I have ran into a bit of a problem where i have reobfuscated my mod as well as cleaned up my mcp workspace in order to decompile open source mods, yet i have no idea where i put these mods in my mcp workspace in order to decompile them. Now I'm stuck with my mod .zip file.
  • 2013-08-10 11:19:38
    I'm not sure what you're talking about. If the mod is open source you don't have to decompile it to get its source.
  • 2013-08-10 17:06:32
    The open source mods were just an example, nevermind. What I'm trying to do is decompiling my own classes, yet I'm not exactly sure how I do that in MCP.
  • 2013-08-10 18:31:02
    I'm pretty sure MCP can't decompile mods for you. You will have to use java decompilers. But where did your source go? Did you remove it without any backups?
  • 2013-08-11 02:12:46
    If you have your file structure of your mod set the same as pahimar's (http://goo.gl/SNfSuo) then you can decompile it using jd-gui (http://java.decompiler.free.fr/?q=jdgui) and link it in, (if you want to make an extension for it you have to else you just use jd-gui)
    hope this helps
  • 2013-08-11 05:18:42
    My mod still exist compiled, I just had to decompile it manually.

    I don't use Pahimar's setup yet using jdgui was apparently pretty easy. My problem is solved, thanks.
  • Log in or sign up to reply to this thread