Jump to content

Forge 1.13.2 with eclipse has problems that can't be solved ?


Recommended Posts

Posted

Hello,

 

I asked on a french community around Forge why this was not working and they responsded that they don't know why it's not working and they think I should report it cuz it maybe a bug, so after setting up my workspace with eclipse, importing a gradle project, run the gradle tasks, I end up with my main class and bug .. Yes the imports are correct.

 

image.png.d889e9d3d1147d19b4c131844b217fc7.png

 

If i hover the "FMLJavaModLoadingContext" it gives me that reason. and If I hover the "getModEventBus()"

it gives me that reason :

 

image.png.0e3f6bce45433aa18681d9ff73e71b85.png

 

So apparently no one know how to fix or correct my problem, so if someone know, please let me know ! :)

 

Thanks

Posted

I don't you eclipse, but looks like a problem with your mappings or workspace setup in general.

Try running the eclipse task again, or genEclipseRuns.

That should update your mappings if something is missing.

 

Also for me sometimes it helps to just close an open the project again.

Posted

Can I get the exact MDK version and your exact steps (i.e. what gradle commands you used and in what order)?

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

Yes of course,

 

so I'm using the javac 1.8.0_201 , jdk 1.8.0 v201 so the last one I think

I'm using also the MDK forge 1.13.2 25.0.89 (so there is a new one out, gonna try it out)

  • So first step is installing the jdk with the JAVA_HOME variable
  • restart the pc
  • make a folder with no space, no signs for the forge environment 
  • setup the build.gradle with the modid and version and other stuff
  • Eclipse > import > Existing Gradle Prokect > chose the MDK folder 
  • Gradle tasks > fg_runs > genEclipseRuns
  • Launch either client or server (runClient.launch) see if everything works

It does then I cannot do anything because I'm stuck at the part of the main class with that bug(?) 

Posted

I'm not getting that error, but searching online suggests a corrupted cache as a possible cause

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)
  On 3/22/2019 at 1:36 AM, DaemonUmbra said:

I'm not getting that error, but searching online suggests a corrupted cache as a possible cause

Expand  

So what's the fix about cache ? Do I need to redo with the new mdk out ?

 

EDIT : ok switching to the new version of forge mdk, is working.

Edited by Fifou_BE

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.