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).

by
50 Downloads
fabricgame-mechanicsutility
Rent Server with this Mod

About this Mod

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:

  1. The original logic (entity_on_block bientity condition), fully preserved
  2. No-op calls to EnchantmentHelper.getLevel() and EnchantmentHelper.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

MIT

Available Versions

Apugli 1.20.1 Fixer 4.0.2release
MC 1.20.1fabric
June 13, 2026

How to Install Apugli Mixin Fixer on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Apugli Mixin Fixer". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Apugli Mixin Fixer server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Apugli Mixin Fixer compatible with fabric?

Apugli Mixin Fixer officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Apugli Mixin Fixer – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Apugli Mixin Fixer consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Apugli Mixin Fixer with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.1