Community listing page, reviews may not be monitored by the author.
Apugli Mixin Fixer
No reviews yet
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).
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Must be installed on both the client and the server.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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$47stays exactly as Apoli wrote it.getRootVehicle,net.minecraft.util.Pair, the realriding_rootlogic. 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$45get redirected through Apugli's modify-enchantment-level power, so theenchantmententity condition respectssumandmax.
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.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources