MC Build Tools
Menu

Why Enchantment Order Matters on the Anvil

Every trip through the anvil makes the next one more expensive. Order decides how much.

Putting several enchanted books on one item can cost a lot more levels than it needs to, or fail altogether with Too Expensive. The reason is the anvil’s prior work penalty.

The prior work penalty

Each time an item or book is used on an anvil, it remembers it. After one use its penalty is 1 level, after two uses 3, after three uses 7, then 15, 31 and so on, doubling and adding one each time. Whenever two things are combined, both of their penalties are added to the cost, and the result carries the higher count forward plus one.

The penalty grows fast. An item that has been through the anvil five times costs 31 levels in penalty alone, before any enchantment is counted.

The cost of the enchantments

The rest of the cost comes from the enchantments on the right-hand item, the one being sacrificed. Each enchantment costs its level times a multiplier that depends on the enchantment, and the multiplier is lower when it comes from a book than from another item.

Why order matters

If you add five books one at a time to a sword, the sword goes through the anvil five times and its penalty keeps growing, so the later steps get very expensive. If you first combine the books in pairs, then combine the pairs, and only put the result on the sword at the end, each piece passes through the anvil fewer times. The total is lower and no single step gets too large.

Too Expensive

In Survival mode, an anvil operation that would cost 40 levels or more is refused with the message Too Expensive. A good order keeps every step at 39 levels or less. The calculator on this site checks every possible order and shows the cheapest one, step by step.