
Logical Anvil
Makes anvil costs more fair and simple
Screenshots




About this Mod
A rebalance of anvil mechanics to be more fair and simple.
The order you combine enchantments in no longer matters, and repair cost only applies to actual repairs, not renaming or enchanting.
Specific mechanics
Renaming an item always adds only 1 XP to the cost.
Enchantments only add to the cost when transferred from a book to item. Combining books is free and combining items is free (in terms of enchanting cost).
The cost is calculated by rarity * 2 ^ (book level - 1), so that for example combining 4 Soul Speed I books costs the same as one Soul Speed III book.
Enchantment rarities
(This is a vanilla mechanic)
| Enchantment | Rarity |
|---|---|
| Protection | 1 |
| Sharpness | 1 |
| Efficiency | 1 |
| Power | 1 |
| Loyalty | 1 |
| Piercing | 1 |
| Fire Protection | 2 |
| Feather Falling | 2 |
| Projectile Protection | 2 |
| Smite | 2 |
| Bane of Arthropods | 2 |
| Knockback | 2 |
| Unbreaking | 2 |
| Quick Charge | 2 |
| Blast Protection | 4 |
| Respiration | 4 |
| Depth Strider | 4 |
| Aqua Affinity | 4 |
| Fire Aspect | 4 |
| Looting | 4 |
| Fortune | 4 |
| Punch | 4 |
| Flame | 4 |
| Luck of the Sea | 4 |
| Lure | 4 |
| Frost Walker | 4 |
| Mending | 4 |
| Impaling | 4 |
| Riptide | 4 |
| Multishot | 4 |
| Sweeping Edge | 4 |
| Thorns | 8 |
| Silk Touch | 8 |
| Infinity | 8 |
| Curse of Binding | 8 |
| Curse of Vanishing | 8 |
| Channeling | 8 |
| Soul Speed | 8 |
| Swift Sneak | 8 |
Every tool can be repaired its full durability 4 times after which it will be too expensive, e.g. an iron sword has 250 durability so it can have 1000 durability repaired before it is too expensive. This is now the only way for something to be too expensive.
Also, unit repair (tool + material) is now proportional to the material cost of that gear, e.g. a diamond pickaxe takes 3 diamonds to fully repair and a leather chestplate requires 8 leather to fully repair.
Planned: a netherite ingot fully repairs any netherite item Mod is no longer supported
This mod was made with the upcoming villager trade rebalance in mind.
Compatability
Due to the way the mod was written, this mod is likely to be incompatible with other mods that modify anvil GUI or mechanics. Incompatabilities with other mods will probably not be addressed, apologies.
Available Versions
How to Install Logical Anvil 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.4).
Install Mod
Open the mod browser in the dashboard and search for "Logical Anvil". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.3, 1.20.2 (+1 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Logical Anvil 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.4). You can switch loaders with one click in the panel.
Is Logical Anvil compatible with fabric?
Logical Anvil officially supports fabric for Minecraft 1.20.4, 1.20.3, 1.20.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Logical Anvil – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Logical Anvil 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 Logical Anvil with just one click on your server.