Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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


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.


Project members

ThePotatoArchivist

Member


Technical information

License
MIT
Client side
required
Server side
required
Project ID