Jump to content

Help with my forge setup (1.15 this time)


Enator18

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.