Topic category: Troubleshooting, bugs, and solutions
Hello, when you enter the command - assembly, it displays an error, I tried to delete the gradle folder, cache, reinstall the program - it did not help.
Error: Build info: MCreator 2021.1.18117, forge-1.16.5, 64-bit, 16333 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C: \ Program Files \ Pylo \ MCreator \ jdk
FAILURE: Build failed with an exception.
* What went wrong:
Task ' ' not found in root project 'tournament'.
* Try:
Run gradle tasks to get a list of available tasks. 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 1s
BUILD FAILED
Task completed in 1 second
When I launch the world with this mod, the world crashes. I created a clean, empty test project and it also did not start and gave an error!
Help!
When starting the world:
18:26.42 [Server thread/INFO] [minecraft/MinecraftServer]: Preparing start region for dimension minecraft:overworld
18:26.42 [Render thread/INFO] [minecraft/LoggingChunkStatusListener]: ���������� ������� �����������: 0%
18:26.42 [Render thread/INFO] [minecraft/LoggingChunkStatusListener]: ���������� ������� �����������: 0%
18:26.44 [Render thread/INFO] [minecraft/LoggingChunkStatusListener]: ���������� ������� �����������: 83%
18:26.44 [Render thread/INFO] [minecraft/LoggingChunkStatusListener]: ���������� ������� �����������: 83%
18:26.44 [Render thread/INFO] [minecraft/LoggingChunkStatusListener]: ���������� ������� �����������: 83%
18:26.44 [Render thread/INFO] [minecraft/LoggingChunkStatusListener]: ���������� ������� �����������: 83%
18:26.45 [Render thread/INFO] [minecraft/LoggingChunkStatusListener]: ���������� ������� �����������: 83%
18:26.45 [Render thread/INFO] [minecraft/LoggingChunkStatusListener]: ���������� ������� �����������: 86%
18:26.46 [Render thread/INFO] [minecraft/LoggingChunkStatusListener]: ���������� ������� �����������: 96%
18:26.46 [Server thread/ERROR] [EventBus/EVENTBUS]: Exception caught during firing event: tried to access class net.minecraft.tournament.TournamentMod$TournamentModFMLBusEvents from class net.minecraftforge.eventbus.ASMEventHandler_10_TournamentModFMLBusEvents_serverLoad_FMLServerStartingEvent
Index: 1
Listeners:
0: NORMAL
1: ASM: net.minecraft.tournament.TournamentMod$TournamentModFMLBusEvents@5d87007a serverLoad(Lnet/minecraftforge/fml/event/server/FMLServerStartingEvent;)V
java.lang.IllegalAccessError: tried to access class net.minecraft.tournament.TournamentMod$TournamentModFMLBusEvents from class net.minecraftforge.eventbus.ASMEventHandler_10_TournamentModFMLBusEvents_serverLoad_FMLServerStartingEvent
at net.minecraftforge.eventbus.ASMEventHandler_10_TournamentModFMLBusEvents_serverLoad_FMLServerStartingEvent.invoke(.dynamic)
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at net.minecraftforge.fml.server.ServerLifecycleHooks.handleServerStarting(ServerLifecycleHooks.java:102)
at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:65)
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:643)
at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:233)
at java.lang.Thread.run(Thread.java:748)
18:26.46 [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
java.lang.IllegalAccessError: tried to access class net.minecraft.tournament.TournamentMod$TournamentModFMLBusEvents from class net.minecraftforge.eventbus.ASMEventHandler_10_TournamentModFMLBusEvents_serverLoad_FMLServerStartingEvent
at net.minecraftforge.eventbus.ASMEventHandler_10_TournamentModFMLBusEvents_serverLoad_FMLServerStartingEvent.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.fml.server.ServerLifecycleHooks.handleServerStarting(ServerLifecycleHooks.java:102) ~[forge:?] {re:classloading}
at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:65) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:643) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:233) ~[forge:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275] {}
18:26.46 [Render thread/INFO] [minecraft/LoggingChunkStatusListener]: Time elapsed: 4130 ms
18:26.46 [Server thread/FATAL] [ne.mi.co.ForgeMod/]: Preparing crash report with UUID 435d0283-2b0c-4cb7-bf11-37dcc471d960
AL lib: (EE) alc_cleanup: 1 device not closed
> Task :runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\Pylo\MCreator\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 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec…
BUILD FAILED in 35s
10 actionable tasks: 4 executed, 6 up-to-date
BUILD FAILED
Task completed in 35 seconds
Do you have any mods in mods folder of workspace?
the project was almost empty, I deleted it and created a new one, and also transferred it to another disk (where the system is). In general, the same, although a completely empty program :/
There were no mods
I fixed that.
I decided to completely delete all files from .mcreator by reinstalling it via zip and everything was fixed!