Topic category: Help with Minecraft modding (Java Edition)
When i try to make a Neoforge mod it gives me an error
Executing Gradle task: idePostSync
Build info: MCreator 2024.2.29712, neoforge-1.20.6, 64-bit, 16334 MB, Windows 10, JVM 21.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-07-30-21:55:49
Reusing configuration cache.
> Task :cacheVersionManifest1.20.6 UP-TO-DATE
> Task :create1.20.6ClientExtraJar UP-TO-DATE
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.20.6_client-extra UP-TO-DATE
> Task :cacheVersionExecutableClient1.20.6 UP-TO-DATE
> Task :cacheVersionExecutableServer1.20.6 UP-TO-DATE
> Task :cacheVersionMappingsClient1.20.6 UP-TO-DATE
> Task :neoFormExtractServer UP-TO-DATE
> Task :cacheVersionMappingsServer1.20.6 UP-TO-DATE
> Task :neoFormMergeMappings UP-TO-DATE
> Task :neoFormStripClient UP-TO-DATE
> Task :neoFormStripServer UP-TO-DATE
> Task :neoFormMerge UP-TO-DATE
> Task :neoFormListLibraries UP-TO-DATE
> Task :neoFormRename UP-TO-DATE
> Task :neoFormDecompile UP-TO-DATE
> Task :neoFormApplyForgesAccessTransformer UP-TO-DATE
> Task :neoFormInject UP-TO-DATE
> Task :neoFormPatch UP-TO-DATE
> Task :neoFormPatchUserDev UP-TO-DATE
> Task :neoFormApplyOfficialMappings UP-TO-DATE
> Task :supplySourcesForneoFormJoined1.20.6-20240429.153634 UP-TO-DATE
> Task :selectSourceArtifactNg_dummy_ng.net.neoforged_neoforge_20.6.117 UP-TO-DATE
> Task :neoFormUnzipSources UP-TO-DATE
> Task :neoFormRecompile
Error: Could not find or load main class worker.org.gradle.process.internal.worker.GradleWorkerMain
Caused by: java.lang.ClassNotFoundException: worker.org.gradle.process.internal.worker.GradleWorkerMain
> Task :neoFormRecompile FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':neoFormRecompile'.
> Failed to run Gradle Worker Daemon
> Process 'Gradle Worker Daemon 1' finished with non-zero exit value 1
* 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 12s
24 actionable tasks: 1 executed, 23 up-to-date
Configuration cache entry reused.
BUILD FAILED
Task completed in 12 seconds
Can anyone help me?
Try deleting build folder in workspace folder.
If this does not help, check out https://mcreator.net/wiki/gradle-setup-errors
Sorry for late reply, but wdym by deleting the workspace folder? I need help with the "NeoFormRecompile" that is causing the error.
I really need to solve this problem too