How to fix "Mixin apply failed" in Minecraft

A mod tried to change the game's code and couldn't. It's almost always one mod, built for another version or clashing with another mod.

Updated 2026-10-11

What the error looks like

[main/ERROR]: Mixin apply failed examplemod.mixins.json:ServerPlayerMixin -> net.minecraft.server.level.ServerPlayer
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @Inject annotation on tick could not find any targets
An invented example, not a real mod

Mixin is the library many mods use to patch Minecraft's code while the game loads. Mixin apply failed means one of those patches didn't fit. In the same report you may also see MixinTransformerError, MixinApplyError or InvalidInjectionException. They're the same story told by different classes.

Why a patch doesn't fit

  • The mod was built for another Minecraft version. Method names and signatures move between releases, so a patch written for 1.20.1 can miss on 1.21.1.
  • The mod is for another loader: a Forge mod on Fabric, or the other way round.
  • Two mods patch the same method and the second one can't apply.
  • A library mod is missing or too old, like MixinExtras or Architectury.
  • The game or the loader was just updated and the mod wasn't.

Find which mod it is

The line names a mixin config such as examplemod.mixins.json. The part before .mixins.json is nearly always the mod ID, so search your mods folder for it. On Forge and NeoForge, the Suspected Mods: line under System Details often names it too. And think back: the mod you added or updated last is the likeliest suspect.

Fix it

  1. Remove the mod the line names, or the newest one you added, and start the game.
  2. Open the mod's page and download the file made for your exact Minecraft version and loader.
  3. Update its library mods, and Fabric API or the loader itself.
  4. Still failing? Move half your mods out of the folder, test, and keep halving until it stops. The last mod you moved back in is the one.

Send the log

If you're asking for help, send latest.log and the newest file in crash-reports. Drop them onto minelog for a link; IP addresses and the like are hidden first. How to find your Minecraft logs shows where they are.

Questions

Is "Mixin apply failed" a crash?

Usually. It normally stops the game while it loads, so you see it as a crash at startup or when a world opens.

Will a newer Java fix it?

No. A mixin error means a mod doesn't match the game or another mod. A Java mismatch looks different, usually as UnsupportedClassVersionError.

Is my game installation broken?

No. The game files are fine, the mod is the problem. Take it out and you're back where you were.

Keep reading

Share a log