Posted July 6, 20205 yr 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?
July 6, 20205 yr Author As you can see, there is no referenced libraries, and i can't do any forge stuff
July 6, 20205 yr 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.
July 6, 20205 yr Author 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.
July 6, 20205 yr 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.
July 6, 20205 yr Please remove the project from Eclipse, then run `gradlew eclipse genEclipseRuns` in your project's directory, then re-import the project into Eclipse.
July 6, 20205 yr 1 minute ago, Enator18 said: It gives no errors when doing these but nothing changed. Can you run the eclipse gradle task?
July 6, 20205 yr Author i removed the gradlew eclipse and gradlew genEclipseRuns and readded the project and nothing got fixed
July 6, 20205 yr 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 July 6, 20205 yr by vemerion
July 10, 20205 yr Author 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.)
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.