Logical Anvil

Logical Anvil

Makes anvil costs more fair and simple

by
684 Downloads
fabricequipmentgame-mechanics
Rent Server with this Mod

Screenshots

Renaming always costs 1 XP
Combining enchantments on tools is free
Unit repair is proportional to the recipe cost
Combining enchanted books is free

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

Logical Anvil 1.0.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
February 15, 2024

How to Install Logical Anvil on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).

3

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

fabric

Minecraft Versions

1.20.4, 1.20.3, 1.20.2 (+1 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install Logical Anvil with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.41.20.31.20.21.20.1