Minecraft mod error fixes
Find the message your game or launcher shows. Each page says what it means and how to fix it, by hand or with Packquill.
The full message is in the game folder: logs/latest.log for every start, and crash-reports/ for crashes that got far enough to write a report. In Prism, CurseForge and the Modrinth App, the instance's folder button opens the game folder.
The game will not start
The mod loader stops before the game opens and says why.
- Fabric · Quilt“Incompatible mods found!”
Incompatible mods found!A mod needs another mod, or another version of one, and Fabric refuses to start without it. The message says exactly which. - Forge · NeoForge“Missing or unsupported mandatory dependencies”
Missing or unsupported mandatory dependencies:A mod needs another mod that is not installed, or is installed in a version that is too old or too new. - Forge · NeoForge“Duplicate mods found”
Found duplicate mods: Mod ID: 'rubidium' from mod files: rubidium-0.6.2.jar, rubidium-0.6.4.jarThe same mod is in the mods folder twice, usually an old version left behind. Keep one. - Forge · NeoForge · Fabric · Quilt“is a Fabric mod and cannot be loaded”
File mods/sodium-fabric-0.6.13+mc1.21.1.jar is a Fabric mod and cannot be loadedThe file was made for another mod loader. Download the same mod's file for your loader, or a counterpart that exists for it. - Forge · NeoForge“ParsingException: Not enough data available”
com.electronwill.nightconfig.core.io.ParsingException: Not enough data availableA mod's config file is empty or damaged, so the mod cannot read its settings. Delete or rename that one file and the mod writes a fresh one. - Fabric · Quilt · Forge · NeoForge“Attempted to load class … for invalid dist DEDICATED_SERVER”
Attempted to load class … for invalid dist DEDICATED_SERVERA mod made only for the game client is in the server's mods folder. Find it and remove it from the server; players keep it on their own PCs. - “ZipException: zip END header not found”
java.util.zip.ZipException: zip END header not foundOne of the .jar files in the mods folder is incomplete or damaged, so it cannot be opened. Download that file again.
A mod crashes the game
The game starts loading, then a mod breaks it.
- Fabric · Forge · NeoForge · Quilt“Exit Code: 1”
Exit Code: 1Exit code 1 is not the cause, only the sign that Java stopped with an error. The cause is written in the game's log. - Fabric · Quilt · Forge · NeoForgeMixin apply failed
MixinApplyError: Mixin [examplemod.mixins.json:SomeMixin] … FAILED during APPLYA mod tried to change a piece of Minecraft's code and could not. The mod is named in the error, in the “.mixins.json” file name. - Fabric · Quilt · Forge · NeoForge“NoSuchMethodError” and “ClassNotFoundException”
java.lang.NoSuchMethodError: 'void net.minecraft.class_1234.method_5678(…)'A mod calls code that is not there in this version: of the game, of the loader, or of a library mod. Its versions do not match. - Forge · NeoForge · Fabric · Quilt“Feature order cycle found”
java.lang.IllegalStateException: Feature order cycle found, involved sources: [minecraft:forest, examplemod:maple_grove, …]Two world-generation mods place features (trees, ores, rocks) in orders that contradict each other. One of them has to go. - Fabric · Quilt“RendererAccess.getRenderer() is null”
java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()" because the return value of "net.fabricmc.fabric.api.renderer.v1.RendererAccess.getRenderer()" is nullA mod draws through Fabric's Rendering API, and nothing installed provides it. Old Sodium needs Indium for that; Sodium 0.6.0 and newer has it built in.
Java, memory and graphics
No mod is at fault: the computer or Java is.
- Fabric · Forge · NeoForge · QuiltWrong Java version
UnsupportedClassVersionError: … (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0Something was built for a newer Java than the one running the game. Choose the Java your Minecraft version needs. - Fabric · Forge · NeoForge · Quilt“java.lang.OutOfMemoryError: Java heap space”
java.lang.OutOfMemoryError: Java heap spaceThe game used up the memory it was allowed. Give it more in the launcher, but not more than your computer can spare. - Fabric · Forge · NeoForge · Quilt“GLFW error 65542” and graphics driver crashes
GLFW error 65542: WGL: The driver does not appear to support OpenGL.Minecraft could not use the graphics card, or the graphics driver itself crashed. No mod is at fault.