Jump to content

How to create a side mod?


Recommended Posts



I wanted to ask if there is a tutorial to create a side mod (or sub mod, or addon or what ever it is called) of an existing mod.

I've searched with the search function of this board and with google but i can't find a tutorial.

I using the minecraft forge version (as well as the mod developer).




Link to comment
Share on other sites

You're going to need the decompiled class files and packages of the mod you want, and put them into your projects workspace.  Then you can make references to functions and items and such inside that mod, and it will compile.  After it's compiled, delete the compiled class files for that mod from the JAR.  There's probably a  way to exclude the files you don't need from the compilation, but I don't know it yet.


If you're adding support for a mod that you didn't write, say Buildcraft, (as opposed to creating a core mod that all your other mods require) then you're going to want to wrap everything you add that makes reference to Buildcraft in an "if" statement, which checks if Buildcraft is loaded.  Otherwise, Buildcraft will be a dependency, and your mod won't work without it.

Link to comment
Share on other sites

  • 2 weeks later...

You need to get the mod in a deobfuscated form (with MCP names) or use BON (Bearded Octo Nemesis, google it)



i tried, but it dont work:

java.io.FileNotFoundException: C:\Users\Zodiak\workspace\forge\mcp\conf\joined.srg (Das System kann die angegebene Datei nicht finden)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileReader.<init>(Unknown Source)
    at immibis.bon.mcp.SrgFile.<init>(SrgFile.java:18)
    at immibis.bon.mcp.MappingLoader_MCP.loadSRGMapping(MappingLoader_MCP.java:117)
    at immibis.bon.mcp.MappingLoader_MCP.<init>(MappingLoader_MCP.java:105)
    at immibis.bon.io.MappingFactory.registerMCPInstance(MappingFactory.java:32)
    at immibis.bon.gui.GuiMain$1.run(GuiMain.java:188)


i've installed MCP 8.11 as the tutorials says but i have no idea why the file is missing

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

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