Jump to content

Recommended Posts

Posted (edited)

It's been discussed for a long time, but none of the solutions worked for me (maybe I did not did them right).

So I have created another mod (basically a tool) and I want to use it in another environment, this is what I've tried:

 

1. run normal build ./gradlew.bat build, and then put built jar from lib into the mods folder.

2. run jar build ./gradlew.bat jar, and then put built jar from reobfJar into the mods folder.

3. build jar using existing ide options, and then put built jar from lib into the mods folder.

 

1 & 2 causes crashes, and 3 does not work at all (not detected).

 

What is the correct way of doing it in 1.16.4? Thanks.

 

Edit: local jars can be located by adding flatDir into repositories.

Edited by poopoodice

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.