Jump to content

Recommended Posts

Posted

I'm trying do develop I forge Mod with Intellij Idea plugin Minecraft Dev.

I'm building some jar file,  that I put into the mods folder. When I try ti start minecraft  it crash.  Here the logs.

 

  Reveal hidden contents

 

I've also tried set up a forge server (on localhost). It also crashes, here the server crash logs: (I'm executing minecraft with java -Xmx2024M -Xms2024M -jar forge-1.10.2-12.18.3.2185-universal.jar nogui)

  Reveal hidden contents

 

When I read this "Zip file simpleMod.jar failed to read properly, it will be ignored" I tryed to rename my jar file into a zip but anyway nothing happen.

My mod just have an System.out.println("Hello World"); in the onInit() Event

Here's my mod

 

Posted

You didn't answer diesieben07's question.

 

Did you build the JAR using IDEA's build system or did you build it using the build Gradle task? Only the latter is correct.

  • Like 1

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
  On 9/6/2017 at 9:48 AM, birbantik said:

I'm building an artifact, I think I've builded with IDEA build system but how can I change build system?

Expand  

 

Run the build task from IDEA's Gradle window or the command line. The compiled JAR will be in build/libs.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

I'm not founding the libs folder in ProjectName/build . Now I'm just pressing build in Intellij but I can't find the jar file.

I'm not using simple intellij IDEA gradle but I'm using an intelliJ IDEA plugin (named Minecraft Dev). Maybe thats the problem

Posted

I'm not familiar with the plugin, do you not have access to the Gradle window?

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.