Asosiy qismga oʻtish
MinecraftUZ

Vositalar

Sehrlash tartibi kalkulyatori

Sehrlar toʻplami uchun eng arzon sandon tartibini toping — va u qachon «Too Expensive!» boʻlishini koʻring.

Ushbu qoʻllanma hozircha faqat ingliz tilida mavjud. Maʼlumotnoma sahifalari — bloklar, buyumlar, moblar, biomlar va retseptlar — toʻliq tarjima qilingan.

The anvil is the most expensive machine in Minecraft, and almost nobody uses it in the right order. Every time you combine two things, the game charges you for the enchantments on the item you are sacrificing, plus a penalty for how many times each of the two items has already been through an anvil. That penalty doubles each time. Apply four books to a sword in a careless order and you will pay noticeably more than the same four books applied in the right one — and eventually the anvil simply refuses and shows Too Expensive!.

This calculator searches every possible order — applying books straight to the item, merging books together first, or any mixture of the two — and returns the plan with the lowest total level cost, subject to no single operation crossing the 40-level wall. It shows you which item goes in the left slot and which in the right at every step, because the anvil is not symmetric: swapping the two changes the price.

It assumes you already hold each enchantment on a single book at the level you asked for. If you still have to make a Sharpness V book out of two Sharpness IVs, that is a separate anvil bill on top of this one.

0 for a fresh item

Enchantments — 4 of 8 chosen

Greyed out because they conflict with something you have already picked: Cheksizlik, Ipak teginish.

Olmos kirka

Mustahkamlik III, Omad III, Samaradorlik V, Tuzatish

23
Total levels
11
Priciest step
4
Anvil uses
  1. Step 13 levels

    Left slot: Olmos kirka

    Right slot: Book of Mustahkamlik III

    Result has been through the anvil 1× — next penalty 1.

  2. Step 27 levels

    Left slot: Olmos kirka (Mustahkamlik III)

    Right slot: Book of Omad III

    Result has been through the anvil 2× — next penalty 3.

  3. Step 32 levels

    Left slot: Book of Samaradorlik V

    Right slot: Book of Tuzatish

    Result has been through the anvil 1× — next penalty 1.

  4. Step 411 levels

    Left slot: Olmos kirka (Mustahkamlik III, Omad III)

    Right slot: Book (Samaradorlik V, Tuzatish)

    Result has been through the anvil 3× — next penalty 7.

16 of those 23 levels are the enchantments’ own price, charged once each. The other 7 is prior-work penalty — plus, wherever the plan merges two books before applying them, the cost of paying for the same enchantment a second time. The finished item has been through the anvil 3×, so the next repair or enchantment on it starts 7 levels in the hole.

How this works

The cost of one anvil operation

In Java Edition, combining a target item with a sacrifice costs, in levels:

cost = (enchantments on the sacrifice) + (2^a − 1) + (2^b − 1)

where a and b are how many times the target and the sacrifice have each already been through an anvil. That 2^n − 1 term is the prior-work penalty. A fresh item pays 0, then 1, then 3, 7, 15, 31, 63 — it doubles every single time, which is why the seventh operation on one item is usually hopeless. The result of a combine takes max(a, b) + 1 as its own work count, so pre-merging books keeps the item’s counter low at the price of paying for those enchantments twice.

What each enchantment costs

An enchantment on the sacrifice costs level × multiplier. The multiplier is set by the enchantment’s rarity, and books are cheaper than enchanted items:

  • Common (Protection, Sharpness, Efficiency, Power) — 1 per level from a book, 1 from an item
  • Uncommon (Unbreaking, Feather Falling, Fire Aspect) — 1 per level from a book, 2 from an item
  • Rare (Fortune, Looting, Mending, Depth Strider) — 2 per level from a book, 4 from an item
  • Very rare (Silk Touch, Thorns, Infinity, Soul Speed, the curses) — 4 per level from a book, 8 from an item

So a Mending book costs 2 levels, a Fortune III book costs 6, an Efficiency V book costs 5, and a Thorns III book costs 12. The tool always assumes books, which is the cheaper route — combining two enchanted items doubles those numbers.

A worked example

Diamond Pickaxe with Efficiency V, Fortune III, Unbreaking III and Mending. The four books cost 5, 6, 3 and 2 levels respectively — 16 in total if each were charged once. The cheapest order the tool finds costs 23 levels in four operations:

  1. Pickaxe + Efficiency V book — 5 levels (5 + 0 + 0). Pickaxe work count 1.
  2. Pickaxe + Fortune III book — 7 levels (6 + 1 + 0). Work count 2.
  3. Unbreaking III book + Mending book — 2 levels (2 + 0 + 0). That book’s work count is now 1.
  4. Pickaxe + the combined book — 9 levels (3 + 2 for the two enchantments, + 3 + 1 for the two penalties).

5 + 7 + 2 + 9 = 23. Applying all four books one at a time instead costs 27, because the prior-work penalties then run 0 + 1 + 3 + 7 = 11 rather than 0 + 1 + 0 + 4 = 5. Pre-merging the two cheap books pays for Unbreaking twice and still comes out four levels ahead.

The “Too Expensive!” limit

A survival-mode anvil refuses any single operation costing 40 levels or more. This is a per-operation limit, not a cap on the running total — a plan that spends 70 levels across seven affordable steps is perfectly legal, while a single 40-level step is not. Creative mode ignores the limit entirely. The tool searches only for plans where every step stays under 40; if no such plan exists it says so rather than handing you an order the game will reject.

Where we are less certain

Three caveats, kept deliberately conservative. First, renaming an item on an anvil adds 1 level to that operation and is not modelled here — if you rename, add 1 to whichever step you rename on. Second, Java ignores enchantments the target cannot accept rather than charging for them, so the tool only ever offers you enchantments that item can actually take. Third, and most importantly: since 1.21 Mojang stores an explicit anvil_cost on each enchantment, but the dataset this site is built from exposes only the older rarity weight. We derive the multiplier from that weight, and it agrees with anvil_cost for every enchantment we have been able to check — but if Mojang ever decouples the two for a particular enchantment, that one enchantment’s price here would be wrong. Bedrock Edition prices several of these steps differently and this tool does not describe Bedrock.