Guide

Why Does My Minecraft Mod Crash on Startup? Fixes for Fabric

By Modable · Updated

Modable is an AI Minecraft mod generator: describe a mod in plain English and get a working Fabric .jar. Free trial: 1 free build, no card.

Short answer

Most startup crashes happen because Minecraft, Fabric and the mod are not all for the same version, or because the wrong profile was started, or because Fabric API is missing. Go down the list below from the top. The first fix that matches is usually the one.

Why does my modded Minecraft crash when it starts?

A Fabric mod needs a few things to line up. Minecraft, Fabric Loader, Fabric API and the mod must be for the same game version. Fabric API must be installed. You must start the game with Fabric and not the normal game. The right Java must be used. Other mods must not get in the way.

If one of these is off, Minecraft can crash, or it can start and not show your mod at all. The steps below go from the most common cause to the least common.

Modable mods are started on a test Minecraft server before they are handed over (client-only mods, like HUDs, skip this). That helps. It does not mean a crash can never happen on your computer. If you work through the list and it still crashes, send us the log (see the last question).

Are my game, Fabric and mod all the same version?

This is the most common cause. Your mod was built for one Minecraft version. It will not load on any other version, even a very close one.

How to check:

  1. Open the Minecraft Launcher and click Installations. Your Fabric installation should show the version of your mod.
  2. If it shows a different number, run the Fabric installer again and choose the right version. Then pick the new profile.
  3. Check the Fabric API file. Its name should include the same version.

You can see the version your mod was built for in its chat. The versions page lists the versions Modable supports (1.18.1 to 26.3). If you want to play another version, make a new mod for it from the version box under the chat box.

Did I start the Fabric profile and not the normal one?

If you start the normal Minecraft profile, the mod does not load. This is the most common mistake after a wrong version.

In the Minecraft Launcher, click the small arrow next to Play and choose the Fabric profile for your version, for example fabric-loader-1.21.11. Then click Play. If you do not see it, click Installations and tick the box that shows modded versions.

Using the Modrinth App? Press Play on the instance your .mrpack made, not on another one.

Is Fabric API in my mods folder?

Almost all Fabric mods need Fabric API. A message about fabric-api or an "incompatible mod set" means it is missing or for a different version.

Put the Fabric API .jar straight in the mods folder with your mod. Not inside another folder, and not unzipped. Both file names should end in a single .jar, not .jar.zip and not .jar.jar.

The Modrinth App adds Fabric API for you, so you can skip this if you installed with a Modrinth pack.

Do I have the right Java for my version?

Each Minecraft version needs a certain Java version. The official Minecraft Launcher brings the right Java by itself, so most players do nothing.

It matters if you use another launcher, such as Prism Launcher or the Modrinth App. Open the game's settings, find Java, and choose the Java version your Minecraft version needs, or turn on the option that downloads it for you. The mod's install guide page names the Java number for your version.

No such Java on your computer? Ask a parent to install it. The Temurin build from adoptium.net is a safe choice. Then start the game again.

Can another mod be causing it?

Yes. Two mods can clash, and one old mod can stop the whole game.

Test it:

  1. Move every other mod out of the mods folder.
  2. Keep only Fabric API and your mod.
  3. Start the game.

If it works now, add the other mods back one at a time to find the one that clashes.

How do I find the log, and where do I send it?

The log is a text file that says what went wrong.

  • Modrinth App: open your mod's instance and click the Logs tab.
  • Minecraft Launcher: open the folder that holds your mods folder. It is called .minecraft on Windows and Linux and minecraft on Mac. Open the logs folder, then open latest.log in Notepad or TextEdit.

Look for a line with your mod's name. That line is the best clue.

To get help, email lucius@modable.dev. Attach latest.log (or copy the lines with your mod's name) and say:

  • Which Minecraft version you play.
  • Which launcher you use.
  • What you did right before it crashed.

Try this prompt

When you ask for help, say what you see and what you already tried. These four are good starting points. Each one is followed by the first thing to check.

“My game crashes when I start it with my mod. I am on 1.21.11.”

Check that Fabric Loader, Fabric API and the mod are all for 1.21.11.

“The mod does not show up in my game at all.”

Check that you started the Fabric profile (or the right Modrinth instance), and that Fabric API is in the mods folder.

“It says I need a newer Java. What do I do?”

Set the right Java in the launcher's settings, as described above.

“Minecraft crashes right after I add Fabric API and my mod.”

Check that both files are for the same version, then take out any other mods.

A good email to us looks like this:

“Minecraft 1.21.11, Modrinth App. The game closes right after I press Play. I tried it with only my mod and Fabric API. I attached latest.log.”

What works well, and what doesn't

Works well:

  • Going down the list in order. Most crashes are a version, profile or Fabric API problem.
  • Testing with only Fabric API and your mod.
  • Sending the log with the version and launcher.

Does not work well:

  • Guessing which file is wrong. The log often points to the mod or file that failed.
  • Using the mod on Bedrock Edition. Modable mods are for Java Edition only.
  • Expecting a perfect mod every time. Mods are started on a test server, but a bug or a clash can still happen. If you think the mod itself is the problem, tell us.

How to install it

If you have not installed the mod yet, or want to start clean, the Modrinth App is the easiest way:

  1. Get Modrinth App from modrinth.com/app. Modable is not affiliated with Modrinth.
  2. Sign in to Minecraft in the "Getting started" box. Only that one. A child account may need a parent to approve once.
  3. Open the pack. Press Download Modrinth pack under the mod's reply. In the app, click the + icon (Create new instance), choose Upload a modpack, and pick the .mrpack file. On the Unknown files warning, click Install anyway. The green button says "Dont install," so do not click that one.
  4. Press Play on the new instance in the Library.

It sets up Fabric and Fabric API by itself. The full guide, with the classic mods-folder way, is How to install Fabric mods. For a deeper look at what to check on any mod, read Are AI-made Minecraft mods safe?.

Make a new mod

Make it free on Modable: your first build is free, no card.

Pick your Minecraft version: 1.21.1, 1.20.1, 26.2. Modable makes Fabric mods for 1.18.1 to 26.3.

More guides

All guides