Topic category: Help with Minecraft modding (Java Edition)
I just started to making my own mod, but when I wanted to check how it works, I got the message:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find net.minecraftforge:forge:1.20.1-47.3.0_mapped_official_1.20.1.
Searched in the following locations:
- file:/C:/Users/User1/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.pom
- file:/C:/Users/User1/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.jar
Required by:
project :
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 22s
I even tryied to make this folders and add forge-1.20.1-47.3.0_mapped_official_1.20.1.jar and 1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.pom by my self, but it did not work either!
I researched many orher forums but it also did not help.
I hope that someone who know how to deal with this error will help me and others with this error.
p.s sorry for my bad english
Also I have a problems with storage on the C disk so i downloaded MCreator on my D disk
Something is preventing MCreator from writing to these folders.
Make sure you allow it and then clear caches as explained in our knowledge base and then try again
Can it be because I don't have enough storage on my C disk? Cause on my C disk there are less then 500MB of storage
Also I tried turn on MCreator with Admin Permision few times and that also didn't work
Maybe you can try send link to download forge-1.20.1-47.3.0_mapped_official_1.20.1.jar and 1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.pom files from your project, and i will just try to make folders ( bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1 ) by my own and just put files in there
Gradle requires access to those URLs as it updates and manages those files so this will not work.
You need to figure out why MCreator is not allowed to write or access those files on your PC