Jump to content

Recommended Posts

Posted

I just set up Forge for 1.13.2, and in an effort to ensure I set everything up correctly (since it's a bit different than older versions of Forge), I just ran the example mod under the Client configuration. It runs just fine... but I'm not seeing any of the example output. (I removed debug-level logging from the Java arguments, but as you can see, info-level logging shows up fine, just not the logs from the mod itself). I've attached the entire console logs from starting it, then quitting from the main menu without doing anything. In the main example mod code, there are logs like "HELLO FROM PREINIT" and such, but those didn't show up anywhere in the console.

Is there an extra step that I need to do besides importing the Gradle project and running the "eclipse" task? (The fact that the project shows in my Package Explorer just fine and also runs just fine would suggest I set it up mostly correctly... I just don't know why I'm not getting any of the mod output.)

forge_1.13_test.log

Whatever Minecraft needs, it is most likely not yet another tool tier.

Posted

have you tried the latest MDK?

Be warned, there are build.gradle changes

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

I didn't realize there have been 22 revisions since I download the MDK about... 6 days ago? Well, I'll try the latest version and see if it fixes the problem; I'll report back here when I'm done.

Whatever Minecraft needs, it is most likely not yet another tool tier.

Posted

1.13.2 is still very much in development and a build is created for each commit on the github so there will be many many versions.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted (edited)

Hm... the latest version won't build at all. I've gotten everything setup for Eclipse, and the project imported into Eclipse, but there are no configurations. When I try to run the Gradle "build" task, it fails, because it's looking in my JRE folder instead of my JDK folder. My JAVA_HOME environment variables are set to point to the JDK directory... is there somewhere else I need to change a path definition?

Edited by IceMetalPunk

Whatever Minecraft needs, it is most likely not yet another tool tier.

Posted
  On 2/23/2019 at 12:02 AM, IceMetalPunk said:

Hm... the latest version won't build at all. I've gotten everything setup for Eclipse, and the project imported into Eclipse, but there are no configurations. When I try to run the Gradle "build" task, it fails, because it's looking in my JRE folder instead of my JDK folder. My JAVA_HOME environment variables are set to point to the JDK directory... is there somewhere else I need to change a path definition?

Expand  

You can change it via gradle.properties in project root. Just put

org.gradle.java.home=<path>

into it

Posted
  On 2/26/2019 at 7:57 AM, drcrazy said:

You can change it via gradle.properties in project root. Just put

org.gradle.java.home=<path>

into it

Expand  

That worked, thanks! And now I'm going to have to ask what is likely a very stupid question... Until now, whenever I've worked with Forge (including the previous build for 1.13 from like a week or two ago), the Gradle build process has set up run configurations automatically. So I never really paid attention to the settings for the Client and Server run configs. This build didn't seem to do that; is there a quick rundown of what the various options need to be for each configuration? (That is, that main class for each, any required arguments, and any required environment variable setup.) I'm fine with the coding, but when it comes to IDE settings, I tend to feel a bit like a 5-year-old sometimes -_- But of course I can't test if I can't run, so... yeah.

Whatever Minecraft needs, it is most likely not yet another tool tier.

Posted

As for eclipse  - there is issue currently with eclipse not able to launch your mod using launch configuration. Use gradlew runClient instead.  In 1.12 eclipse is fine to both build and run. Hope same will be for 1.13.2

Posted
  On 2/26/2019 at 8:58 AM, drcrazy said:

As for eclipse  - there is issue currently with eclipse not able to launch your mod using launch configuration. Use gradlew runClient instead.  In 1.12 eclipse is fine to both build and run. Hope same will be for 1.13.2

Expand  

That's unfortunate... as far as I can tell, Eclipse doesn't have a terminal, and trying to look through output in PowerShell is... ugh. Well, I'll try and sort through it all and see if the problem is solved in the latest (ish) revision. Thanks to both of you!

Whatever Minecraft needs, it is most likely not yet another tool tier.

Posted

On a bright side there is an update about eclipse. You need to edit launch and remove excessive mod mentions. It is mentioned in this commit:

Build: 1.13.2-25.0.57 - Tue Feb 26 02:11:50 GMT 2019
	john816_:
		Update MDK Readme to describe new FG3 procedures. (#5553)

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.