Что делать если mcreator выдает ошибку
Перейти к содержимому

Что делать если mcreator выдает ошибку

  • автор:

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 (Microsoft Defender can cause problems too) 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 the 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.

How to add needed folders to Microsoft Defender exclusions?

To do this, do the following steps:

    Search for «Virus & threat protection» within the Windows start menu

Click «Virus & threat protection settings»
Click «Add an exclusion» and select «Folder» from the drop-down menu

  1. /.mcreator/
  2. /MCreatorWorkspaces
  3. Any other folder where you store your MCreator workspaces

Keep in mind this will not only reduce the amount of problems with Gradle, but will also increase the build and workspace setup times significantly. Keep in mind that this will make those folders not be scanned so make sure to check them manually with manual scan from time to time to be sure there are no threats located in those folders.

You can also add folder exclusions using the command line if you prefer this approach. Keep in mind this approach is more advanced and complex. Run the command line as administrator and use the following command with the selected folder path:

powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath «*»

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, restart the computer first. Then (without opening MCreator after the reboot), go to:

In this folder, there is a folder called caches. Delete this folder and open MCreator again. The 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 (but restart the computer again first), and try again.

If even this fails, try to delete the entire /.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:

Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.jar javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) at sun.security.ssl.Handshaker.process_record(Handshaker.java:914) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)

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:

:decompileMc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':decompileMc'. > Could not resolve all dependencies for configuration ':forgeGradleMcDeps'. > Could not resolve com.paulscode:codecjorbis:20101023. Required by: com.yourname.modid:forge:1.0 > Could not resolve com.paulscode:codecjorbis:20101023.

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:

Exception in thread "main" java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:219) at java.util.zip.ZipFile.(ZipFile.java:149) at java.util.zip.ZipFile.(ZipFile.java:163) at org.gradle.wrapper.Install.unzip(Install.java:159) at org.gradle.wrapper.Install.access$500(Install.java:26) at org.gradle.wrapper.Install$1.call(Install.java:69) at org.gradle.wrapper.Install$1.call(Install.java:46) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65) at org.gradle.wrapper.Install.createDist(Install.java:46) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)

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:

Exception in thread "main" java.lang.RuntimeException: Timeout of 120000 reached waiting for exclusive access to file: C:\Users\\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk\gradle-2.14-bin.zip at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:61) at org.gradle.wrapper.Install.createDist(Install.java:46) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)

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:

FAILURE: Build failed with an exception. * What went wrong: Could not connect to the Gradle daemon. Daemon uid: c7aac9bf-603e-4d48-8300-1ff078fbd044 with diagnostics: Daemon pid: 600 log file: C:\Users\Aloe\.mcreator\gradle\daemon\2.14\daemon-600.out.log ----- Last 20 lines from daemon log file - daemon-600.out.log -----

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:

FAILURE: Build failed with an exception. * What went wrong: Failed to load native library 'native-platform.dll' for Windows 10 amd64. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

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:

[14:01:14] [main/ERROR]: Couldn't set pixel format org.lwjgl.LWJGLException: Pixel format not accelerated at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method) ~[lwjgl-2.9.4-nightly-20150209.jar:?] at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52) ~[lwjgl-2.9.4-nightly-20150209.jar:?] at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:247) ~[lwjgl-2.9.4-nightly-20150209.jar:?] at org.lwjgl.opengl.Display.createWindow(Display.java:306) ~[lwjgl-2.9.4-nightly-20150209.jar:?] at org.lwjgl.opengl.Display.create(Display.java:848) ~[lwjgl-2.9.4-nightly-20150209.jar:?] at org.lwjgl.opengl.Display.create(Display.java:757) ~[lwjgl-2.9.4-nightly-20150209.jar:?] at net.minecraft.client.Minecraft.createDisplay(Minecraft.java:624) [Minecraft.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:457) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:377) [Minecraft.class:?] at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]

This error usually means that you have an unsupported graphics card for Minecraft our outdated graphics card drivers. These pages could help:

  • https://help.mojang.com/customer/en/portal/articles/928791-problematic-frame-or-pixel-format-not-accelerated
  • http://hopper.minecraft.net/help/pixel-format-not-accelerated/
  • https://github.com/tryashtar/minecraft-bugs/issues/279
  • https://answers.microsoft.com/en-us/windows/forum/windows_8-gaming/minecraft-pixel-format-not-accelerated-after-win/cc02d21d-4039-412c-8b8b-84b10b32e872?auth=1

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:

FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'forge'. > java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

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» or «failed to load code»

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

  1. Reload Gradle project
  2. 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:

  1. 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
  2. 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.

Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:compileJava’. #2135

doodoomuffins opened this issue Dec 14, 2021 · 7 comments

FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:compileJava’. #2135

doodoomuffins opened this issue Dec 14, 2021 · 7 comments
bug Something isn’t working

Comments

doodoomuffins commented Dec 14, 2021

Issue description

I have multiple mod elements, I’ve had them all on the same version, they work fine, and as I was trying to edit the creative tab order, it screwed up everything won’t compile properly anymore. Even if the elements work well and don’t cause issues, the program keeps putting random and certain elements as issues.

How to reproduce this issue?

I keep trying to regenerate cod and deleting and redoing elements, but it gives the same issues.

Operating system

Details

MCreator Version: 2022.2

Example workspace

Logs

Executing Gradle task: build
Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 7524 MB, Windows 10, JVM 11.0.11, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk

Task :compileJava
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\block\CheckerbluckBlock.java:33: error: cannot find symbol
elements.items.add(() -> new BlockItem(block, new Item.Properties().group(DeltaruneItemGroup.tab)).setRegistryName(block.getRegistryName()));
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.block.CheckerbluckBlock
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\block\CyberFieldGroundBlock.java:40: error: cannot find symbol
elements.items.add(() -> new BlockItem(block, new Item.Properties().group(DeltaruneItemGroup.tab)).setRegistryName(block.getRegistryName()));
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.block.CyberFieldGroundBlock
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\block\CybergroundBlock.java:57: error: cannot find symbol
elements.items.add(() -> new BlockItem(block, new Item.Properties().group(DeltaruneItemGroup.tab)).setRegistryName(block.getRegistryName()));
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.block.CybergroundBlock
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\block\PurpleGrassBlock.java:35: error: cannot find symbol
elements.items.add(() -> new BlockItem(block, new Item.Properties().group(DeltaruneItemGroup.tab)).setRegistryName(block.getRegistryName()));
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.block.PurpleGrassBlock
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\entity\HethyEntity.java:69: error: cannot find symbol
elements.items.add(() -> new SpawnEggItem(entity, -3355444, -16724941, new Item.Properties().group(DeltaruneItemGroup.tab))
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.entity.HethyEntity
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\entity\PonmanEntity.java:71: error: cannot find symbol
elements.items.add(() -> new SpawnEggItem(entity, -3355444, -6710887, new Item.Properties().group(DeltaruneItemGroup.tab))
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.entity.PonmanEntity
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\entity\RabbickEntity.java:55: error: cannot find symbol
elements.items.add(() -> new SpawnEggItem(entity, -1, -3342337, new Item.Properties().group(DeltaruneItemGroup.tab))
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.entity.RabbickEntity
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\entity\SPAMTONGEntity.java:58: error: cannot find symbol
elements.items.add(() -> new SpawnEggItem(entity, -65281, -256, new Item.Properties().group(DeltaruneItemGroup.tab))
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.entity.SPAMTONGEntity
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\entity\SPAMTONGEntity.java:112: error: cannot find symbol
this.entityDropItem(new ItemStack(KEYGENItem.block));
^
symbol: variable KEYGENItem
location: class net.mcreator.deltarune.entity.SPAMTONGEntity.CustomEntity
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\CardKingdomItem.java:20: error: cannot find symbol
super(new Item.Properties().group(DeltaruneItemGroup.tab).maxDamage(64));
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.CardKingdomItem
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\CyberWorldItem.java:20: error: cannot find symbol
super(new Item.Properties().group(DeltaruneItemGroup.tab).maxDamage(64));
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.CyberWorldItem
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\LegendaryHumanArmorItem.java:79: error: cannot find symbol
elements.items.add(() -> new ArmorItem(armormaterial, EquipmentSlotType.CHEST, new Item.Properties().group(DeltaruneItemGroup.tab)) ^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.LegendaryHumanArmorItem
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\LegendaryHumanArmorItem.java:85: error: cannot find symbol
elements.items.add(() -> new ArmorItem(armormaterial, EquipmentSlotType.LEGS, new Item.Properties().group(DeltaruneItemGroup.tab)) ^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.LegendaryHumanArmorItem
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\LegendaryHumanArmorItem.java:91: error: cannot find symbol
elements.items.add(() -> new ArmorItem(armormaterial, EquipmentSlotType.FEET, new Item.Properties().group(DeltaruneItemGroup.tab)) ^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.LegendaryHumanArmorItem
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\LHSwordItem.java:55: error: cannot find symbol
>, 3, -2.5f, new Item.Properties().group(DeltaruneItemGroup.tab).isImmuneToFire()) ^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.LHSwordItem
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\LMARMORTHINGItem.java:79: error: cannot find symbol
elements.items.add(() -> new ArmorItem(armormaterial, EquipmentSlotType.CHEST, new Item.Properties().group(DeltaruneItemGroup.tab)) ^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.LMARMORTHINGItem
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\LMARMORTHINGItem.java:85: error: cannot find symbol
elements.items.add(() -> new ArmorItem(armormaterial, EquipmentSlotType.LEGS, new Item.Properties().group(DeltaruneItemGroup.tab)) ^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.LMARMORTHINGItem
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\LMARMORTHINGItem.java:91: error: cannot find symbol
elements.items.add(() -> new ArmorItem(armormaterial, EquipmentSlotType.FEET, new Item.Properties().group(DeltaruneItemGroup.tab)) ^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.LMARMORTHINGItem
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\LMAxeItem.java:47: error: cannot find symbol
super(new Item.Properties().group(DeltaruneItemGroup.tab).maxDamage(500).isImmuneToFire());
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.LMAxeItem.ItemToolCustom
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\item\ScarletForestDiscItem.java:37: error: cannot find symbol
new Item.Properties().group(DeltaruneItemGroup.tab).maxStackSize(1).rarity(Rarity.RARE));
^
symbol: variable DeltaruneItemGroup
location: class net.mcreator.deltarune.item.ScarletForestDiscItem.MusicDiscItemCustom
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\procedures\SpamtongthingProcedure.java:74: error: package SPAMTONEntity does not exist
Entity entityToSpawn = new SPAMTONEntity.CustomEntity(SPAMTONEntity.entity, (World) world);
^
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\procedures\SpamtongthingProcedure.java:74: error: cannot find symbol
Entity entityToSpawn = new SPAMTONEntity.CustomEntity(SPAMTONEntity.entity, (World) world);
^
symbol: variable SPAMTONEntity
location: class net.mcreator.deltarune.procedures.SpamtongthingProcedure
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\world\dimension\CardKingdomDimension.java:223: error: cannot find symbol
return state.getBlock() == CheckerBlockItem.block;
^
symbol: variable CheckerBlockItem
location: class net.mcreator.deltarune.world.dimension.CardKingdomDimension.CustomPortalSize
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\world\dimension\CardKingdomDimension.java:493: error: package CheckerBlockItem does not exist
BlockState blockstate1 = i3 < 0 ? CheckerBlockItem.block.getDefaultState() : Blocks.AIR.getDefaultState();
^
C:\Users\jmray\MCreatorWorkspaces\deltarune\src\main\java\net\mcreator\deltarune\world\dimension\CardKingdomDimension.java:505: error: package CheckerBlockItem does not exist
this.world.setBlockState(blockpos$mutable, CheckerBlockItem.block.getDefaultState(), 3);
^
25 errors
Task :compileJava FAILED
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 8.0.
    You can use ‘—warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
    See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings
    BUILD FAILED in 4s
    1 actionable task: 1 executed
    BUILD FAILED
    Task completed in 16 seconds

Issue tracker rule checks (please read carefully)

  • I have checked that my problem is not already reported
  • I have checked that my problem is not covered on Knowledge Base or on MCreator’s Wiki
  • I have checked that my written content does not violate the publishing guidelines

The text was updated successfully, but these errors were encountered:

[Разное] Как исправить некоторые ошибки в MCreator?

И так начнём с того, что все ошибки указанные ниже, были обнаружены на версии 1.4.5 для версии Minecraft’a 1.7.2! Кстати всё что выделено коричнево-оранжевым цветом будет внизу описано более подробно!
Приступим:
Ошибки во время установки , скорее всего связаны с в Вашей криворукостью!
Решение:
Попробуйте переустановить minecraft! Он обязательно должен лежать в папке .minecraft!
Проверти подходит ли версия программы к версии minecraft’a!
Попробуйте установить forge или его переустановить!
Поудаляйте моды!
Ошибки во время создания или загрузки текстур блоков\вещей!
Решение:
Народный способ: просто напросто пересоздать текстуру! Возможно текстура которая сделана не с помощью MCreator’a, в формате Jpg — решить это можно легко! Откройте вашу текстуру в любом ГрафРедакторе и сохраните в формате PNG !
Слишком большой размер — либо много весит, либо слишком большая. Первое решается так — открываете в ГР текстуру и сохраняете в худшем качестве (photoshop)!
Ну с большим размером (пикселы) думаю всё понятно! Советую делать текстуры для первого раза в размере 16х16 пикс.
Вылет при создании мода.
Пока нет решения.
Извиняюсь, но тут я бессилен!
Ошибки во время рекомпляции мода
Решение
Возможно в вашем моде присутствуют не поддерживаемые символы !
Или в вашем моде не стыковка, например во время создания event’a вы сделали помарку! Обращайте на это больше внимания!
Фиолетово- чёрные текстуры после создания мода !
Решение
Формат jpg (рассказывалось ранее)!
Возможно у вас текстуры не сохранились в архиве, у меня была эта ошибка и решил я её как ни странно быстро! После того как вы загрузили текстуру, её копия должна лежать в папке, а как её открыть написано ниже! После того как мы её открыли видим те текстуры (в папках Block, Item, и ещё какая ) копируем все эти три папки в архив с нашим модом (там должен быть такой же путь как и у папки с нашими текстурами)!

Тот самый низ что был вверху!
ГрафРедактор или Графический редактор — это paint, photoshop и.т.д!
ГР — сокращение Графического редактора!
Рекомпляция — это создание вашего мод, ход данного действия можно отследить сдесь:

После синих «Букв» идут красные, а потом зелёные, то значит всё чики-пуки
Поддерживаемые символы — это все знаки препинания и цифры, а также только английский язык! А как перевести ваш мод на Русский язык, я расскажу в следующем гайде!
Ну вот и всё ребяты! Вот вам ссылка что-бы скачать MCREATOR!
P.S Указывайте что я пропустил и оцените мой труд. Писал статью где то минут 20!

Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launch error #3943

tyyyg78 opened this issue Jun 11, 2023 · 1 comment

launch error #3943

tyyyg78 opened this issue Jun 11, 2023 · 1 comment
bug Something isn’t working

Comments

tyyyg78 commented Jun 11, 2023

Issue description

mod has failed to load correctly

How to reproduce this issue?

Export the mod
Launch it with Minecraft
Error pops up

Operating system

Details

Mcreator Version 2023.1
Forge Version 1.18.2 (43.1.7)

Example workspace

Logs

—- Minecraft Crash Report —-
// I let you down. Sorry 🙁

Time: 6/11/23, 9:47 PM
Description: Mod loading error has occurred

java.lang.Exception: Mod Loading has failed
at net.minecraftforge.logging.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:55) ~[forge-1.18.2-40.1.76-universal.jar%2366!/:?]
at net.minecraftforge.client.loading.ClientModLoader.completeModLoading(ClientModLoader.java:170) ~[forge-1.18.2-40.1.76-universal.jar%2366!/:?]
at net.minecraft.client.Minecraft.lambda$new$1(Minecraft.java:557) ~[client-1.18.2-20220404.173914-srg.jar%2361!/:?]
at net.minecraft.Util.m_137521_(Util.java:556) ~[client-1.18.2-20220404.173914-srg.jar%2361!/:?]
at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:551) ~[client-1.18.2-20220404.173914-srg.jar%2361!/:?]
at net.minecraft.client.gui.screens.LoadingOverlay.m_6305_(LoadingOverlay.java:196) ~[client-1.18.2-20220404.173914-srg.jar%2361!/:?]
at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1283) ~[client-1.18.2-20220404.173914-srg.jar%2361!/:?]
at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1046) ~[client-1.18.2-20220404.173914-srg.jar%2361!/:?]
at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:665) ~[client-1.18.2-20220404.173914-srg.jar%2361!/:?]
at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.2-20220404.173914-srg.jar%2361!/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[. ] <>
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[. ] <>
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[. ] <>
at java.lang.reflect.Method.invoke(Method.java:568) ~[. ] <>
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.1.76.jar%2317!/:?] <>
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?] <>
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?] <>
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?] <>
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?] <>
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?] <>
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?] <>
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?] <>
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] <>

A detailed walkthrough of the error, its code path and all known details is as follows:

— Head —
Thread: Render thread
Stacktrace:
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[. ] <>
— MOD multiverse —
Details:
Caused by 0: java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[. ] <>
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[. ] <>
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[. ] <>
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[. ] <>
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[. ] <>
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:67) ~[javafmllanguage-1.18.2-40.1.76.jar%2363!/:?] <>
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:106) ~[fmlcore-1.18.2-40.1.76.jar%2362!/:?] <>
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[. ] <>
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[. ] <>
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[. ] <>
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[. ] <>
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[. ]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[. ]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[. ] <>

Caused by 1: java.lang.NoClassDefFoundError: software/bernie/geckolib3/core/IAnimatable at java.lang.ClassLoader.defineClass1(Native Method) ~[. ] <> at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[. ] <> at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:116) ~[securejarhandler-1.0.3.jar:?] <> at cpw.mods.cl.ModuleClassLoader.lambda$findClass$16(ModuleClassLoader.java:216) ~[securejarhandler-1.0.3.jar:?] <> at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:226) ~[securejarhandler-1.0.3.jar:?] <> at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:216) ~[securejarhandler-1.0.3.jar:?] <> at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:132) ~[securejarhandler-1.0.3.jar:?] <> at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[. ] <> at net.mcreator.multiverse.init.MultiverseModEntities.(MultiverseModEntities.java:36) ~[xeventtest2.jar%2360!/:?] at net.mcreator.multiverse.MultiverseMod.(MultiverseMod.java:51) ~[xeventtest2.jar%2360!/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[. ] <> at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[. ] <> at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[. ] <> at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[. ] <> at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[. ] <> at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:67) ~[javafmllanguage-1.18.2-40.1.76.jar%2363!/:?] <> at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:106) ~[fmlcore-1.18.2-40.1.76.jar%2362!/:?] <> at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[. ] <> at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[. ] <> at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[. ] <> at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[. ] <> at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[. ] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[. ] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[. ] <> Mod File: /C:/Users/DELL/AppData/Roaming/.minecraft/mods/xeventtest2.jar Failure message: multiverse (multiverse) has failed to load correctly java.lang.reflect.InvocationTargetException: null Mod Version: 1.0.0 Mod Issue URL: NOT PROVIDED Exception message: java.lang.ClassNotFoundException: software.bernie.geckolib3.core.IAnimatable 

Stacktrace:
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[. ] <>
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[. ] <>
at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:134) ~[securejarhandler-1.0.3.jar:?] <>
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[. ] <>
at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:134) ~[securejarhandler-1.0.3.jar:?] <>
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[. ] <>
at java.lang.ClassLoader.defineClass1(Native Method) ~[. ] <>
at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[. ] <>
at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:116) ~[securejarhandler-1.0.3.jar:?] <>
at cpw.mods.cl.ModuleClassLoader.lambda$findClass$16(ModuleClassLoader.java:216) ~[securejarhandler-1.0.3.jar:?] <>
at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:226) ~[securejarhandler-1.0.3.jar:?] <>
at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:216) ~[securejarhandler-1.0.3.jar:?] <>
at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:132) ~[securejarhandler-1.0.3.jar:?] <>
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[. ] <>
at net.mcreator.multiverse.init.MultiverseModEntities.(MultiverseModEntities.java:36) ~[xeventtest2.jar%2360!/:?]
at net.mcreator.multiverse.MultiverseMod.(MultiverseMod.java:51) ~[xeventtest2.jar%2360!/:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[. ] <>
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[. ] <>
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[. ] <>
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[. ] <>
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[. ] <>
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:67) ~[javafmllanguage-1.18.2-40.1.76.jar%2363!/:?] <>
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:106) ~[fmlcore-1.18.2-40.1.76.jar%2362!/:?] <>
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[. ] <>
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[. ] <>
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[. ] <>
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[. ] <>
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[. ]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[. ]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[. ] <>

— System Details —
Details:
Minecraft Version: 1.18.2
Minecraft Version ID: 1.18.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.1, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 765239120 bytes (729 MiB) / 1711276032 bytes (1632 MiB) up to 3154116608 bytes (3008 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz
Identifier: Intel64 Family 6 Model 69 Stepping 1
Microarchitecture: Haswell (Client)
Frequency (GHz): 1.70
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 4
Graphics card #0 name: Intel(R) HD Graphics Family
Graphics card #0 vendor: Intel Corporation (0x8086)
Graphics card #0 VRAM (MB): 1024.00
Graphics card #0 deviceId: 0x0a16
Graphics card #0 versionInfo: DriverVersion=20.19.15.4531
Memory slot #0 capacity (MB): 4096.00
Memory slot #0 clockSpeed (GHz): 1.60
Memory slot #0 type: DDR3
Memory slot #1 capacity (MB): 4096.00
Memory slot #1 clockSpeed (GHz): 1.60
Memory slot #1 type: DDR3
Virtual memory max (MB): 13477.26
Virtual memory used (MB): 8737.54
Swap memory total (MB): 5369.44
Swap memory used (MB): 453.10
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx3000M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
OptiFine Version: OptiFine_1.18.2_HD_U_H9_pre1
OptiFine Build: 20220823-161442
Render Distance Chunks: 2
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 3.2.0 — Build 20.19.15.4531
OpenGlRenderer: Intel(R) HD Graphics 4400
OpenGlVendor: Intel
CpuCount: 4
ModLauncher: 9.1.3+9.1.3+main.9b69c82a
ModLauncher launch target: forgeclient
ModLauncher naming: srg
ModLauncher services:
mixin PLUGINSERVICE
eventbus PLUGINSERVICE
slf4jfixer PLUGINSERVICE
object_holder_definalize PLUGINSERVICE
runtime_enum_extender PLUGINSERVICE
capability_token_subclass PLUGINSERVICE
accesstransformer PLUGINSERVICE
runtimedistcleaner PLUGINSERVICE
mixin TRANSFORMATIONSERVICE
OptiFine TRANSFORMATIONSERVICE
fml TRANSFORMATIONSERVICE
FML Language Providers:
minecraft@1.0
lowcodefml@null
javafml@null
Mod List:
client-1.18.2-20220404.173914-srg.jar |Minecraft |minecraft |1.18.2 |COMMON_SET|Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
Customizable-Player-Models-Mod-Forge-1.18.2.jar |Customizable Player Models |cpm |0.6.7a |COMMON_SET|Manifest: NOSIGNATURE
xeventtest2.jar |multiverse |multiverse |1.0.0 |ERROR |Manifest: NOSIGNATURE
forge-1.18.2-40.1.76-universal.jar |Forge |forge |40.1.76 |COMMON_SET|Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90
Mob-Battle-Mod-1.18.2.jar |Mob Battle Mod |mobbattle |1.18.2-2.4.2 |COMMON_SET|Manifest: NOSIGNATURE
tl_skin_cape_forge_1.18_1.18.2-1.25.jar |TLSkinCape |tlskincape |1.25 |COMMON_SET|Manifest: 19:f5:ce:44:81:0c:e4:22:05:5e:73:c5:a8:cd:de:f3:c8:cf:a9:b3:01:70:40:a0:ee:2d:50:7a:1c:3d:1c:8a
Citadel-Mod-1.18.2.jar |Citadel |citadel |1.11.3 |COMMON_SET|Manifest: NOSIGNATURE
Cataclysm-Mod-Forge-1.18.2.jar |Cataclysm Mod |cataclysm |1.0 |COMMON_SET|Manifest: NOSIGNATURE
Crash Report UUID: fdc237b5-5cb1-4e09-a917-9b293d51dc21
FML: 40.1
Forge: net.minecraftforge:40.1.76

Issue tracker rule checks (please read carefully)

  • I have checked that my problem is not already reported
  • I have checked that my problem is not covered on Knowledge Base or on MCreator’s Wiki
  • I have checked that my written content does not violate the publishing guidelines

The text was updated successfully, but these errors were encountered:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *