The enchanting table (also called the enchantment table) is one of the most powerful blocks in Minecraft. With the right bookshelf layout, you unlock level 30 enchantments that can turn basic diamond gear into near-unbreakable equipment. This guide covers the best enchanting table setup from start to finish: bookshelf placement, enchantment mechanics and the best enchantments per item, with practical tips for both singleplayer and hosted multiplayer servers. All information applies to Minecraft 26.2 on Java 25.
How many bookshelves for level 30
You need exactly 15 bookshelves to reach the maximum enchanting level of 30. This number has not changed since enchanting was introduced, and it still applies in 26.2.
The rules for bookshelf placement:
- Each bookshelf must be within 2 blocks of the enchanting table (measured horizontally).
- Each bookshelf must be on the same level as the table or one block above it.
- There must be one block of air between every bookshelf and the table. No torches, carpets, snow layers or other blocks in between. Even a single torch in that gap disables the bookshelf behind it.
Placing more than 15 bookshelves is fine for decoration, but it has no mechanical effect. The enchanting table stops counting after 15.
Optimal enchanting table setup: bookshelf placement diagram
Here is the classic 15-bookshelf layout seen from above. This is the most space-efficient arrangement that gives you full level 30 access with a clear path to walk up to the table.
B B B B B B . . . B B . T . B B . . . . B B B . . T = Enchanting table B = Bookshelf (15 total) . = Air (empty space)
The bookshelves form a U-shape around the table, leaving an opening at the bottom-right for access. You can mirror or rotate this layout however you like. As long as the 15 bookshelves follow the placement rules above, the enchanting table reaches level 30.
Compact two-layer alternative
If floor space is limited, you can stack bookshelves. Place 8 on the ground level and 7 on top (or any split that totals 15). The upper row still counts because it is one block above the table. This lets you build a tighter enchanting room.
Layer 1 (ground level, same as table): B B B B . B B . . T Layer 2 (one block above table): B B B B . B B . .
Both layers together give you 15 bookshelves in a smaller footprint. Just make sure the air gap rule is respected on both levels.
How enchanting works in Minecraft 26.x
The core enchanting mechanic has stayed consistent through the 26.x series. Here is the step-by-step process:
- Place your item (tool, weapon, armor or book) in the left slot of the enchanting table.
- Place 1 to 3 lapis lazuli in the right slot.
- Three enchantment options appear, each with a level cost (1, 2 or 3 levels) and a lapis cost (1, 2 or 3 lapis).
- The third option requires level 30 and 3 lapis. This always offers the strongest possible enchantments.
- Hover over an option to see one of the enchantments it will apply. There may be additional enchantments added alongside it.
- Click to confirm. Your XP drops, the lapis is consumed, and the item is enchanted.
The enchantments offered are semi-random. They depend on your XP level, the item type and a hidden seed that changes every time you enchant something. If you do not see what you want, enchant a cheap throwaway item (a wooden shovel or book) to reset the available options, then check again.
XP requirements for level 30
Reaching experience level 30 requires 1,395 XP points. That sounds like a lot, but a well-built mob farm produces this in a few minutes. After enchanting at level 30, you spend 3 levels and drop to level 27. To enchant again at level 30, you only need to regain those 3 levels, which costs roughly 115 XP points.
Efficient XP sources on a server:
- Enderman farm (end dimension): the fastest XP source in the game. A single player reaches level 30 in under two minutes.
- Blaze farm (nether): solid XP and you get blaze rods for brewing.
- Mob spawner farm: find a dungeon spawner, light-proof the room and funnel mobs to a kill chamber. Works well early game.
- Trading with villagers: every trade gives XP. A trading hall with multiple librarians doubles as both an XP source and an enchanted book supplier.
- Sculk XP: breaking sculk blocks with Silk Touch and then placing and breaking them again near a sculk catalyst produces XP. Niche, but available if you have the Deep Dark unlocked.
Best enchantments per gear type
Below is a reference table with the strongest enchantment combination for each major item. These are the combinations most endgame players aim for.
| Item | Best enchantments | Notes |
|---|---|---|
| Sword | Sharpness V, Looting III, Unbreaking III, Mending, Fire Aspect II, Sweeping Edge III | Smite V replaces Sharpness if you mainly fight undead. |
| Bow | Power V, Infinity, Unbreaking III, Flame, Punch II | Infinity and Mending are mutually exclusive. See below. |
| Crossbow | Quick Charge III, Multishot, Unbreaking III, Mending | Piercing replaces Multishot for grouped mobs. |
| Pickaxe | Efficiency V, Unbreaking III, Mending, Fortune III | Swap Fortune for Silk Touch on a second pickaxe. |
| Axe | Efficiency V, Unbreaking III, Mending, Sharpness V | Also functions as a weapon in PvP. |
| Shovel | Efficiency V, Unbreaking III, Mending, Silk Touch | Fortune III if you mine gravel for flint. |
| Helmet | Protection IV, Unbreaking III, Mending, Aqua Affinity, Respiration III | Thorns III optional (increases durability loss). |
| Chestplate | Protection IV, Unbreaking III, Mending | Blast Protection IV for wither fights. |
| Leggings | Protection IV, Unbreaking III, Mending, Swift Sneak III | Swift Sneak only from loot, not from the table. |
| Boots | Protection IV, Unbreaking III, Mending, Feather Falling IV, Depth Strider III | Frost Walker replaces Depth Strider for ice walking. |
| Trident | Loyalty III, Channeling, Unbreaking III, Mending | Riptide replaces Loyalty+Channeling for water mobility. |
| Fishing Rod | Luck of the Sea III, Lure III, Unbreaking III, Mending | AFK fish farms are less effective since 1.16. |
Mending vs. Infinity on bows
Mending and Infinity cannot coexist on the same bow. This is one of the most common enchanting decisions:
- Choose Infinity if you do not want to carry or craft arrows. One arrow in your inventory lasts forever.
- Choose Mending if you want the bow to last indefinitely and do not mind crafting arrows.
Most survival players pick Infinity because arrows are cheap but a fully enchanted bow is not. On servers where resources are shared, Infinity avoids the need to maintain arrow supplies in communal chests.
Enchanting strategies: table vs. anvil vs. villagers
The enchanting table is not the only way to get enchantments. In practice, most endgame players combine all three methods:
- Enchanting table: best for getting a strong base enchantment on a fresh item. The level 30 slot often gives multiple enchantments at once.
- Anvil + enchanted books: lets you add specific enchantments to an item that already has some. You control exactly what goes on. The downside: each anvil use raises the item's repair cost, and after six anvil operations the item becomes "too expensive" to work with.
- Librarian villagers: a librarian can sell any enchanted book in the game at Master level. By breaking and replacing the lectern before locking in trades, you can cycle through options until the exact book you need appears. This is the most reliable way to get specific enchantments like Mending or Silk Touch.
A solid workflow: enchant the item at the table first to get a good base, then use an anvil to add one or two books from your villager trading hall. This keeps the anvil operation count low.
The grindstone: removing and recycling enchantments
The grindstone strips all enchantments from an item and returns a portion of the XP spent on them. Use it when:
- You rolled bad enchantments and want to try again.
- You found enchanted loot you do not need but want the XP.
- You need to reset the enchanting table options (enchant something cheap, then grindstone it).
The grindstone does not remove curses. Curse of Vanishing and Curse of Binding stay on the item no matter what.
Tips for enchanting on a multiplayer server
Running a Minecraft server adds a few practical considerations to your enchanting setup:
- Shared enchanting room: build the enchanting setup in a communal area so every player has access. Label chests with spare lapis, books and throwaway items for resetting.
- Protect the bookshelves: on servers with land claiming (GriefPrevention, Towny, WorldGuard), make sure the enchanting room is inside a protected area. One misplaced block in the bookshelf ring drops the level below 30.
- XP farm access: an enderman or mob farm near spawn that everyone can use cuts down enchanting time for the whole server.
- Custom enchantment plugins: some servers run plugins like ExcellentEnchants or EcoEnchants that add enchantments beyond vanilla. These do not change how the table itself works, but they expand what is available.
- Backup before mass enchanting: if you are about to enchant a full set of gear, make a server backup first. Our game panel lets you create a backup in seconds. A bad enchant session that eats all your lapis and levels is painful to redo.
Server performance and enchanting
The enchanting table itself is lightweight and does not affect server TPS. However, the XP farms players build to fuel enchanting can be a different story. Large mob farms with hundreds of entities in a single chunk are one of the most common causes of lag on Minecraft servers.
If you host a server, consider these measures:
- Set a mob cap per player using Paper's
per-player-mob-spawns(enabled by default on Paper 26.x). - Use
entity-activation-rangesettings to reduce AI processing for mobs far from players. - Recommend that players build XP farms in the End or Nether, away from the main overworld where most activity happens.
On a HostValues server, these settings are preconfigured with sensible defaults. If you need to fine-tune them, you have full access to paper-global.yml and paper-world-defaults.yml through the file manager in the panel.
Full enchanting table setup checklist
Use this list to make sure your full enchantment table setup is complete and you are getting the max level enchanting table offers:
- Enchanting table placed in the center of the room.
- 15 bookshelves arranged with one air gap to the table, at table height or one block above.
- No blocks (torches, slabs, carpets, item frames) between the bookshelves and the table.
- Chest with lapis lazuli (at least a stack).
- Chest with throwaway items (wooden shovels, books) for resetting options.
- Anvil nearby for combining enchanted books.
- Grindstone for removing unwanted enchantments.
- Access to an XP farm or trading hall within reasonable distance.
Frequently asked questions
How many bookshelves do I need for level 30 enchantments?
Exactly 15 bookshelves. Each must be within 2 blocks of the enchanting table, on the same level or one block higher, with one block of air in between. More than 15 has no additional effect.
What is the best enchantment table setup?
The perfect enchantment table setup is a U-shaped ring of 15 bookshelves around the table with an opening for access. Place an anvil, grindstone, lapis chest and throwaway-item chest in the same room. Nearby access to an XP farm completes the setup.
Can I use slabs or carpet between the bookshelves and the table?
No. Any block in the air gap between a bookshelf and the enchanting table prevents that bookshelf from counting. This includes slabs, carpets, snow layers, torches, signs and item frames. Keep the gap completely empty.
Does the Minecraft enchantment table setup work differently on a server?
Vanilla enchanting mechanics are identical on singleplayer and multiplayer. The table, bookshelves and XP costs all work the same way. Some servers add custom enchantment plugins that expand the options, but they do not change how the base table functions.
What is the best way to get Mending?
Mending cannot be obtained from the enchanting table. The two reliable sources are librarian villagers (cycle their trades until Mending appears) and fishing with Luck of the Sea III. Villager trading is faster and more consistent.
Should I enchant items directly or enchant books first?
Enchanting the item directly at the table often gives multiple enchantments at once, which is efficient. Enchanting books gives you more control because you choose exactly which book to apply on the anvil. The best approach is to enchant the item first for a strong base, then add specific books via the anvil for any missing enchantments.
How do I reset the enchantment options?
Enchant any cheap item (a wooden shovel costs only 1 level and 1 lapis at the first slot). This rerolls the seed, and the next item you place will show different enchantment options. Keep a chest of throwaway items near the table for this purpose.
Why does my enchanting table only show low-level options?
Your bookshelf count is below 15, or something is blocking the line of sight between a bookshelf and the table. Walk around the setup and check for torches, paintings, banners or other blocks in the air gaps. Also verify that no bookshelves are more than 2 blocks away or more than 1 block above the table.
Ready to enchant on your own server? Minecraft hosting at HostValues comes with full file access, one-click backups and Java 25 preconfigured for 26.x. See our RAM guide to pick the right plan, or read about reducing server lag to keep your TPS high while your players grind XP.