Topic category: Help with MCreator software
so i edited the build.gradle file and it completely broke, now when i build it gets stuck on Resolve dependencies of detachedConfiguration1
i tried copying the build.gradle file from another project and it gave the same error.
line: 2
* What went wrong:
Plugin [id: 'net.minecraftforge.gradle', version: '[6.0,6.2)'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'net.minecraftforge.gradle:net.minecraftforge.gradle.gradle.plugin:[6.0,6.2)')
Searched in the following repositories:
Gradle Central Plugin Repository
MinecraftForge(https://maven.minecraftforge.net/)
* 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 1m 12s
is there any way to replace the build.gradle file or fix this issue?
And here I feel panicked when I find a game-breaking bug a couple hours after updating a mod. Imagine how the folks at Forge'll feel... 0_0
i had this error before, it fixed now and now i have 312 errors when it tries to build now lmao
damn, i will not mess around anymore them, just sit and wait
Usually, if you've got hundreds of errors it means the gradle's corrupt- in this case it looks like forge is down and it's not able to load the gradle in the first place. So yeah, until it's back up, I doubt you'll be able to fix it. (And speaking from personal experience, it's very easy to make things a lot worse if you start messing around under the hood...)
forge is currently down. only solution is to wait.
https://www.isitdownrightnow.com/minecraftforge.net.html
forge is back on but the error of literally every single minecraft class like item etc still persists
yep, all my blocks are erroring
I'm assuming it's still just a corrupted gradle error. Going to try reloading the caches again.
Can confirm: reloading the gradle project, (you can do this in the build menu), and then regenerating the code fixes the issue. It will still initially appear broken after reloading, but this is a necessary step.
Hey there! The issue is now fixed, it was just forge being down for the minute.
my blocks are still broken for me, reset gradle again nd everything
You need to clear the entire gradle folder, and then regenerate the code. It'll still appear broken after you initially build after clearing the gradle. (If that doesn't work, it might be something else?)
Wow, first time I've ever seen a post marked as a "hot topic"
ive deleted the entire folder and such, only this one workspace seems to have broken (it doesnt even do the workspace setup after gradle clearing)