
Anvil Enchantment Ordering Guide
This mod adds an in-game enchantment merge optimizer to the vanilla Anvil GUI.
About this Mod
Now with Modded Items & Enchantments support!

| FEATURES |
| In-Game Panel | Opens from a guide button on the anvil |
| Item & Enchantment Picker | Choose your item type and select exactly which enchantments and levels you want |
| Two Optimization Modes | Optimize for Least XP/Levels or Least Prior Work Penalty, your choice |
| Incompatibility Handling | Mutually exclusive enchants (e.g. Sharpness/Smite/Bane, etc.) are automatically grouped with prev/next cycling so you never select a conflicting combination |
| Inventory Matching | If you already have a matching item in your inventory (correct type, exact enchantments, exact prior work penalty), the frame displays your actual item instead of a generic icon |
| Modded Items | Items sharing the same enchantments are grouped into a single button with a cycling icon |
| Modded Enchantments | Modded enchant names are highlighted in cyan when selected |
| HOW TO USE |
- Open any Anvil.
- Click the guide button on the left side of the anvil GUI to open the panel.
- Phase 1: Select your item type from the grid. Use the toggle at the bottom to switch between optimization modes.
- Phase 2: Click the level buttons for each enchantment you want, then click Calculate.
- Phase 3: Read the merge tree from top to bottom. Each step tells you exactly which two items to combine and what it will cost.
- Click the back arrow at any phase to go back, or click the guide button again to close the panel.
| CONFIGURATION |
If you have Mod Menu installed, you can customize your experience:
| Auto-Detect Item | When enabled, placing an item in the anvil's left slot automatically advances the panel to Phase 2 with that item pre-selected | |
| Phase 2 Auto-Fill Mode (for Phase 2) | Max Levels | Automatically selects the maximum level for every applicable enchantment |
| From Inventory | Scans your inventory for enchanted books and pre-selects the highest level found for each enchantment | |
| Allow Incompatible Enchantments (for Phase 2) | When enabled, mutually exclusive enchantments each get their own independent row and can all be selected simultaneously | |
| View Mode (for Phase 3) | Tree View | A pannable merge tree showing every step in the optimal order. Hover any node to see its enchantments, merge cost, prior work penalty, and total cost on the final node |
| List View | A clean scrollable numbered list showing each merge step with its enchantments, cost, and prior work penalty | |
| Show Mod Button in Phase 1 | When enabled, a button appears in Phase 1 to switch between vanilla and modded items | |
| Show Mod Button in Phase 2 | When enabled, a button appears in Phase 2 to show or hide modded enchantments | |
| ACKNOWLEDGEMENTS |
The enchantment merge optimization logic used in this mod is based on the work found at https://github.com/iamcal/enchant-order. A sincere thank you to the author iamcal for allowing the use of their logic in this mod.
| REQUIREMENTS |
- Fabric Loader
- Fabric API
- Cloth Config API (1.21.x)
- YetAnotherConfigLib (26.x)
- Mod Menu (recommended for easy in-game configuration)
| CLIENT-SIDE ONLY |
All functionality is done client-side and is compatible with vanilla servers.
| FREE & OPEN SOURCE |
This is a completely free project. I'm not asking for donations or "buy me a coffee" contributions. If you enjoy the mod, the best way to support it is by:
- Leaving a rating/review
- Sharing it with friends
- Reporting any bugs you find
| GALLERY |
Phase 1 (with tooltip)

Phase 2 (with selected, unselected, and greyed out enchantments)

Phase 3 (with tooltip, and grey/gold frames)

Available Versions
How to Install Anvil Enchantment Ordering Guide on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "Anvil Enchantment Ordering Guide". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 26.1 (+12 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Anvil Enchantment Ordering Guide server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is Anvil Enchantment Ordering Guide compatible with fabric?
Anvil Enchantment Ordering Guide officially supports fabric for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Anvil Enchantment Ordering Guide – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Anvil Enchantment Ordering Guide consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Anvil Enchantment Ordering Guide with just one click on your server.