Jump to content

Getting started creating a mod add-on


M4thG33k

Recommended Posts

I would like to start making a mod that requires other (specific) mods to be installed (For example: Extra Utilities) so that I can use some of their blocks/items in recipes. I know how to set up the mod dependency in the code (with @Mod(...,dependencies="[modname]")), but I'm not sure how to set up my IDE (IntelliJ) to be able to actually start using the other mods' items/API's. Are there any tutorials anywhere for this sort of thing? (I have spent quite a long time Googling, hoping to find such a tutorial but to no avail.) Thank you in advance for any help! :-)

Able to differentiate the difference of a sum and an integral.

Link to comment
Share on other sites

I use IntelliJ also, the build.gradle has clews.

 

dependencies {    // you may put jars on which you depend on in ./libs    // or you may define them like so..    //compile "some.group:artifact:version:classifier"    //compile "some.group:artifact:version"          // real examples    //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev'  // adds buildcraft to the dev env    //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env    // for more info...    // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html    // http://www.gradle.org/docs/current/userguide/dependency_management.html}

 

 

What is the mod you want to make an add-on for? Depending on which one they may have a way to add it to your dev environment through gradle.

Link to comment
Share on other sites

It's fine. :) From what I can find (http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/1443963-extra-utilities-v1-1-0k) the dev of extra utilities hasn't released a dev version yet. But you can still download a normal version of the mod and de-obfuscate it (I don't know how to do that, sorry :(). But I have heard that CodeChickenCore (I think I got the name right) has a runtime de-obfuscater. Once the mod is de-obfuscated, I don't know how to add it to your build path. Diesieben07 probably knows IntelliJ better than I do, I've only been using it for a few months.

Link to comment
Share on other sites

Well, that was easy enough. I'm not sure why I had such a problem with that. One more question (and I can open a new thread for this if you would like): how do I go about using the parent mod's blocks/items in recipes? I'm assuming Forge has a tool in place for referencing these...

Able to differentiate the difference of a sum and an integral.

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.

Guest
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.

Announcements



×
×
  • Create New...

Important Information

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