Jump to content

Recommended Posts

Posted

So I just posted a thread about having trouble with my 1.12.2 forge setup and the post was closed bc it is aparently not supported on this forum. The old post can be found here: 

I now tried the same thing again with 1.15 and the same thing happened, now can you help me?

Posted
44 minutes ago, Enator18 said:

As you can see, there is no referenced libraries, and i can't do any forge stuff

I would start with the MDK, because it looks like you haven't got a mods.toml in your resources anywhere. You are also not using any sort of useful package name. Using the MDK as it comes will start you out with a skeleton project you can edit to your needs.

 

Once you've extracted the appropriate MDK files into a folder, import that folder into eclipse as an existing gradle project. It will do it's thing (if it doesn't, from the cmd prompt in your project folder, try gradlew --stop then refresh gradle projects)

 

When that finishes, run the genEclipseRuns gradle task.

 

Then you'll be ready to rock.

Posted

I did exactly as you detailed, and I got a slightly better result but still didn't work. I went into the examplemod and it didn't recognize any of the forge stuff, but then i did ctrl+shift+o and it imported everything, but then didn't recognize the imports that it just created. image.thumb.png.e94d00405776f18c9556e44b18cde1d0.png

Posted

The gradle project is still not setup, if you right-click on the project, select Gradle -> Refresh Gradle Project it should fix that. If it errors, try the gradlew --stop from the commandline in your project folder. If it gives errors after that, please post them so we can see what's up. :)

Posted (edited)

Did you run the eclipse task or only genEclipseRuns? To be honest, if I were you I would redo the project and follow a tutorial such as this to the letter, and see if that works.

Edited by vemerion
Posted

I think i found the source of the problem. I went into the build path configuration and found this, how do i fix. This is after doing gradlew genEclipseRuns and gradlew eclipse then importing it as a java project (i have tried it as a gradle project and i have the same problem.) 

Screenshot (9).png

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.