Gradle setup and build errors
It can happen that you get gradle errors during the setup of MCreator or even later when suddenly builds stop working. Most of these errors are related to file permissions, firewalls and other OS elements that block MCreator from operating properly. To find the solution for your case, check the error log in the Console tab and look for error messages similar to the titles on this page and if you find one of these, go to the section under this title to look for the solution.
The most common solution
In most cases all Gradle errors are caused by one of these:
- Firewall or antivirus blocking MCreator
- Slow internet connection
- Your ISP blocking certain websites
- Too slow VPN or VPN with blocked domains that MCreator needs to access
- Any other software blocking access to download repository
The most common errors from Gradle are caused by firewalls or antivirus software. If you have any issues, we recommend you to temporarily turn off this software and try again. If this works, add MCreator as an exception to your firewall or antivirus or reconfigure the software properly to not block programs such as MCreator.
It can also happen that the servers from which Gradle downloads files (Minecraft servers, Minecraft Forge repo, Maven repository) are down and you might just need to try again later in such cases.
In some cases of unstable or slow connections, running the setup multiple times and when it fails with errors related to the internet connection (timeout errors, failed to connect, failed to GET, HEAD, . ) clicking re-run the setup multiple times resolves the issue as eventually, all files get properly downloaded.
The second most common solution
In some cases, Gradle caches that make sure the build process does not take too long can get corrupted. In such a case, go to:
<your user home folder>/.mcreator/gradle
In this folder, there is a folder called caches. Delete this folder and open MCreator again. Next build will take a bit longer as caches need to be rebuilt. If you can not delete all files in this folder (which is necessary), reboot the computer first to remove any potential file locks.
If this is not enough to make things work, delete the entire gradle folder, not just caches, and try again.
If even this fails, try to delete the entire <your user home folder>/.mcreator/gradle folder, create a new workspace with the same generator version as the version of the workspace failing, after the setup of this new workspace is done, open your current workspace, and click Build & run -> Build workspace, then Build & run -> Reload gradle project and then Build & run -> Regenerate code and build.
Common error types
Could not get unknown property ‘runClient’ for root project ‘forge’
The first thing to check is to do The second most common solution described above.
Another solution is to make sure MCreator can write to the folder where the workspace is stored.
If none of this helps, do The second most common solution and reinstall MCreator before opening it again.
ValidatorException: PKIX path building failed
Example of the error log in the Console tab:
The most common cause for this issue is Antivirus with any advanced SSL or HTTPS security turned on. Such Antiviruses can alter certificates and cause Gradle to no properly recognize them. This can be caused by a firewall too.
Could not resolve all dependencies for configuration ‘:classpath’.
Example of the error log in the Console tab:
This issue is resolved by The most common solution described above.
java.util.zip.ZipException: error in opening zip file
Example of the error log in the Console tab:
This issue is resolved by The second most common solution described above (but delete the entire gradle folder, not just the folder caches in it). You might need to restart your computer before opening MCreator again too.
Timeout of 120000 reached waiting for exclusive access to file
Example of the error log in the Console tab:
Close MCreator and reboot your computer. Then read and do The second most common solution described above (but delete the entire gradle folder, not just the folder caches in it).
Could not connect to the Gradle daemon
Example of the error log in the Console tab:
In most cases, this error can be fixed by rebooting MCreator. If this does not help, do The second most common solution described above.
Failed to load native library ‘native-platform.dll’ for Windows 10 amd64
Example of the error log in the Console tab:
<your user home folder>/.mcreator/gradle
In this folder, there is a folder called native. Delete this folder and open MCreator again. If this does not help, try reinstalling Minecraft on your computer and check your graphics card drivers (update them if there are updates).
org.lwjgl.LWJGLException: Pixel format not accelerated
Example of the error log in the Console tab:
This error usually means that you have an unsupported graphics card for Minecraft our outdated graphics card drivers. These pages could help:
Sometimes reinstallation of Minecraft can help too.
Expected BEGIN_OBJECT but was STRING at line 1 column 1
Example of the error log in the Console tab:
This issue is resolved by The second most common solution described above (but delete the entire gradle folder, not just the folder caches in it). You might need to restart your computer before opening MCreator again too.
Gradle task compileJava FAILED with errors of type «Override is not a repeatable annotation type»
In some cases, links to the libraries from the Gradle build system can get lost and MCreator builds will stop working. Especially some mod elements such as GUIs and dimensions are prone to this happening. When this happens, the following solution usually fixes this error:
Go to the Build & run menu and click the following two options in the given order
- Reload Gradle project
- Regenerate code and build
Wait for the workspace code to be regenerated and the error should be gone.
Gradle task compileJava FAILED with 100 errors of type «cannot find symbol»
This issue is resolved by The second most common solution described at the top of this page. After applying the solution, run the build again.
Error occurred during initialization of VM: Picked up _JAVA_OPTIONS
This error indicates there is an override for JAVA_OPTIONS defined somewhere. There are multiple possible places:
- Check your computer environment variables (system and user) and if there is a parameter _JAVA_OPTIONS or JAVA_OPTIONS present, remove it from the list
- It was reported that Razer Synapse software can override this parameter and cause compatibility problems. In this case, consider disabling or uninstalling this software
If these two do not help, make sure you are using a 64-bit version of MCreator if your computer is 64-bit, as this may cause such a problem too.
Donate to MCreator
By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.
GeckoLib + MCreator | Ошибка при установке.
Столкнулся с проблемой загрузки GeckoLib в программу MCreator .
При компиляции или после перегенерации кода выскакивает ошибка:
По инструкции и гайдам требуется скачать плагин — Feder’s Geckolib 2.0.0 Plugin | MCreator и поместить его в папку plagins
после зайти во вкладку " Рабочее пространство/Настройки рабочего пространства. /Внешние API " и поставить галочку на против пункта GeckoLib API .
После чего по "сюжету" мы перегенерируем код.
Но тут же в консоли выскакивает ошибка
Все эти ссылки не работают.
На форумах пусто.
В интернете ничего нет.
Дальше forge_grable путь не сходится.
В чем может быть проблема? Есть ли те, кого всё работает? Какую версию Mc вы используете и может ли скинуть архивом папку bernie с всем содержимым?
Буду очень признателен.
Problems With MCreator? (Fix Tutorial)(OLD, MIGHT NOT HELP ANYMORE)
Hey, i tried making a mod for 1.7.10 version 1.7.3 everything goes well at first but when i try and launch the game it just crashed before the menu screen pops up, its a custom model with custom textures btw.
did not work in 1.12.2 either
Executing gradle command: cleanCache clean setupDecompWorkspace —refresh-dependencies
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator176>cd forge
C:\Pylo\MCreator176\forge>SET "JAVA_HOME=C:\Pylo\MCreator176\jdk32\"
C:\Pylo\MCreator176\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator176\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator176\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace —refresh-dependencies
This mapping ‘snapshot_20170624’ was designed for MC 1.12! Use at your own peril.
#################################################
ForgeGradle 2.3-SNAPSHOT-583d1ba
github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:cleanCache
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource.
Applying Exceptor.
:decompileMc
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:decompileMc’.
> Process ‘command ‘C:\Pylo\MCreator176\jdk32\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.
BUILD FAILED
Total time: 2 mins 38.748 secs
C:\Pylo\MCreator176\forge>
Task completed with return code 0 in 161306 milliseconds
I have this error on Mcreator.
(This report is from the console)
for some reason the "test game" doesn’t load and sends me this report:
here it is:
Что делать если mcreator выдает ошибку
/>player$444055 />
Дело в том что вылазит ошибка на Testing status of code.В чём проблема ? Очень долго в интернете рылся так и не нашел ответ на свою проблему. Может как то эту программу заменить на другую подобную можно? если да то какую)
Моя задача переделать мир на более читерский.типа
заранее спасибо всем откликнувшимся
———
я всё правильно написал гражданин ya can ru, я говорю про обычную игру Minecraft! В программе mccreator абсолютно ничего нельзя сделать в мультиплеере, это только для синглплеера. Проблема так и не решилась. Спасибо всем кто помогал!
[color=gray][size=9]Редактировалось 6 раз(а), последний 2014-02-04 19:03:31[/size][/color]