Enchanting Simulator

This simulator reproduces the Java Edition enchanting table math (1.21+ cost-range system): slot costs from bookshelf count, the enchantability roll, weighted enchantment picking, conflict removal and the multi-enchant chance. Pick an item, set your bookshelves, and roll the three options — or run 2000 trials and see the real probability of every enchantment and level in the bottom slot. Your actual in-game options depend on your player's hidden enchanting seed, so treat the rolls here as the honest range of what the table can offer.

Slot cost ranges by bookshelf count

Each slot's displayed cost is rolled as 1 + rand(0–7) + ⌊bookshelves ÷ 2⌋ + rand(0–bookshelves), then scaled per slot (top ÷ 3, middle × 2/3 + 1, bottom = max(base, 2 × bookshelves)). The table below shows the exact ranges.

BookshelvesTop slotMiddle slotBottom slot
01–21–61–8
51–53–1110–15
102–75–1620–23
152–106–2130–30

Every enchantment the table can roll

Picking probability = this enchantment's weight ÷ the total weight of all currently valid candidates. The cost range decides which level appears: the hidden eCost must fall inside a level's range for that level to be offered.

Pickaxe / Axe / Shovel / Hoe

EnchantmentWeightMax levelCost range per level
Efficiency105I 1–10 / II 11–20 / III 21–30 / IV 31–40 / V 41–91
Fortune23I 15–23 / II 24–32 / III 33–83
Silk Touch11I 15–65
Unbreaking53I 5–12 / II 13–20 / III 21–71

Sword

EnchantmentWeightMax levelCost range per level
Sharpness105I 1–11 / II 12–22 / III 23–33 / IV 34–44 / V 45–65
Smite55I 5–12 / II 13–20 / III 21–28 / IV 29–36 / V 37–57
Bane of Arthropods55I 5–12 / II 13–20 / III 21–28 / IV 29–36 / V 37–57
Knockback52I 5–24 / II 25–75
Fire Aspect22I 10–19 / II 20–80
Looting23I 15–23 / II 24–32 / III 33–83
Sweeping Edge23I 5–13 / II 14–22 / III 23–38
Unbreaking53I 5–12 / II 13–20 / III 21–71

Bow

EnchantmentWeightMax levelCost range per level
Power105I 1–10 / II 11–20 / III 21–30 / IV 31–40 / V 41–56
Punch22I 12–31 / II 32–57
Flame21I 20–50
Infinity11I 20–50
Unbreaking53I 5–12 / II 13–20 / III 21–71

Crossbow

EnchantmentWeightMax levelCost range per level
Quick Charge52I 12–31 / II 32–50
Multishot21I 20–50
Piercing104I 1–10 / II 11–20 / III 21–30 / IV 31–50
Unbreaking53I 5–12 / II 13–20 / III 21–71

Trident

EnchantmentWeightMax levelCost range per level
Impaling25I 1–8 / II 9–16 / III 17–24 / IV 25–32 / V 33–53
Channeling11I 25–50
Loyalty53I 12–18 / II 19–25 / III 26–50
Riptide23I 17–23 / II 24–30 / III 31–50
Unbreaking53I 5–12 / II 13–20 / III 21–71

Fishing Rod

EnchantmentWeightMax levelCost range per level
Luck of the Sea23I 15–23 / II 24–32 / III 33–83
Lure23I 15–23 / II 24–32 / III 33–83
Unbreaking53I 5–12 / II 13–20 / III 21–71

Helmet

EnchantmentWeightMax levelCost range per level
Respiration23I 10–19 / II 20–29 / III 30–60
Aqua Affinity21I 1–41

Boots

EnchantmentWeightMax levelCost range per level
Depth Strider23I 10–19 / II 20–29 / III 30–45
Feather Falling54I 5–10 / II 11–16 / III 17–22 / IV 23–29

Mace

EnchantmentWeightMax levelCost range per level
Breach24I 15–23 / II 24–32 / III 33–41 / IV 42–92
Density55I 5–12 / II 13–20 / III 21–28 / IV 29–36 / V 37–57
Unbreaking53I 5–12 / II 13–20 / III 21–71

Spear

EnchantmentWeightMax levelCost range per level
Lunge53I 5–12 / II 13–20 / III 21–41
Unbreaking53I 5–12 / II 13–20 / III 21–71

Treasure enchantments the table can never roll

Mending, Frost Walker, Soul Speed and Swift Sneak are treasure enchantments: they are excluded from the table's candidate list by design. Sources are villager trades (best), fishing, loot chests and raid captains. Binding Curse and Vanishing Curse are likewise excluded. The interactive simulator above follows this rule — you will never see a treasure enchantment in its results, which is exactly how the real table behaves.

FAQ

Why don't my in-game options match the simulator?

Every player has a hidden enchanting seed (XpSeed) stored in the save file, and each enchantment roll consumes and re-rolls it. The simulator cannot know your seed, so it reproduces the full algorithm with its own seed: the slot costs, the possible enchantments and their probabilities are exact, but your next in-game roll is one specific sample of that distribution. Re-entering the world with a fresh seed is a known way to reroll the table for free.

What does enchantability actually do?

Enchantability is a hidden material stat that widens the roll for the invisible enchantment cost: eCost = (slot cost + 1 + two rolls of ⌊e/4⌋) × triangular 1±0.15. Gold tools (22) and gold armor (25) roll much higher costs than diamond (10) or stone (5), which is why gold items famously come out of the table with better enchantments. Books, bows, crossbows, rods and tridents all sit at 1.

Why is the bottom slot always level 30 with 15 bookshelves?

The bottom slot cost is max(base, 2 × bookshelves). With 15 bookshelves, 2 × 15 = 30, and the base roll can never exceed 30 — so the displayed cost is pinned at 30. The hidden eCost still varies with enchantability, which is why the same item can offer different enchantments at the same 'level 30'.

Can I get Mending or Frost Walker from the table?

No. Treasure enchantments — Mending, Frost Walker, Soul Speed and Swift Sneak — are excluded from the enchanting table entirely. Get them from villager trades, fishing, loot chests or raid captains. Curses (Binding, Vanishing) are also table-proof. Everything listed in the weight table above is the complete set of what the table can roll.

How do I read the 2000-trial statistics?

Pick the exact item and material you plan to enchant, set 15 bookshelves, and run the trials. The table shows the real probability of each enchantment and level in the bottom slot — for example, on a diamond pickaxe Fortune III lands around a few percent per roll, while Efficiency IV/V dominate. Use it to decide between enchanting directly or fishing for a book first, and to see how gold's high enchantability shifts the odds.

✓ Last reviewed 2026-09-22 · applicable version noted per entry Minecraft mechanics change with every update — this guide is only guaranteed to work in the stated version.

Comments

Powered by GitHub Discussions — sign in with GitHub to comment.