
Modrinth · Minecraft mod
AnvilFix
This mod aims to fix the long-standing Anvil balance issues Mojang refuses to fix.
Quick answer
Which AnvilFix release matches 26.2 Forge?
AnvilFix 1.1.0+26.2-forge targets 26.2 with Forge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is AnvilFix required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does AnvilFix 1.1.0+26.2-forge need?
1.1.0+26.2-forge on 26.2 Forge. Every mod below is checked against that same setup.
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 AnvilFix without breaking your instance.
Built for AnvilFix 1.1.0+26.2-forge on 26.2 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.1.0+26.2-forge. It targets 26.2 with Forge; 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
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.1.0+26.2-forge. It opens that exact file at the source.
About this project
What does AnvilFix add?
(Requires the Fabric API)
Why I Made These Changes
I've been increasingly frustrated with the balance of Survival mode, especially when it comes to anvil enchanting/repairing/renaming. With the recent controversy around the villager rebalance, I thought I'd take the opportunity to try my hand at addressing the issues surrounding anvil mechanics.
Changes Implemented
General
- Removed "Too Expensive!".
- Removed XP cost accumulation.
- Made enchanting, repairing, and renaming independent of each other in terms of XP usage.
Enchanting
- Rethought the enchanting cost system. Instead of relying on frustrating XP accumulation and other obscure factors, costs are now based solely on the enchantments you want to apply.
- Each enchantment has a base cost that is then multiplied by its level. For example, applying Sharpness I costs 2 XP, Sharpness II costs 4 XP, and Sharpness V costs 10 XP.
Repairing
- Introduced a straightforward linear cost of 2 XP * material amount.
- The removal of "Too Expensive!" means you can now repair your equipment as much as you want without it eventually becoming disposable.
Renaming
- Renaming now has a flat cost of 2 XP.
Optional: Mending Rebalance
- I know this change is probably gonna be controversial, so it's an optional feature (mendingWorksWithUnbreaking gamerule, off by default)
- I've always felt like Mending is Mojang's band-aid fix to the anvil repairing issue, while also being overpowered and obtainable too early in the game. With the anvil issues resolved, a rebalance seems appropriate.
- Mending and Unbreaking are now incompatible, providing players with two choices:
- Choose Unbreaking if you want extended equipment durability, but need to manually repair it through an anvil.
- Choose Mending for automatic equipment repair via XP, but with standard uses.
- Buffed Mending: Mending now works on unequipped items as well. The hierarchy of repair priority is as follows: Equipped items take priority over unequipped ones, and damaged items are prioritized over those with less damage. Damaged unequipped items are given priority over nearly fully repaired equipped items.Not implemented yet
Disclaimer
This is my first public mod, so it will probably have some bugs. XP costs are still being tweaked and I haven't tested this in multiplayer, but it should work. You can always report any bugs at the GitHub issue tracker. Also, I just realized there's another mod named AnvilFix already, but it hasn't been updated for more than a year. I'll rename this mod if the author asks me to.
Project description from Modrinth.
Pick your setup
AnvilFix by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
3 loader builds26.1.2
3 loader builds26.1.1
3 loader builds26.1
3 loader builds1.21.11
3 loader builds1.21.10
3 loader builds1.21.9
3 loader builds1.21.8
3 loader builds1.21.7
3 loader builds1.21.6
3 loader builds1.21.5
3 loader buildsShowing the newest 12 of 29 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
AnvilFix versions and loaders
1.1.0+26.2-forge
anvilfix-1.1.0+26.2-forge.jar
4 Nov 2026
Looking for an older file? The official Modrinth project page is in Resources.