Jump to content

Recommended Posts

Posted

Once everything you need is in the 

 

"src/main/java" and "src/main/resources"

 

If you are running with Eclipse

 

Use the Command Line in the folder where the 

 

gradlew

 

file is, and run this command:

 

gradlew build

 

This will automatically produce the .jar file with your mod inside ready to run

Posted
28 minutes ago, Zeher_Monkey said:

Once everything you need is in the 

 


"src/main/java" and "src/main/resources"

 

If you are running with Eclipse

 

Use the Command Line in the folder where the 

 


gradlew

 

file is, and run this command:

 


gradlew build

 

This will automatically produce the .jar file with your mod inside ready to run

I can't get it to work. Is there a way for me to send the source code to you and you could do it.

Posted

"DeferredRegister<>" should look like "DeferredRegister<>" but because it is "depricated"(whatever that means) it wont work.

It causes no problems when running the mod, but it doesn't let me build it.

*btw I'm using IntelliJ

CmdError.PNG

DeferredRegister.png

Posted (edited)

You need to install a JDK (same java version as you are using) and add it to the PATH environment variable, if the installer doesn't do it automatically.

 

If you dont know how to do this, there are plenty of guides/tutorials on Google.

Edited by Zeher_Monkey
Missing Information
Posted
7 hours ago, Zeher_Monkey said:

You need to install a JDK (same java version as you are using) and add it to the PATH environment variable, if the installer doesn't do it automatically.

 

If you dont know how to do this, there are plenty of guides/tutorials on Google.

I've installed and reinstalled multiple versions of java and I still get the error.

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.