Ok, there's an error in Gradle Task
If you have an error and the final is this:
* 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.
I have the solution but i will love if the developers made a new version of all version with this option in "Run Gradle Task". The option is " --stacktrace "
All you have to do is Go to Tools, Others, Run Gradle Task, delete build and put --stacktrace
Will automatic Recompile mods.
Make this EVERY TIME you have to recompile.
Sorry, im bad at english.
Issue comments
14 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 2s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 4046 milliseconds
I have this problem when i run the mod. I try to regenerate the code but nothing append.
Please read https://mcreator.net/wiki/general-publishing-guidelines on where and how to post logs.
2021.1
Executing Gradle task: runClient
Build info: MCreator 2021.1.12313 EAP (12313), forge-1.15.2, 64-bit, 11545 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Users\IA_dequilettesk\Downloads\MCreator EAP 2021.1 b12313 Windows 64bit\MCreatorEAP20211b12313\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createSrgToMcp UP-TO-DATE
> Task :downloadMCMeta UP-TO-DATE
> Task :downloadAssets
> Task :extractNatives UP-TO-DATE
> Task :makeSrcDirs
> Task :prepareRuns
> Task :prepareRunClient
> Task :runClient FAILED
18:33.19 [main/INFO] [Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20200515.085601, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 31.2.0, --version, MOD_DEV, --assetIndex, 1.15, --assetsDir, C:\Users\IA_dequilettesk\.mcreator\gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}]
32:33.19 [main/INFO] [Launcher/MODLAUNCHER]: ModLauncher 5.1.2+70+master.2845bb9 starting: java version 1.8.0_275 by BellSoft
36:33.19 [main/DEBUG] [LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,fmldevdata,fmldevclient,fmldevserver,fmluserdevserver,testharness,fmluserdevdata,fmlclient,fmluserdevclient,fmlserver]
36:33.19 [main/DEBUG] [NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp]
36:33.19 [main/DEBUG] [LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [eventbus,object_holder_definalize,runtime_enum_extender,accesstransformer,capability_inject_definalize,runtimedistcleaner]
36:33.19 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services
36:33.19 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: []
36:33.19 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml]
36:33.19 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Transformation services loading
36:33.19 [main/DEBUG] [TransformationServiceDecorator/MODLAUNCHER]: Loading service fml
36:33.19 [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/]: Injecting tracing printstreams for STDOUT/STDERR.
36:33.19 [main/DEBUG] [LauncherVersion/CORE]: Found FMLLauncher version 31.2
36:33.19 [main/DEBUG] [FMLLoader/CORE]: FML 31.2 loading
36:33.19 [main/DEBUG] [FMLLoader/CORE]: FML found ModLauncher version : 5.1.2+70+master.2845bb9
36:33.19 [main/DEBUG] [FMLLoader/CORE]: Initializing modjar URL handler
36:33.19 [main/DEBUG] [FMLLoader/CORE]: FML found AccessTransformer version : 2.1.1+55+master.08d32b9
36:33.19 [main/DEBUG] [FMLLoader/CORE]: FML found EventBus version : 2.2.0+59+master.4f71e48
36:33.19 [main/DEBUG] [FMLLoader/CORE]: Found Runtime Dist Cleaner
36:33.19 [main/DEBUG] [FMLLoader/CORE]: FML found CoreMod version : 2.0.3+8+master.ca72757
36:33.19 [main/DEBUG] [FMLLoader/CORE]: Found ForgeSPI package implementation version 2.1.2+9+master.a8b4d92
36:33.19 [main/DEBUG] [FMLLoader/CORE]: Found ForgeSPI package specification 3
32:33.19 [main/INFO] [FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
36:33.19 [main/DEBUG] [TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml
36:33.19 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services
36:33.19 [main/DEBUG] [TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing
36:33.19 [main/DEBUG] [TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml
36:33.19 [main/DEBUG] [FMLServiceProvider/CORE]: Setting up basic FML game directories
36:33.19 [main/DEBUG] [FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\IA_dequilettesk\MCreatorWorkspaces\eons_paleo\run
36:33.19 [main/DEBUG] [FMLPaths/CORE]: Path GAMEDIR is C:\Users\IA_dequilettesk\MCreatorWorkspaces\eons_paleo\run
36:33.19 [main/DEBUG] [FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\IA_dequilettesk\MCreatorWorkspaces\eons_paleo\run\mods
36:33.19 [main/DEBUG] [FMLPaths/CORE]: Path MODSDIR is C:\Users\IA_dequilettesk\MCreatorWorkspaces\eons_paleo\run\mods
36:33.19 [main/DEBUG] [FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\IA_dequilettesk\MCreatorWorkspaces\eons_paleo\run\config
36:33.19 [main/DEBUG] [FMLPaths/CORE]: Path CONFIGDIR is C:\Users\IA_dequilettesk\MCreatorWorkspaces\eons_paleo\run\config
36:33.19 [main/DEBUG] [FMLPaths/CORE]: Path FMLCONFIG is C:\Users\IA_dequilettesk\MCreatorWorkspaces\eons_paleo\run\config\fml.toml
36:33.19 [main/DEBUG] [FMLServiceProvider/CORE]: Loading configuration
Exception in thread ":33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 com.electronwill.nightconfig.core.io.ParsingException: Not enough data available
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.core.file.AutoreloadFileConfig.load(AutoreloadFileConfig.java:41)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:57)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at net.minecraftforge.fml.loading.FMLConfig.load(FMLConfig.java:69)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:81)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:107)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at java.util.HashMap$Values.forEach(HashMap.java:981)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:107)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.Launcher.run(Launcher.java:75)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
32:33.19 [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052 at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102)
[m
] FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Users\IA_dequilettesk\Downloads\MCreator EAP 2021.1 b12313 Windows 64bit\MCreatorEAP20211b12313\jdk\bin\java.exe'' 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 11s
10 actionable tasks: 4 executed, 6 up-to-date
BUILD FAILED
Task completed in 11 seconds
can you help in this error
> Task :compileJava
> Task :processResources
> Task :classes
> Task :jar
> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createMcpToSrg
> Task :reobfJar FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':reobfJar'.
> java.util.zip.ZipException: zip END header not found
* 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
7 actionable tasks: 6 executed, 1 up-to-date
BUILD FAILED
Task completed in 28 seconds> Task :compileJava
> Task :processResources
> Task :classes
> Task :jar
> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createMcpToSrg
> Task :reobfJar FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':reobfJar'.
> java.util.zip.ZipException: zip END header not found
* 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
7 actionable tasks: 6 executed, 1 up-to-date
BUILD FAILED
Task completed in 28 seconds
Please paste the whole error log. And specify the MCreator version and OS.