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

How do I add an external jar file into my mod?


Recommended Posts

I want to use discord rich presence for my mod, but I have been having some issues. This is what I added to my build.gradle file, but I do not think this works.
 image.png.4d720b87ddbfb9747ff7f1b1ee0735f3.png

This does not let me build the jar file, but if I do not include it, then it does. However this has another issue. Whenever I attempt to start my game, it says:

image.png.9cab2e54ca0cd58107672d93d7e16f52.png

  

image.png

Link to post
Share on other sites

you don't need to have the jar

just add the maven depency in your build.gradle, under where the minecraft forge dependecy is defined

then refresh the gradle project

Edited by kiou.23
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.   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.



×
×
  • Create New...

Important Information

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