Anvil repairs, combines enchantments, and renames items. Crafted with 4 Iron Ingots + 3 Iron Blocks (31 iron total). Misuse leads to Too Expensive.
Material Repair: combine tool with raw material. Each unit repairs 25% durability.
Combine Repair: two damaged items of same type. Result = sum + 12% bonus. Also merges enchantments.
Netherite repair costs Netherite Ingots get Mending instead.
Same tier + same tier = next tier. Efficiency IV + IV = V. The only way to reach max tiers.
Combine books first, then apply the combined book to your tool in one operation.
Each operation doubles the penalty: 0, 1, 3, 7, 15, 31 levels. After 6 operations, the anvil refuses service (39+ level cap).
Minimize by combining books before applying and planning upgrades upfront.
Rename BEFORE adding enchantments. A renamed item with zero operations costs only 1 level. A renamed item with operations costs much more.
Never put more than 6 operations on any item. Combine all books together first then apply the combined book in a single operation. This uses 2 operations instead of 6+.
The most efficient anvil strategy combines enchantment books in pairs on a crafting table first, then applies the combined book to the tool in one operation. This minimizes prior work penalty to just 2-3 operations instead of 5-7. For comprehensive Minecraft anvil mechanics and repair strategies, check the Minecraft Wikipedia article. Detailed prior work penalty charts and cost calculation tables are available on the Minecraft Wiki on Fandom.