Back to mods

Modrinth · Minecraft mod

Apugli Mixin Fixer

A lightweight mixin compatibility shim for Minecraft 1.20.1 (Fabric) that fixes a crash when using Apugli 2.10.x with Origins 1.10.2 (Apoli 2.9.2).

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Apugli Mixin Fixer release should I use?

Updated 17 days ago
Latest stable file 4.1.0
Game version 1.20.1
Loader Fabric

Apugli Mixin Fixer 4.1.0 targets 1.20.1 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Apugli Mixin Fixer required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Apugli Mixin Fixer 4.1.0 need?

4.1.0. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Apugli Mixin Fixer without breaking your instance.

Built for Apugli Mixin Fixer 4.1.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 4.1.0. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 4.1.0. It opens that exact file at the source.

About this project

What does Apugli Mixin Fixer add?

A mixin shim for Minecraft 1.20.1 (Fabric) that fixes the launch crash when Apugli 2.10.x runs with Origins 1.10.2 (Apoli 2.9.2).

Read this first. Apugli has been delisted from Modrinth and CurseForge and its repo is archived. There is no 1.21 build and there will not be one. This mod only helps if your pack already has Apugli 2.10.x sitting in mods/. If you are starting fresh, this is not for you.

The crash

Apugli's EntityConditionsMixin uses @Redirect to intercept EnchantmentHelper.getLevel() and EnchantmentHelper.getEquipmentLevel() inside Apoli's EntityConditions.lambda$register$47. In Apoli 2.9.2 those calls live in lambda$register$45.

Lambda numbers are compiler-generated and they move between Apoli versions, so the redirect finds 0 targets and takes the game down with it:

InjectionError: Critical injection failure: Redirector apugli$useModifiedEnchantmentLevelSum
in apugli.fabric.mixins.json:common.EntityConditionsMixin from mod apugli failed injection
check, (0/1) succeeded. Scanned 0 target(s).

What this does

  • lambda$register$47 stays exactly as Apoli wrote it. getRootVehicle, net.minecraft.util.Pair, the real riding_root logic. Two enchantment calls sit in a branch that never runs, which is enough for Apugli's redirect to find its targets and the game to launch.
  • The real enchantment calls in lambda$register$45 get redirected through Apugli's modify-enchantment-level power, so the enchantment entity condition respects sum and max.

Pinned

It checks versions and refuses to load on anything but:

  • Minecraft 1.20.1
  • Fabric Loader 0.14.0 or newer
  • Origins 1.10.2+mc.1.20.x
  • Apoli 2.9.2+mc.1.20.x (bundled in that Origins jar)
  • Apugli 2.10.x

A crash about a missing lambda is better than a silent wrong condition.

4.0.2 is not safe to keep

If your pack uses riding_root, take 4.1.0. 4.0.2 stuffed live null calls into lambda$register$47, called getVehicle() and used the wrong Pair type, which rewrote riding_root into a different condition.

Status

Archived. Apugli is gone, so there is nothing upstream to fix. If you are moving to 1.21.1, this is not part of that path.

MIT. Mixin fix only, no game content.

Project description from Modrinth.

Pick your setup

Apugli Mixin Fixer by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Apugli Mixin Fixer versions and loaders

2 of 2 releases match

Looking for an older file? The official Modrinth project page is in Resources.