Jump to content

Recommended Posts

Posted

Hello everyone,

 

I have recently taken up modding and I am having trouble finding a good tutorial on how to use APIs and how to import them into eclipse. I am trying to use CoFHCore and Thermal Foundation. I've seen several conflicting methods here and on the MC forums.

 

To be clear: I do not want the API files as part of the mod, but I do want these mods as a dependency.

Posted

Not to be rude because I might not understand your question but have you tried:

import domain.package1.package2.Filename;

 

 

In seriousness I think this is what you want:

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fconcepts-13.htm

if that doesn't help try [lmgtfy=where to place external resources in eclipse]this.[/lmgtfy]

Posted

no...there was a specific way others did it. One was putting the files into the java/resources/api folder, but this isn't working for me. Another involved importing them via eclipse, which also didn't work.

Posted

Just set up the gradle dependency for that.

See ForgeGradle section, it will help you a lot with gradle.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

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.