promotional bannermobile promotional banner

Anvil Enchantment Ordering Guide

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

File Details

aeog-1.1.0.jar

  • R
  • Mar 23, 2026
  • 190.18 KB
  • 21
  • 1.21.11
  • Fabric

File Name

aeog-1.1.0.jar

Supported Versions

  • 1.21.11

Curse Maven Snippet

Fabric

modImplementation "curse.maven:anvil-enchantment-ordering-guide-1491381:7799347"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

  • Added Auto-detect Item setting: automatically advances to Phase 2 with the correct item pre-selected when an item is placed in the anvil's left slot.
  • Added Auto-fill Mode setting: optionally pre-selects enchantment levels in Phase 2, either at maximum level for all applicable enchantments or based on enchanted books found in the player's inventory.
  • Added Allow Incompatible Enchantments setting: allows selecting mutually exclusive enchantments simultaneously, giving each its own independent row instead of grouping them with prev/next arrows.
  • Added a loading screen for calculations with 10 or more enchantments. Phase 3 opens immediately on clicking Calculate, showing a progress bar and the message "Calculating... Please keep the anvil open." The bar fills based on an estimated duration calibrated from real timing data, capped at 90% until the result arrives.
  • Reduced leaf node spacing so frames are packed with exactly 1px between each edge, removing the visual gap between books in the top row.
  • Implemented persistent panel state so the tree, selected item, enchantment choices, and scroll position are all restored when the anvil screen is closed and reopened.
  • Implemented automatic panel reopening when the anvil screen reinitialises, with the centering shift correctly reapplied.
  • Changed curse enchantment names and their selected level numbers to render in red in both Phase 2 and the Phase 3 tooltip, distinguishing them from regular enchantments.
  • Fixed the merge tree layout to correctly handle all enchantment combinations, including cases where the optimizer builds the full book tree first and merges the item in near the end.
  • Fixed the base item (sword, boots, axe, etc.) always appearing as the leftmost node in the top row regardless of enchantment count or settings.
  • Fixed intermediate merge results that feed into the same next step always appearing on the same row, eliminating unnecessarily long vertical connector lines.
  • Fixed connector lines crossing over each other by ensuring each pair's books are always placed adjacent in the top row.
  • Fixed result nodes overlapping at the bottom of the tree as a consequence of the connector crossing fix.