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).
Quick answer
Which Apugli Mixin Fixer release should I use?
Apugli Mixin Fixer 4.0.2 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.
The source marks this as usable on both the client and server.
What else does Apugli Mixin Fixer 4.0.2 need?
4.0.2. Change the file and its required mods may change too.
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.0.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 4.0.2. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 4.0.2. It opens that exact file at the source.
About this project
What does Apugli Mixin Fixer add?
Apugli 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).
The Problem
Apugli 2.10.4's EntityConditionsMixin uses @Redirect to intercept EnchantmentHelper.getLevel() and EnchantmentHelper.getEquipmentLevel() calls inside Apoli's EntityConditions.lambda$register$47. However, in Apoli 2.9.2, those calls live in lambda$register$45 instead. Lambda method numbers are compiler-generated and shift between Apoli versions, so the redirect finds 0 targets and crashes:
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).
The Fix
This mod uses a single @Overwrite mixin (priority 100, applied before Apugli's redirect at priority 1000) to replace lambda$register$47 with:
- The original logic (entity_on_block bientity condition), fully preserved
- No-op calls to
EnchantmentHelper.getLevel()andEnchantmentHelper.getEquipmentLevel(), which Apugli's redirect intercepts and replaces with its modified enchantment level system
The result: Apugli's redirect finds its targets, the game launches, and enchantment-based origin powers work correctly.
Requirements
| Dependency | Version |
|---|---|
| Minecraft | 1.20.1 |
| Fabric Loader | >= 0.14.0 |
| Origins | 1.10.2 (Apoli 2.9.2) |
| Apugli | 2.10.0+ |
How It Works
Mixin priority order when EntityConditions class loads:
100 [Apugli Fixer] @Overwrite lambda$register$47
-> original logic + EnchantmentHelper calls
1000 [Apugli] @Redirect on those calls
-> replaces with ModifyEnchantmentLevelPowerFactory
Result: redirect finds targets, no crash, modified enchantment levels work
License
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.
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
4.0.2
apugli-fixer-4.0.2.jar
13 Jun 2026
Looking for an older file? The official Modrinth project page is in Resources.