Started by
AltoidSE
on
Topic category: Troubleshooting, bugs, and solutions
When I try to make a forge 1.20.1 workspace in the latest mcreator version, I get the following error.
Executing Gradle synchronization tasks
Build info: MCreator 2024.4.52410, forge-1.20.1, 64-bit, 65373 MB, Windows 10, JVM 21.0.4, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2025-01-04-03:06:56
FAILURE: Build failed with an exception.
* What went wrong:
Gradle could not start your build.
> Could not create service of type BuildLifecycleController using ServicesProvider.createBuildLifecycleController().
> Could not create service of type GradleInternal using ServicesProvider.createGradleModel().
> Could not create an instance of type org.gradle.invocation.DefaultGradle.
> Could not configure services using GradleScopeCompileServices.configure().
* 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 6s
BUILD FAILED
Task completed in 6 seconds
I have tried clicking rerun, clearing the Gradle cache, resetting all of my settings to default, and deleting all of my non-default plugins.
Try without all plugins and completely clearing gradle caches
The only plugins I have left are the generators and core that come pre-installed, removing them stops mcreator from even starting.
Ok, I fixed the problem by uninstalling mcreator, manually deleting all remaining files, and reinstalling.
Now I have a new problem. I wrote a quick test procedure for my mod, and now when I try to load into a world it gets stuck at 100% loading.
Picture of the function:
Here's the generated code:
And the logs from when I try to load into a world:
Please post whole log to paste service in accordance with General Publishing Guidelines.
https://hastebin.com/share/mobesotoqu.makefile