Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

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]

  • Author

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.

You go in eclipse project explorer, right click on Minecraft, new Src folder, folder name = src/api/java. Now you go to modding folder in wexplorer, open src/api/java, put your apis there. They will be avaible via eclipse and will not be packaged with your mod...

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.