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

Hi,

 

Been converting pixelmon over to 1.3.2 with forge 4.0.0 and am having trouble getting it to link to an external library that we use.  In previous versions of forge i was able to just stick the jar for this library in the mods folder with my mod and it would be loaded but it doesn't seem to matter where i put it with this current version, it can't find it.  I had it in my lib folder in mcp when i compiled and putting it in the lib folder in .minecraft doesn't work.  Any ideas?

 

MrMasochism

Does it work if you put in in the mods folder?

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

There is a lib folder in the .minecraft directory now when forge is installed, did you try there?  Better question though, what does it do?

Hmm, I am unsure as to the best place to link that in if not the root .minecraft or bin directories, may need to wait for cpw/lex to say.

Tossing a .jar into the mods folder will have it added to the class path, so not sure why it would be an issue to toss it there.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

Putting it in the mods directory was the first thing we tried and we had no luck.  I think we've found a workaround for now but it's a workaround that won't necessarily work if other people need external libraries

  • Author

Sorry realise that was a bit ambiguous.

 

What we ended up doing was bringing the external jar's classes inside our mod's zip which is fine in this case as they have a very open license

  • Author

Turns out that for some people, putting the library inside our mod's zip isn't working, they aren't a majority but it's happening.  However, putting the external library anywhere else is still not working.  Minecraft isn't picking it up and the game is crashing.

 

I have a class check on load which looks to see if the classes from that library are available.  In 1.2.5 this would work every time if the library was in the mods directory alongside the mod but now in 1.3.2 no matter where I put it it doesn't get linked in.  I have tried every conceivable location.  The mod just spits out the error on the class check that it couldn't find the library

Just because it's in the mods dir does not mean it gets loaded..

 

What library are you looking to add?

  • Author

We are looking to add an sqlite jdbc library.  We are now running into issues as packaging it in the zip which works fine for windows users doesn't work for mac users.  Is there a way of making sure this lib gets added to the classpath?

Update FML. This was recently changed so random libs in the mods dir will be loaded into the classpath. Ugly though. You should package sqlite as a coremod and then everyone can use it and depend on it properly. Mostly it would just be adding a meta-inf and a simple mod container.

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.