Posted June 9, 20232 yr I want to install the mdk for the latest version 1.20 but the command ./gradlew genEclipseRuns fails: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'forge-1.20-46.0.2-mdk'. > Could not resolve dependency: net.minecraftforge:forge:1.20-1.20-46.0.2:userdev * Exception is: org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'forge-1.20-46.0.2-mdk'. Caused by: java.lang.IllegalStateException: Could not resolve dependency: net.minecraftforge:forge:1.20-1.20-46.0.2:userdev
June 9, 20232 yr Author I replaced in file build.gradle minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}" with: minecraft "net.minecraftforge:forge:1.20-46.0.2" and it works now. It seems that ${forge_version} contains ${minecraft_version}
June 9, 20232 yr 3 hours ago, Zacomat said: It seems that ${forge_version} contains ${minecraft_version} There's a bug with the mdk. There's already a PR to fix it.
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.