Jump to content

Recommended Posts

Posted (edited)

Hello,

when I compile my mod, two jar files are created. One with the source code and one with assets. How can I get my mod compiled to  a single jar file?

Thanks for any help

Edited by fcelon
Posted

It creates two files for some reason. My code is located in C:\Users\Petr Myslík\Desktop\Workspace\1.11\src\main\java. My assets are located in C:\Users\Petr Myslík\Desktop\Workspace\1.11\src\main\resources.

Posted

The source file is the source file. That means that one could use it to see what your code means; ever used a .jar decompiler, things are obfuscated. The first file (not labeled) is used as the .jar you are looking for, the other is the source file, for if you have (this is an example) a library you want others to be able to reasonably use.

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.