
AnvilXpFix
A mod that changes the anvil repair/enchantment (mechanics) to use flat XP points!
About this Mod
What is AnvilXpFix?:
In Vanilla Minecraft 1.12.2, Anvil costs are exponential, therefore as you repair or enchant an item, the cost eventually becomes "Too Expensive," and even a basic repairs/enchants consume a massive amount of "hidden" raw experience points.
Anvil XP Fix surgically changes this logic. Instead of using exponential levels, the Anvil now calculates costs based on flat experience points like newer versions of minecraft, which is the main focus of this mod.
For some reason, I was unable to find a mod to help me with this issue for 1.12.2 specifically, so I made this mod for myself, but have uploaded it in the event it could help someone else.
Installation & Compatibility:
Loader: This mod is built specifically for Forge 1.12.2.
Sides: This mod is required on both the Client and the Server.
The Server needs it to handle the new experience math.
The Client needs it to ensure the XP bar and Anvil UI update smoothly without visual glitches.
Modpacks: Designed to be lightweight and compatible with the wider 1.12.2 modding ecosystem!.
Available Versions
How to Install AnvilXpFix on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.12.2).
Install Mod
Open the mod browser in the dashboard and search for "AnvilXpFix". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.12.2
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
AnvilXpFix server crashes on startup – what to do?
Most common cause: wrong forge 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.12.2). You can switch loaders with one click in the panel.
Is AnvilXpFix compatible with forge?
AnvilXpFix officially supports forge for Minecraft 1.12.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with AnvilXpFix – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if AnvilXpFix 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.
Similar Mods
Rent Modded Server
Install AnvilXpFix with just one click on your server.