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

How would I use dependencies with mutliple versions


Nick82285
 Share

Recommended Posts

I am developing in eclipse and I have an external library that requires Java Native Access (JNA) version 5.2.0, however one of MinecraftForge's dependencies is JNA version 4.4.0. Is there any way to get these dependencies to play nice? I only have one class that actually uses this library so is there a way to force my compiled mod to use 5.2.0, by either embedding the dependency into the jar itself or something else?

 

I am running on 1.12.2 Forge Version 14.23.5.2768

Link to comment
Share on other sites

8 minutes ago, Nick82285 said:

external library that requires Java Native Access (JNA) version 5.2.0

Is there a version of this library that uses 4.4.0?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

What do you need the library for? What library is it?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

38 minutes ago, DaemonUmbra said:

What do you need the library for? What library is it? 

VLCJ 4.2.0, VLCJ-Natives 4.1.0, JNA 5.2.0, JNA Platform 5.2.0, I just want a way to be able to use both at the same time preferably

 

Vlcj requires this library to create it's media player

Edited by Nick82285
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.

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



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Yeah that's why I said "more or less." I'm unfamiliar with the official mappings.
    • 1.7 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • Please help   Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release [15:36:08] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [15:36:08] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [15:36:08] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [15:36:08] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading [15:36:08] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_291, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_291 [15:36:08] [main/INFO] [FML]: [AppEng] Core Init [15:36:08] [main/WARN] [FML]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft Downloading file http://files.minecraftforge.net/maven/codechicken/CodeChickenLib/1.7.10-1.1.3.138//CodeChickenLib-1.7.10-1.1.3.138-universal.jar [15:36:10] [main/INFO] [STDOUT]: [codechicken.core.launch.DepLoader$DepLoadInst:download:343]: Download complete [15:36:10] [main/INFO] [STDERR]: [codechicken.core.launch.DepLoader$DepLoadInst:scanDepInfo:510]: Failed to load dependencies.info from CodeChickenLib-1.7.10-1.1.3.138-universal.jar as JSON [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.util.zip.ZipException: error in opening zip file [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.util.zip.ZipFile.open(Native Method) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.util.zip.ZipFile.<init>(Unknown Source) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.util.zip.ZipFile.<init>(Unknown Source) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.util.zip.ZipFile.<init>(Unknown Source) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.scanDepInfo(DepLoader.java:503) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.download(DepLoader.java:345) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.load(DepLoader.java:480) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.loadDeps(DepLoader.java:466) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.load(DepLoader.java:449) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader.load(DepLoader.java:584) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.CodeChickenCorePlugin.<init>(CodeChickenCorePlugin.java:47) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.reflect.Constructor.newInstance(Unknown Source) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.Class.newInstance(Unknown Source) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:501) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:389) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:221) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [15:36:10] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Downloading file https://dl.dropboxusercontent.com/u/47135879//Baubles-1.7.10-1.0.1.10.jar [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.RuntimeException: A download error occured [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.download(DepLoader.java:354) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.load(DepLoader.java:480) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.loadDeps(DepLoader.java:466) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.load(DepLoader.java:449) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader.load(DepLoader.java:584) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.CodeChickenCorePlugin.<init>(CodeChickenCorePlugin.java:47) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.reflect.Constructor.newInstance(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.Class.newInstance(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:501) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:389) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:221) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.io.FileNotFoundException: https://dl.dropboxusercontent.com/u/47135879//Baubles-1.7.10-1.0.1.10.jar [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.reflect.Constructor.newInstance(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.security.AccessController.doPrivileged(Native Method) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.security.AccessController.doPrivileged(Native Method) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.download(DepLoader.java:341) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     ... 19 more [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.io.FileNotFoundException: https://dl.dropboxusercontent.com/u/47135879//Baubles-1.7.10-1.0.1.10.jar [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.security.AccessController.doPrivileged(Native Method) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.net.URLConnection.getHeaderFieldLong(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.net.URLConnection.getContentLengthLong(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.net.URLConnection.getContentLength(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at codechicken.core.launch.DepLoader$DepLoadInst.download(DepLoader.java:340) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     ... 19 more [15:36:16] [main/ERROR] [FML]: An error occurred trying to configure the minecraft home at C:\Users\Inarus\AppData\Roaming\.minecraft for Forge Mod Loader java.lang.RuntimeException: A download error occured     at codechicken.core.launch.DepLoader$DepLoadInst.download(DepLoader.java:354) ~[DepLoader$DepLoadInst.class:?]     at codechicken.core.launch.DepLoader$DepLoadInst.load(DepLoader.java:480) ~[DepLoader$DepLoadInst.class:?]     at codechicken.core.launch.DepLoader$DepLoadInst.loadDeps(DepLoader.java:466) ~[DepLoader$DepLoadInst.class:?]     at codechicken.core.launch.DepLoader$DepLoadInst.load(DepLoader.java:449) ~[DepLoader$DepLoadInst.class:?]     at codechicken.core.launch.DepLoader.load(DepLoader.java:584) ~[DepLoader.class:?]     at codechicken.core.launch.CodeChickenCorePlugin.<init>(CodeChickenCorePlugin.java:47) ~[CodeChickenCore-1.7.10-1.0.7.47-universal.jar:?]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_291]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_291]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_291]     at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_291]     at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_291]     at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:501) ~[forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:389) ~[forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:221) ~[forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) [forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67) [forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34) [forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126) [forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.io.FileNotFoundException: https://dl.dropboxusercontent.com/u/47135879//Baubles-1.7.10-1.0.1.10.jar     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_291]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_291]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_291]     at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source) ~[?:1.8.0_291]     at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_291]     at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_291]     at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.8.0_291]     at codechicken.core.launch.DepLoader$DepLoadInst.download(DepLoader.java:341) ~[DepLoader$DepLoadInst.class:?]     ... 19 more Caused by: java.io.FileNotFoundException: https://dl.dropboxusercontent.com/u/47135879//Baubles-1.7.10-1.0.1.10.jar     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_291]     at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_291]     at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) ~[?:1.8.0_291]     at java.net.URLConnection.getHeaderFieldLong(Unknown Source) ~[?:1.8.0_291]     at java.net.URLConnection.getContentLengthLong(Unknown Source) ~[?:1.8.0_291]     at java.net.URLConnection.getContentLength(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Unknown Source) ~[?:1.8.0_291]     at codechicken.core.launch.DepLoader$DepLoadInst.download(DepLoader.java:340) ~[DepLoader$DepLoadInst.class:?]     ... 19 more [15:36:16] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.RuntimeException: A download error occured     at codechicken.core.launch.DepLoader$DepLoadInst.download(DepLoader.java:354) ~[DepLoader$DepLoadInst.class:?]     at codechicken.core.launch.DepLoader$DepLoadInst.load(DepLoader.java:480) ~[DepLoader$DepLoadInst.class:?]     at codechicken.core.launch.DepLoader$DepLoadInst.loadDeps(DepLoader.java:466) ~[DepLoader$DepLoadInst.class:?]     at codechicken.core.launch.DepLoader$DepLoadInst.load(DepLoader.java:449) ~[DepLoader$DepLoadInst.class:?]     at codechicken.core.launch.DepLoader.load(DepLoader.java:584) ~[DepLoader.class:?]     at codechicken.core.launch.CodeChickenCorePlugin.<init>(CodeChickenCorePlugin.java:47) ~[CodeChickenCore-1.7.10-1.0.7.47-universal.jar:?]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_291]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_291]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_291]     at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_291]     at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_291]     at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:501) ~[forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:389) ~[forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:221) ~[forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90) ~[forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67) ~[forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34) ~[forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126) ~[forge-1.7.10-10.13.4.1558-1.7.10.jar:?]     at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.12.jar:?]     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] Caused by: java.io.FileNotFoundException: https://dl.dropboxusercontent.com/u/47135879//Baubles-1.7.10-1.0.1.10.jar     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_291]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_291]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_291]     at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source) ~[?:1.8.0_291]     at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_291]     at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_291]     at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.8.0_291]     at codechicken.core.launch.DepLoader$DepLoadInst.download(DepLoader.java:341) ~[DepLoader$DepLoadInst.class:?]     ... 19 more Caused by: java.io.FileNotFoundException: https://dl.dropboxusercontent.com/u/47135879//Baubles-1.7.10-1.0.1.10.jar     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_291]     at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_291]     at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) ~[?:1.8.0_291]     at java.net.URLConnection.getHeaderFieldLong(Unknown Source) ~[?:1.8.0_291]     at java.net.URLConnection.getContentLengthLong(Unknown Source) ~[?:1.8.0_291]     at java.net.URLConnection.getContentLength(Unknown Source) ~[?:1.8.0_291]     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Unknown Source) ~[?:1.8.0_291]     at codechicken.core.launch.DepLoader$DepLoadInst.download(DepLoader.java:340) ~[DepLoader$DepLoadInst.class:?]     ... 19 more Exception in thread "main" [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: cpw.mods.fml.relauncher.FMLSecurityManager$ExitTrappedException [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at cpw.mods.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:25) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.SecurityManager.checkExit(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.Runtime.exit(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at java.lang.System.exit(Unknown Source) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:138) [15:36:16] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)  
    • Hello! I've been updating old and abandoned mods to the newer versions of Forge as an hobby and to learn more and more of coding myself. I've happened to run into an outdated mod that, in 1.12.2 Forge, implements a new fluid: however, it does so by calling   and   which apparently isn't possible for 1.16.5 Forge. I need the first one to initialize the fluid and the latter to add it to the registry and use it elsewhere in the mod, so how would I do it? Also, is there anywhere I can follow Forge's updates and changes in its classes or structures? It's not the first time I've run into a problem of this sort. Sorry if my question sounds dumb. Thanks so much!
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.