Jump to content

Recommended Posts

Posted

So I've been doing a lot of research on adding additional mods to my dev environment, I've found some threads and a few blogs nothing that worked for me and most of the information was out of date.

 

I want to add mods like Thaumcraft 5, and Baubles to my project; Please note I don't want to create an addon I just want to add aspects to some of my items/blocks and have the ability to add features that are triggered by the mod being present if someone uses my mod with those mods.

 

I might also want to add other mods at some point such as blood magic, so I need something that works universally. If at all possible a method that allows me to build my mod without much hassle would be nice.

 

Any help would be appreciated! :)

Posted

If you need to run FULL mod in dev, you will need dev-release (not obfuscated) or source code (search for mod's git repo).

If you only need some reference you might wanna search for mod's API (if it has one).

1.7.10 is no longer supported by forge, you are on your own.

Posted

Yes, I know that I need the deobf file, I have those already; the problem is I'm having trouble adding them to the environment. Such as what folder to put them, most of the research I've found mentioned a special folder that was nonexistent in my install.

Posted

If you want to compile against them, either add them as dependencies in build.gradle (the easiest way to do things if the mod has a Maven/Ivy repository hosted somewhere) or create a libs directory next to build.gradle and put them in there.

 

If you don't need to compile against them (e.g. you only need to do stuff via IMC), you can just put them in the mods directory like you would for normal Minecraft.

 

Recent versions of Forge (1.8.9-11.15.0.1696 and newer) can load SRG named mods in the development environment, so you don't have to use dev/deobf versions.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

You can compile against jars in the /mods folder as well if you add them manually to your referenced libraries, whereas they will be added automatically when you run 'gradlew eclipse' if they are in the /libs folder.

 

Unless gradle has had major upgrades, then whichever folder you put the mod binaries in (be they regular .jar or dev builds), you will need to also add them as dependencies in the build.gradle.

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.