Jump to content

API dependency that doesn't have JAR file


rinart73

Recommended Posts

I'm trying to crate a small mod that uses Thaumcraft API. As you can see, it's not packed as jar file. I tried to archive it as jar and place in the libs category of my project.

After that IntelliJ IDEA sees the thaumcraft package but no classes in it.

I tried to add various 'compile' directives in the build.gradle file with no success. One of them actually messed up everything and IntelliJ didn't see any minecraft classes either.

 

Please help. I searched but various tutorials only say what to do when you have a .jar file and Eclipse.

Link to comment
Share on other sites

  • 1 month later...

The Thaumcraft API only contains the human readable source code, it doesn’t contain any of the executable class files. You need the obf or deobf thaumcraft jars. You can then add them to your gradle attach the “api” to them as a source in your IDE

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

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.