Enchanting explained: bookshelves, level costs and the anvil penalty that breaks your gear

Enchanting in Minecraft is three separate systems that players treat as one: the enchantment table and its lapis cost, the bookshelf requirement, and the anvil’s prior-work penalty. The third one is what makes late-game gear expensive, and almost nobody understands it until they hit “Too Expensive”.

The table: what the three options mean

The enchantment table offers three slots. The bottom slot costs one level, the middle two, the top three – but the level cost and the level requirement are different numbers, and the requirement is what determines the quality of the enchantment.

You need 30 levels to access a level-30 enchantment, but it only costs three levels to apply. The other 27 are a gate, not a price.

Bookshelves

Fifteen bookshelves, placed one block away from the table with air between, gets you to the level-30 cap. Fewer than fifteen and the top slot offers weaker enchantments.

The standard layout is a ring of shelves around the table with a one-block gap, two blocks high on three sides. Count them; fourteen is a very common mistake.

Enchanted tools and weapons on display

The prior work penalty

Every time an item goes through an anvil, it gains a hidden counter. The first combination costs nothing extra, the second costs one extra level, then three, then seven, then fifteen, then thirty-one. The penalty doubles and adds one each time.

This is why a sword that took six anvil operations becomes impossible to repair. The enchantments are fine; the item’s history is the problem.

Combining books in the right order

The fix is to combine books with books first, then apply the result to the item once. Two books combined into one book, that book combined with another, and so on – building a single “final” book that goes onto the tool in one operation.

  1. Combine books in pairs, not one at a time into a growing book.
  2. Pair equal-cost books together to keep the tree balanced.
  3. Apply the finished book to a fresh, unenchanted item.
  4. Repair with raw material, not with a second enchanted item, wherever possible.

A balanced tree of eight books costs dramatically less than adding eight books sequentially. The difference is the whole game here.

Mending changes the calculation

Mending makes an item effectively permanent, which means the prior work penalty stops mattering once it is on – you will never need the anvil again. That makes Mending worth prioritising above almost anything else, and worth being the last thing you add.

Villager trading is the only reliable source. A librarian can be reset until it offers Mending, and the mechanics for that are more controllable than most players realise – professions, prices and why your librarian changed its book covers the reset rules.

Library interior with shelving

Grindstone

A grindstone strips enchantments and returns some experience. It also resets the prior work penalty, which is the underrated part – a tool that has become too expensive can be stripped and rebuilt from scratch rather than abandoned.

You lose the enchantments, but if they were cheap ones and the item has good durability left, it is often the right call.

Level farming

Experience for enchanting comes from three practical sources: a mob farm, a furnace with a large smelting queue, and trading with villagers. The third is the most efficient per minute of active play and the most boring.

Bottles o’ enchanting from cleric trades are effectively storable experience, which makes them worth stockpiling before a big enchanting session.

Enchantments worth the levels

Feather Falling deserves the mention. Fall damage kills more experienced players than any mob, and the reduction is large enough to survive drops that would otherwise be fatal.

Where enchanted gear gets lost

Lava, mostly, followed by the void. An enchanted tool is a significant investment of levels and materials, and the recovery rules for a death are less forgiving than most players assume – what you can and cannot get back is worth reading before you carry a fully enchanted set somewhere dangerous.

A working order of operations

  1. Get to fifteen bookshelves.
  2. Enchant books, not tools, at the table.
  3. Build a balanced combination tree.
  4. Apply the finished book once.
  5. Get Mending from a librarian before anything else.

Follow that and “Too Expensive” stops appearing. Ignore it and every good tool eventually becomes unrepairable.

Images: Artifacts project gallery on Modrinth.