Posted April 9, 20214 yr Hi there! I've recently been starting out with mod programming in Minecraft. As a version i chose 1.16.5 and downloaded the appropriate Forge MDK. I followed the wiki and ran gradlew genIntellijRuns After that I tried to start the game and got the following error message in in the "Build Output" tab: Execution failed for task ':compileJava'. > Could not resolve all files for configuration ':compileClasspath'. > Could not find net.minecraftforge:forge:1.16.5-36.1.4_mapped_official_1.16.5. Searched in the following locations: - https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.1.4_mapped_official_1.16.5/forge-1.16.5-36.1.4_mapped_official_1.16.5.module - https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.1.4_mapped_official_1.16.5/forge-1.16.5-36.1.4_mapped_official_1.16.5.pom - https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.1.4_mapped_official_1.16.5/forge-1.16.5-36.1.4_mapped_official_1.16.5.jar - file:/C:/Users/nbste/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.16.5-36.1.4_mapped_official_1.16.5/forge-1.16.5-36.1.4_mapped_official_1.16.5.pom - file:/C:/Users/nbste/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.16.5-36.1.4_mapped_official_1.16.5/forge-1.16.5-36.1.4_mapped_official_1.16.5.jar - https://libraries.minecraft.net/net/minecraftforge/forge/1.16.5-36.1.4_mapped_official_1.16.5/forge-1.16.5-36.1.4_mapped_official_1.16.5.jar - https://repo.maven.apache.org/maven2/net/minecraftforge/forge/1.16.5-36.1.4_mapped_official_1.16.5/forge-1.16.5-36.1.4_mapped_official_1.16.5.pom Required by: project : Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html I unfortunately do not understand how to transfer the solutions from the "Possible Solutions" link to my own problem. It is also noticeable that in the ExampleMod class minecraft, minecraftforge.common, minecraftforge.event, minecraftforge.eventbus, minecraftforge.fml and apache.logging aren't found and therefore are red. I hope I provided enough information for you to be able to give me a hint or to give me a solution to the problem. If anything is still needing for proper understanding, I will be determined to provide it. Thanks in advance, EinSteini Edited April 9, 20214 yr by EinSteini spelling
April 9, 20214 yr Author If you mean the entire console output, then here it is: https://pastebin.com/gZuktpe6 If you mean some different logs, then please guide me where to find them.
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.