Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • How would I use dependencies with mutliple versions
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 0
Nick82285

How would I use dependencies with mutliple versions

By Nick82285, September 11 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

Nick82285    3

Nick82285

Nick82285    3

  • Tree Puncher
  • Nick82285
  • Members
  • 3
  • 20 posts
Posted September 11

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

  • Quote

Share this post


Link to post
Share on other sites

Animefan8888    677

Animefan8888

Animefan8888    677

  • Reality Controller
  • Animefan8888
  • Forge Modder
  • 677
  • 5746 posts
Posted September 11
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?

  • Quote

Share this post


Link to post
Share on other sites

Nick82285    3

Nick82285

Nick82285    3

  • Tree Puncher
  • Nick82285
  • Members
  • 3
  • 20 posts
Posted September 11
2 minutes ago, Animefan8888 said:

Is there a version of this library that uses 4.4.0? 

I am considering that, however previous versions, are buggy/makes my code messier. If there's no other way I could do that then I will revert back

  • Quote

Share this post


Link to post
Share on other sites

DaemonUmbra    358

DaemonUmbra

DaemonUmbra    358

  • Reality Controller
  • DaemonUmbra
  • Forum Team
  • 358
  • 6428 posts
Posted September 11

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

  • Quote

Share this post


Link to post
Share on other sites

Nick82285    3

Nick82285

Nick82285    3

  • Tree Puncher
  • Nick82285
  • Members
  • 3
  • 20 posts
Posted September 11 (edited)
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 September 11 by Nick82285
  • Quote

Share this post


Link to post
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.   Paste as plain text instead

  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.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • diesieben07
      cant use mods in survival 1.12.2

      By diesieben07 · Posted 15 minutes ago

      Oh wow, so his tutorial is even wrong. Wow.
    • diesieben07
      net.minecraftforge.oredict.OreDictionary missing from 1.14.4 MDK

      By diesieben07 · Posted 17 minutes ago

      Why are you importing this class? How are you using it?   This is completely unrelated to the event-bus event...   Don't obtain a list of stacks matching a given tag, use Tag#contains instead. If you must obtain a list (for display purposes), use Tag#getEntries. You can see the seed-tags that are added by Forge here.
    • DaemonUmbra
      pointing to MCP folder instead of MDK ???

      By DaemonUmbra · Posted 25 minutes ago

      This sounds like you're doing things incorrectly and asking us to help when it breaks
    • JMAS
      pointing to MCP folder instead of MDK ???

      By JMAS · Posted 26 minutes ago

      You know what?  Never mind.  I just created a new package and manually imported it over.  Ugly but effective. Go ahead and close this ticket.
    • DaemonUmbra
      pointing to MCP folder instead of MDK ???

      By DaemonUmbra · Posted 27 minutes ago

      Why the heck do you even have an MCP folder?
  • Topics

    • Barca
      6
      cant use mods in survival 1.12.2

      By Barca
      Started 3 hours ago

    • JMAS
      6
      net.minecraftforge.oredict.OreDictionary missing from 1.14.4 MDK

      By JMAS
      Started 5 hours ago

    • JMAS
      5
      pointing to MCP folder instead of MDK ???

      By JMAS
      Started 1 hour ago

    • solitone
      19
      Distinguish singleplayer vs. multiplayer

      By solitone
      Started December 5

    • DragonITA
      35
      [1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?

      By DragonITA
      Started Monday at 10:06 AM

  • Who's Online (See full list)

    • Jaffaaaaa
    • salvestrom
    • Simon_kungen
    • larsgerrits
    • diesieben07
    • geekles
    • Aeronica
    • Draco18s
    • DaemonUmbra
    • MrChoke
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • How would I use dependencies with mutliple versions
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community