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

I've been trying to add some external libraries to my project and everything works fine inside the IDE when I runClient, but when I build the jar and run it I get classNotDefFoundError which obviously means that the jars are not being accessed from the META-INF but im not sure how to fix that...

 

configurations {
    inJar
}
configurations.compile.extendsFrom(configurations.inJar)

dependencies {
    inJar("net.dv8tion:JDA:4.3.0_339")
    inJar("com.github.HypixelDev.PublicAPI:Java:2.0.0")
}

jar {
    from(configurations.inJar) {
        into('META-INF/libraries')
    }
}

this is currently how I am importing the libraries, and they do show inside the jar when I decompile it, but im still not sure how to access them.

  • Author
8 hours ago, sciwhiz12 said:

What version of Minecraft and Forge is this for?

I know it’s not supported, but I am developing a 1.8 client mod and have a pretty good hang on things except for getting these dependencies to load outside of my IDE.

Guest
This topic is now closed to further replies.

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.