Posted May 15, 20223 yr I got the similiar problem... I'm using VSCode with OpenJDK 17, Gradle 7.4, Forge 1.18.2-40.0.52. And the error is basically same as the post. When I running the command, gradlew genVSCodeRuns I got this error message: Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find net.minecraftforge:forge:1.18.2-40.0.52_mapped_official_1.18.2. Searched in the following locations: - file:/C:/Users/Administrator/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.18.2-40.0.52_mapped_official_1.18.2/forge-1.18.2-40.0.52_mapped_official_1.18.2.pom - file:/C:/Users/Administrator/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.18.2-40.0.52_mapped_official_1.18.2/forge-1.18.2-40.0.52_mapped_official_1.18.2.jar Required by: project : It didn't search the dependencies on the web, not like the post... I also ran the command, gradlew build --stacktrace --console plain I got the same error too. I just copied and pasted the MDK's code into my project, the build.gradle wasn't modified before I got the error. (My project name is examplemod, just for test and run the MDK's code.) What should I do to fix the error?
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.