Nouveauon GoogleMake CraftRank a preferred source in Google SearchAdd on Google ›
CraftRank SitesA free website and store for your server Crée la tienne ›AshlarLogiciel serveur gratuit basé sur Paper, avec protection DDoS et anti-backdoor Voir Ashlar ›Security RadarA free check of your server's login, anti-bot and proxy settings, only with your OK Voir comment ça marche ›CommunautéPose des questions, partage tes constructions et trouve des joueurs Rejoindre le forum ›
Ressources / Mods / Enchantment Calculator

Enchantment Calculator

Client-side mod that helps you find the most cost-effective way to combine enchantments on your items

ModsGratuit1.21 – 26.x
par FanyaOff · repris depuis Modrinth
Télécharger ›

Téléchargement direct depuis Modrinth · 87 téléchargements

Enchantment Calculator, capture 1

Ce qu'il fait

Enchantment Calculator (mod) est une création de FanyaOff. Client-side mod that helps you find the most cost-effective way to combine enchantments on your items.

Versions prises en charge : Minecraft 1.21 – 26.x. On compte 87 téléchargements sur Modrinth. La dernière mise à jour date du 11/11/2026.

Versions prises en charge

26.x1.21

Historique des versions

Enchantment Calculator a publié 7 versions sur Modrinth depuis le 15/10/2026. 7 sont sorties au cours de l'année passée. La plus récente est 2.0.0+26.3-fair-play, sortie le 15/10/2026. Elle est faite pour Minecraft 26.3. Elle fonctionne sur Fabric. Le téléchargement fait 109 KB.

VersionPubliéMinecraftType
2.0.0+26.3-fair-play15/10/202626.3Stable
2.0.0+26.2-fair-play15/10/202626.2Stable
2.0.0+26.1-fair-play15/10/202626.1, 26.1.1, 26.1.2Stable
2.0.0+1.21.11-fair-play15/10/20261.21.11Stable
2.0.0+1.21.10-fair-play15/10/20261.21.10Stable

Dernière version sur GitHub

Enchantment Calculator est open source. Sa dernière version sur GitHub est Enchantment Calculator 1.0, publiée le 14/07/2025.

No content.

Description de l'auteur sur Modrinth

Overview

Enchantment Calculator is a client-side mod that helps you find the most cost-effective way to combine enchantments on your items.

This mod is based on the functionality provided by this website

This mod supports customization via a custom resource pack. GUI elements are located at:
assets/enchantmentcalculator/textures/gui

You can view the original textures in the source code on GitHub

If you have an idea to improve the interface by redrawing the elements or by changing the code, I would appreciate it.

Fair Play Edition

This edition helps you plan enchantments, but leaves the anvil work to you. Pick the enchantments you want, choose whether to save levels or XP, and follow the steps on screen. Use Books reads the enchanted books in your inventory and adds their enchantments to the calculator; it does not move or use the books.

There are no presets or auto-enchant controls in this edition. The mod does not click inventory slots, put items in the anvil, or take the result for you. The auto-enchantment notes below describe the regular edition.

Since 2.0 update:

  • reworked gui
  • auto-enchantment function
  • improved calculate algorithm + added way to optimize by xp
  • added a "Use Book" feature that automatically takes books from your inventory and adds their enchantments to the calculator
  • 26.x support

IMPORTANT!!!!! Before using the auto-enchantment feature, please get approval from your server admins. Otherwise, use the Fair Play Edition

Bug Reports & Feature Requests

Found a bug, errors in calculations, have a suggestion? Please report it my our GitHub Issues page.

Usage

  1. Place an item in the anvil
  2. Select enchantments from the left panel
  3. Click Calculate to find the optimal sequence
  4. Follow the steps shown in the right panel
  5. Navigate through steps using arrow buttons

Screenshot

Technical Algorithm Overview

Optimization Algorithm

The Enchantment Calculator uses a sophisticated tree-based optimization algorithm to find the most cost-effective enchanting sequence.

Core Algorithm Steps:

1. **Tree Structure Generation

For n enchantments, generate all possible binary combination trees

  • Each leaf = enchantment book or base item
  • Each internal node = anvil combination operation
  • Tree depth determines maximum prior work penalty

2. **Cost Calculation Model

The mod calculates costs using Minecraft's exact anvil mechanics:

Total Cost = Enchantment Cost + Prior Work Penalty

Where:

  • Enchantment Cost: Based on enchantment rarity weights
  • Prior Work Penalty: MULTIPLIERS[left_uses] + MULTIPLIERS[right_uses]
  • Multipliers: [1023]

3. **Tree Pruning Optimization

Instead of testing all possible trees, the algorithm:

  • Groups trees by maximum depth (anvil use count)
  • Calculates weighted contribution sums for each tree
  • Keeps only the best tree per depth level
  • Reduces complexity from O(n!) to O(n²)

4. **Item Placement Optimization

For each tree structure:

  1. Sort enchantment books by cost (expensive first)
  2. Calculate leaf contribution values for each position
  3. Place expensive items at positions with lowest contributions
  4. Minimize total weighted cost

5. **Multi-Mode Optimization

Supports two optimization targets:

  • Level Mode: Minimizes total anvil level cost
  • Experience Mode: Minimizes total XP expenditure

Mathematical Foundation

Prior Work Penalty Calculation:

penalty = MULTIPLIERS[left_item_uses] + MULTIPLIERS[right_item_uses]

Experience Cost Conversion:

if (levels ≤ 16): xp = levels² + 6×levels
if (levels ≤ 31): xp = 2.5×levels² - 40.5×levels + 360
if (levels > 31): xp = 4.5×levels² - 162.5×levels + 2220

Tree Contribution Weighting:

For each tree position i:
contribution[i] = depth_from_root
weighted_sum = Σ(i × contribution[i])

Algorithm Complexity

  • Time Complexity: O(n² × 2^n) where n = number of enchantments
  • Space Complexity: O(n × 2^n) for tree storage
  • Practical Performance:

Écrite par FanyaOff. À lire avec les images sur Modrinth.

Comment installer Enchantment Calculator

  1. Ce mod fonctionne uniquement dans ton jeu. Les serveurs n'en ont pas besoin, tu peux donc l'utiliser sur n'importe quel serveur.

  2. Installe Fabric pour Minecraft 1.21 – 26.x.

  3. Télécharge le fichier .jar depuis Modrinth et place-le dans le dossier mods de ton répertoire .minecraft.

  4. Lance Minecraft avec le profil Fabric.

  5. Plus simple : dans Prism Launcher ou la Modrinth App, cherche Enchantment Calculator dans les mods de ton instance et clique sur Install. Le loader et les mods requis sont ajoutés pour toi.

Compatibilité

Versions de Minecraft
26.x, 1.21
Fonctionne sur
Fabric
Où il fonctionne
Client uniquement (ton jeu)
Édition
Java
Nécessite
Rien d'autre
Licence
MIT
Prix
Gratuit
Suivi
Mis à jour activement (13/11/2026)

Enchantment Calculator comparé à des ressources similaires Comparer toutes les alternatives

RessourceTéléchargementsVersionsMise à jourPrix
Enchantment Calculatorcelle que tu regardais871.21 – 26.xil y a 3 joursGratuit
Yet Another Loot Beams ModderexXD9126.x11 oct. 2026Gratuit
Enchantment Glow Itemsj4nn1k5526.xil y a 8 joursGratuit
Trade Findernomad_dev1091.21 – 26.xil y a 13 joursGratuit

Questions

Est-ce que Enchantment Calculator fonctionne sur Minecraft 26.x ?

Oui. Enchantment Calculator prend en charge Minecraft 26.x. Toutes les versions prises en charge : 26.x, 1.21.

Est-ce que Enchantment Calculator est gratuit ?

Oui. Enchantment Calculator se télécharge gratuitement sur Modrinth.

Enchantment Calculator est-il côté client ou côté serveur ?

Côté client. Enchantment Calculator se place dans ton propre dossier mods et fonctionne sur n'importe quel serveur, même sans mods.

Enchantment Calculator est-il encore mis à jour ?

Oui. La dernière mise à jour date des dernières 24 heures.

Quelles sont les meilleures alternatives à Enchantment Calculator ?

Les plus proches sont Yet Another Loot Beams Mod, Enchantment Glow Items et Trade Finder. Comparer toutes les alternatives

Alternatives à Enchantment Calculator

Yet Another Loot Beams ModMods · 26.x

Fork of a fork of the original lootbeams mod. This client side mod highlights dropped items and loot with cool customizable beams! No more losing items or…

Gratuit91 téléchargements
Easy MagicMods · 1.19 – 26.x

Enchanting tables as they always should have been! Items stay after closing, and easy re-rolls.

Gratuit14,529,218 téléchargements
Comparer toutes les alternatives ›

Avis

–★★★★★
0 avis
50
40
30
20
10

Connecte-toi pour laisser un avis.