Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Distributing mod with extra jars


ldodds
 Share

Recommended Posts

I have a mod that uses some open source libraries packaged as separate jar files. During development I've been adding these to the lib directory. Once added to the eclipse project this works fine.

 

When I'm ready to distribute my mod where would these jars need to be placed? Will minecraft forge add extra jar files from a standard location, e.g mods/lib or similar?

 

I couldn't see any documentation on this, so thought I'd ask.

 

Cheers,

 

L.

Link to comment
Share on other sites

This should go in the Modder Support forum, but I will help anyway.

Poke around with ILibrarySet and RelaunchLibraryManager. Your mod will need to be a so-called "coremod" for this to work (i.e. it implements IFMLLoadingPlugin).

There's an EAQ for a reason. Read it!

"Note that failure to read this will make you look idiotic. You don't want that do you?" -- luacs1998

 

First rule of bug reports: More information is always better.

Oh, and logs OR IT DIDN'T HAPPEN!!

Link to comment
Share on other sites

There is? I can't seem to find it, otherwise I would have linked to it.

There's an EAQ for a reason. Read it!

"Note that failure to read this will make you look idiotic. You don't want that do you?" -- luacs1998

 

First rule of bug reports: More information is always better.

Oh, and logs OR IT DIDN'T HAPPEN!!

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

 Share



×
×
  • Create New...

Important Information

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