
Mending Repair Cost
Change Mending behavior (removes XP repair but allow infinite repair on anvil by resetting RepairCost to 0)
About this Mod
MendingRepairCost
A Minecraft Fabric mod that reworks the Mending enchantment to make item maintenance more strategic and cost-effective.
Overview
MendingRepairCost fundamentally changes how the Mending enchantment works in Minecraft. Instead of automatically repairing items with experience orbs, this mod transforms Mending into a powerful enchantment that resets repair costs when using anvils.
Features
🚫 Removes Automatic XP Repair
- Items with Mending will no longer be automatically repaired by experience orbs
- Players still gain experience points normally from all sources
- Experience orbs function exactly as they would without Mending items
⚒️ Anvil Repair Cost Reset
- When repairing, combining, or enchanting items with Mending in an anvil, the repair cost is reset to 0
- This prevents the exponential cost increase that normally makes items "too expensive" to repair
- Makes Mending items infinitely maintainable through traditional repair methods
Why This Change?
The vanilla Mending enchantment creates a "set it and forget it" gameplay loop where players never need to think about item maintenance once they have Mending. This mod makes Mending more strategic:
- Encourages active gameplay: Players must engage with repair mechanics rather than relying on passive healing
- Balances powerful items: High-tier gear requires more intentional maintenance
- Preserves item value: Items with Mending become valuable long-term investments rather than replacing the entire repair system
- Maintains progression: Players still need resources and planning for repairs, but without the cost spiral
Installation
Requirements
- Minecraft: 1.20.1
- Fabric Loader: 0.14.21 or higher
- Fabric API: Latest version for 1.20.1
- Java: 17 or higher
Compatibility
- Client-side: ✅ Works on clients
- Server-side: ✅ Works on servers
- Single-player: ✅ Fully supported
- Multiplayer: ✅ Must be installed on server
This mod uses Mixins to modify core game behavior and should be compatible with most other mods. However, mods that heavily modify experience orb behavior or anvil mechanics may have conflicts.
Gameplay Examples
Before (Vanilla Mending)
1. Get Mending sword
2. Fight mobs → sword repairs automatically
3. Never think about maintenance again
After (MendingRepairCost)
1. Get Mending sword
2. Fight mobs → gain XP, sword doesn't repair
3. When sword is damaged, repair in anvil with materials
4. Repair cost resets to 0, can repeat infinitely
5. Strategic resource management required
Technical Details
This mod modifies two key systems:
- Experience Orb Logic: Prevents automatic repair of Mending items
- Anvil Logic: Resets repair cost for Mending items during anvil operations
The mod is lightweight and only activates when Mending items are present, ensuring minimal performance impact.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
- Issues: Report bugs on the GitHub Issues page
- Suggestions: Feature requests welcome in issues
- Compatibility: List any mod conflicts in issues for investigation
Available Versions
How to Install Mending Repair Cost on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "Mending Repair Cost". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Mending Repair Cost 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 Mending Repair Cost compatible with fabric?
Mending Repair Cost officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Mending Repair Cost – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Mending Repair Cost 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 Mending Repair Cost with just one click on your server.