The game crashed whilst initializing game Error: java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.class_1921 Exit Code: -1 #1986
-
So I am not code savvy. My general way of making a modpack is sticking a bunch of mods in and using the crash reports to replace or change things until the game runs okay. So I am very sorry if something really obvious is staring me in the face. I don't know how to fix this. Thank you for your help. I'm sorry for the waste of your time. ---- Minecraft Crash Report ---- Time: 2/1/22, 5:06 PM java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.class_1921 A detailed walkthrough of the error, its code path and all known details is as follows:-- Head -- -- Initialization -- -- System Details -- |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
This crash report doesn't contain enough information to understand the problem.
This says it cannot load minecraft class_1921 which is the Most likely this is caused by one or more of your mods using mixins to break the class. Otherwise you will have to remove mods until you find the mod that is causing the problem. Similar error report found using google search: |
Beta Was this translation helpful? Give feedback.
-
TLDR: The "ModMenu" mod, which was causing all sorts of conflicts with other mods. I downgraded from the most recent version 3.0.1 to 3.0.0, and fixed the issue. I understand that this is a lot of text, but I felt it important to fully document the process for anyone else who may need this. I visited https://www.minecraftforum.net/forums/support/java-edition-support/3114300-fabric-1-17-1-is-crashing as you suggested and the forum thread suggested removing the mod "NotEnoughCrashes," which I had started putting in all of my builds after I ran into a problem in 1.16 where the game refused to give me a crash report. Once I removed it I got this message upon the next crash: The game crashed whilst initializing game So I removed "Kiwi" and because it is a library mod, all of the mods that rely on it, which was only 1, I think. I rebooted and... The game crashed whilst initializing game Oof. Okay. Removed. The game crashed whilst initializing game Double oof. Removed. The game crashed whilst initializing game Okay. Removed. The game crashed whilst initializing game The game crashed whilst initializing game The game crashed whilst initializing game So here I hit a bit of a roadblock. I really want a pipe mod in this build and this one was the best I could find that fit the vibe I'm working towards. My next move was to instead try to update the Fabric API mod to the newest dev release rather than the newest stable one. No dice. So I moved the mod jar file to my desktop and moved on. The game crashed whilst initializing game The game crashed whilst initializing game The game crashed whilst initializing game The game crashed whilst initializing game The game crashed whilst initializing game I moved "Immersive Portals" and "Indium" to the desktop for later. The game crashed whilst initializing game The game crashed whilst initializing game Nope. It's not getting the Metro mod. I'm doing this a different way. So the next thing I did was take out all the mods from the mod folder and start adding them back in one at a time. loading the game each time. The first crash came at boot 9. "Awoken World" was for the wrong version of Minecraft. At boot 13 I found out I had been missing "Kambrik." At boot 18 I realized several of my library mods are forge varients. so I fixed that. The 1.16.1 mod "Giacomo's Bookshelf" works in Fabric 1.18.1 Good to know. In the end, I got the game functioning at 169 total mods and 134 total reboots. |
Beta Was this translation helpful? Give feedback.
-
I learned through experimentation that the "Biome Blending" mod can create this error when rendering coral reefs. java.lang.NullPointerException: Cannot invoke "net.minecraft.class_2248.method_9564()" because "this.deadCoralBlock" is null I have fixed the issue, but I believe this has something to do with the way the intermediary area between biomes is rendered by shader mods like "Iris." |
Beta Was this translation helpful? Give feedback.
TLDR: The "ModMenu" mod, which was causing all sorts of conflicts with other mods. I downgraded from the most recent version 3.0.1 to 3.0.0, and fixed the issue. I understand that this is a lot of text, but I felt it important to fully document the process for anyone else who may need this.
I visited https://www.minecraftforum.net/forums/support/java-edition-support/3114300-fabric-1-17-1-is-crashing as you suggested and the forum thread suggested removing the mod "NotEnoughCrashes," which I had started putting in all of my builds after I ran into a problem in 1.16 where the game refused to give me a crash report.
Once I removed it I got this message upon the next crash:
The game crashed w…