#how does one add jna as a dependency to a minecraft mod
7 messages · Page 1 of 1 (latest)
Thanks for your question :clap:, if someone gives you an answer it would be great if you thanked them with a :white_check_mark: in response. This response will earn you both points for special roles on this server.
A little bit more information would be nice tho. Are you using a dependency tool? gradle or maven? what ide are you using?
otherwise download the jar and add it to build path i think
eclipse should be somewhere in properties -> configure build path -> libraries -> add external jar
intellij is file -> project structure -> module -> dependencies -> + icon, jar
and if you use maven or gradle just add the dependency in your pom.xml or build.gradle file https://mvnrepository.com/artifact/net.java.dev.jna/jna/5.14.0
you can copy the snippet for the build tool of your choice