Community listing page, reviews here may not be monitored by the author.
Enchantment Calculator Mod
No reviews yet
Calculates the cheapest anvil order for any item and enchantment set - without leaving the game.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Runs entirely on the client. Works on vanilla servers.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Enchantment Calculator Mod
Find the cheapest anvil order for any item and enchantment set - without leaving the game. Save items to a list, Open the hud, and follow the steps at the Anvil.
Enchantment Calculator is a client-side mod that solves the "what order do I combine these books?" problem for players.
Open it with a keybind, choose your item and enchantments, and get a precise step-by-step plan with XP costs before you touch a single book. Save it to a list, open a hud option and Enchant your items at the anvil, all while never closing the game.
It is persistent per world. Meaning, you can save different enchantment lists, for different worlds, no crossover.
How to Use
- Press J (rebindable in Controls) to open the Enchant Calculator screen.
- Select your item type from the category and item pickers.
- Toggle the enchantments you want and set each to the correct level.
- Click Calculate.
- Read the step-by-step anvil order in the results panel, or press HUD: Off/On to pin the steps to your screen.
- Follow the steps at the anvil. Done.

Slash commands
/enchantcalc- opens the calculator screen directly, no keybind required./enchantcalc hud- lists the current HUD position and all placement choices./enchantcalc hud top_left, top_right, center_left, center_right, bottom_left, bottom_right- moves the HUD to your desired location./enchantcalc hud off- turns the HUD off.
The Algorithm
Enchant Calculator's optimizer was built from scratch for this mod. Each selected enchantment is represented as a bit in an integer, and a dynamic-programming search considers every way to split that set into two combinable groups - exhaustively, not a greedy shortcut - tracking the best result at each anvil prior-work depth along the way. The result is the mathematically optimal combining order, for either minimum XP levels or minimum prior-work penalty.
The in-game interface is also built entirely from scratch for this mod - no shared UI framework or external assets - and includes a real-time item picker using the game's own item renderer, a persistent save system that keeps calculations separate per world and player, an optional HUD overlay, and curated "quick build" presets for common enchantment loadouts.
Features
- Optimal anvil order - uses an exhaustive search algorithm that evaluates every possible combining sequence and returns the one with the lowest total XP cost. Not an approximation.
- Step-by-step results - each anvil operation is listed clearly: left item + right item > output, with the level cost and prior-work penalty shown per step.
- Total cost summary - see the full level and XP cost upfront so you know exactly how many levels to farm.
- Two optimize modes - minimize total XP spent, or minimize the maximum prior-work penalty (useful when you want to keep the item repairable).
- In-game HUD overlay - pin your enchanting plan to the screen like a Litematica materials list. Toggle it on/off with the HUD button so you can reference the steps while working at the anvil.
- Saved calculations - save any result for later. Useful when planning multiple items in one session.
- Copy to clipboard - copy the full step list as plain text with one click.
- Client-side only - no server-side installation required. Works on any server.
Compatibility
Works alongside any other client mod. Does not modify any game mechanics, network traffic, or server-side state.
Made by ChapmanOfficial
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
- Villager Trading Predictor
- Enchantment Calculator
- Enchant Calculator
- EnchantmentHelper
- Armor Durability Calculation Overhaul
- Enchantment Descriptions
- Enchantment Limiter
- Enchantment Transfer (Fabric/Forge/NeoForge)
- Enchantment Lore
- Enchantment Level Language Patch
- Enchantment Library at Home
- Enchantment Glint Outline
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources