Перейти к содержимому
Mineforgian

Anvil Enchantment Ordering Guide

This mod adds an in-game enchantment merge optimizer to the vanilla Anvil GUI.

Загрузки
2K
Подписчики
10
Обновлён
20 июля 2026 г.
Лицензия
CC0-1.0

Опубликован 21 марта 2026 г.

Now with Modded Items & Enchantments support!

Anvil Enchantment Ordering Guide

FEATURES
In-Game PanelOpens from a guide button on the anvil
Item & Enchantment PickerChoose your item type and select exactly which enchantments and levels you want
Two Optimization ModesOptimize for Least XP/Levels or Least Prior Work Penalty, your choice
Incompatibility HandlingMutually exclusive enchants (e.g. Sharpness/Smite/Bane, etc.) are automatically grouped with prev/next cycling so you never select a conflicting combination
Inventory MatchingIf 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 ItemsItems sharing the same enchantments are grouped into a single button with a cycling icon
Modded EnchantmentsModded 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 ItemWhen 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 LevelsAutomatically selects the maximum level for every applicable enchantment
From InventoryScans 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 ViewA 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 ViewA clean scrollable numbered list showing each merge step with its enchantments, cost, and prior work penalty
Show Mod Button in Phase 1When enabled, a button appears in Phase 1 to switch between vanilla and modded items
Show Mod Button in Phase 2When 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 1

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

Phase 2

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

Phase 3

Ченджлог

3.1.0Релиз26.2 · 20 июля 2026 г.
  • Added support for Minecraft 26.2
  • Added the ability to click obtained nodes (initial and progress frames) in Phase 3 (for tree view and list view) to send items directly into the anvil slots
  • Updated mod button textures
3.1.0Релиз26.1, 26.1.1, 26.1.2 · 20 июля 2026 г.
  • Added support for Minecraft 26.2
  • Added the ability to click obtained nodes (initial and progress frames) in Phase 3 (for tree view and list view) to send items directly into the anvil slots
  • Updated mod button textures
3.0.0Релиз26.1, 26.1.1, 26.1.2 · 26 мая 2026 г.
  • Added support for Minecraft 26.1, 26.1.1, and 26.1.2
  • Replaced Cloth Config with YetAnotherConfigLib (YACL) 3.9.3 for the in-game config screen
2.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 15 мая 2026 г.
  • Added support for modded items in Phase 1
  • Added support for modded enchantments in Phase 2 and 3
  • Added settings to toggle the mod button visibility in Phase 1 and Phase 2
  • Added support for copper tools, weapons, and armor for phases 2 and 3 (1.21.9+)
  • Fixed obtained item frames in Phase 3 to show the actual item name instead of its generic category name
  • Split 1.21.5-1.21.11 into two separate version ranges to account for API differences across minor versions
  • Merged 1.21.2-1.21.5 into a single version range due to shared rendering API compatibility
  • Fixed a crash on 1.21.5 caused by a rendering API that was not available until 1.21.6
2.1.0Релиз1.21.3, 1.21.4, 1.21.5 · 15 мая 2026 г.
  • Added support for modded items in Phase 1
  • Added support for modded enchantments in Phase 2 and 3
  • Added settings to toggle the mod button visibility in Phase 1 and Phase 2
  • Added support for copper tools, weapons, and armor for phases 2 and 3 (1.21.9+)
  • Fixed obtained item frames in Phase 3 to show the actual item name instead of its generic category name
  • Split 1.21.5-1.21.11 into two separate version ranges to account for API differences across minor versions
  • Merged 1.21.2-1.21.5 into a single version range due to shared rendering API compatibility
  • Fixed a crash on 1.21.5 caused by a rendering API that was not available until 1.21.6
2.1.0Релиз1.21, 1.21.1 · 15 мая 2026 г.
  • Added support for modded items in Phase 1
  • Added support for modded enchantments in Phase 2 and 3
  • Added settings to toggle the mod button visibility in Phase 1 and Phase 2
  • Added support for copper tools, weapons, and armor for phases 2 and 3 (1.21.9+)
  • Fixed obtained item frames in Phase 3 to show the actual item name instead of its generic category name
  • Split 1.21.5-1.21.11 into two separate version ranges to account for API differences across minor versions
  • Merged 1.21.2-1.21.5 into a single version range due to shared rendering API compatibility
  • Fixed a crash on 1.21.5 caused by a rendering API that was not available until 1.21.6
2.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 24 апреля 2026 г.
  • Added multi-version support covering Minecraft 1.21.5 through 1.21.11
  • Replaced the custom click sound with a built-in Minecraft sound
  • Moved Carved Pumpkin to the end of the item grid in Phase 1, next to Book
  • Redesigned Phase 2 enchantment rows to occupy a single row each instead of two
  • Made enchantment slots clickable to reveal a centered level picker inline
  • Added level 0 to the level picker as a way to deselect an enchantment
2.0.0Релиз1.21.2, 1.21.3, 1.21.4 · 24 апреля 2026 г.
  • Added multi-version support covering Minecraft 1.21.2 through 1.21.4
  • Replaced the custom click sound with a built-in Minecraft sound
  • Moved Carved Pumpkin to the end of the item grid in Phase 1, next to Book
  • Redesigned Phase 2 enchantment rows to occupy a single row each instead of two
  • Made enchantment slots clickable to reveal a centered level picker inline
  • Added level 0 to the level picker as a way to deselect an enchantment

Комментарии

Загружаем…