Draylar / gate-of-babylon

https://www.curseforge.com/minecraft/mc-mods/gate-of-babylon
MIT License
11 stars 18 forks source link

[Resolved] Prevents initializing the game with TooManyCrashes? #75

Closed tak3nus3rn4me closed 2 years ago

tak3nus3rn4me commented 2 years ago

Hi, this is an amazing mod that I really want in my world. However, I have TooManyCrashes installed which is giving me an error. If I remove TooManyCrashes, it gives me an error in the launcher instead. I am very new to modding and very, very confused. If anyone could give me a dumbed down walkthrough of fixing this, that'd be great.

tak3nus3rn4me commented 2 years ago

By the way, here's the crash report.

---- Minecraft Crash Report ---- // Don't do that.

Time: 11/15/21, 11:50 AM Description: Initializing game

java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'gateofbabylon'! at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:33) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:34) at net.minecraft.class_310.redirect$bec000$catchFabricInit(class_310.java:4564) at net.minecraft.class_310.(class_310.java:457) at net.minecraft.client.main.Main.main(Main.java:179) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) Caused by: java.lang.NoClassDefFoundError: net/fabricmc/fabric/api/client/rendering/v1/EntityRendererRegistry at draylar.gateofbabylon.GateOfBabylonClient.onInitializeClient(GateOfBabylonClient.java:34) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:47) ... 12 more Caused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:636) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:175) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) ... 14 more

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

-- Head -- Thread: Render thread Stacktrace: at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:33)

-- Initialization -- Details: Stacktrace: at fudge.notenoughcrashes.mixinhandlers.EntryPointCatcher.handleEntryPointError(EntryPointCatcher.java:38) at net.minecraft.class_310.redirect$bec000$catchFabricInit(class_310.java:4566) at net.minecraft.class_310.(class_310.java:457) at net.minecraft.client.main.Main.main(Main.java:179) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)

Draylar commented 2 years ago

You might be missing Fabric API (https://www.curseforge.com/minecraft/mc-mods/fabric-api) or have an outdated version, try downloading the latest jar for your game version and let me know if it works!

tak3nus3rn4me commented 2 years ago

I feel really dumb now. It worked, and now I live by the "Simplest solution is probably the right one" mindset. Thanks man!