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

Greetings! I know I've asked a similar question to this before (but the solution for that one didn't translate here).

 

I'm lacking the basic knowledge as to where you put another mod's API in order to access it and use it in your own code. For example, using NEI, things I've tried:

 

  • putting the codechicken/nei/api folder in my src/main/java folder
  • putting the entire NEI.jar inside my libs folder

 

In both cases, I ran gradlew setupDecompWorkspace --refresh-dependencies, but to no avail. In the first case, the codechicken/nei/api folder in IntelliJ had no code, even though opening the location with the explorer showed all the code was there. There are other API's I would like to use (for redstone flux, etc), but I would like to get the basic concept down before attempting more than one API. As usual, thanks in advance!

 

 

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

  • Author

So, I've tried dropping the NEI API folder into the src/api/java directory, but none of the files are appearing in IntelliJ. (Picture linked below.) Any ideas as to what may be causing this?

 

5o5aQcq.png?1

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

  • Author

I've also tried placing NEI's jar file in the libs directory (with extrautilites and waila from my previous screenshot), but I still could not access the API.

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

  • Author

I thought so? Maybe I don't understand what you mean when you say "refresh"...

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

  • Author

That sneaky sidebar  :-\ That cleared everything up! Thanks for dealing with my easy problems.

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

  • Author

I guess things aren't tip-top shape, yet. Now when I attempt to run the program it crashes before even launching the MC window. Pastebin to the log: http://pastebin.com/AArhgP0i

 

Any ideas why this could be?

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

  • Author

I have it in my Eclipse/mods folder...do I need in libs/ instead? EDIT: Tried that, didn't fix anything, even after reloading the project.

 

New Edit: Found the issue. I needed to move both CCC and CCL into the /libs/ folder.

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

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.