Anvil Rework fully reworks(who would've guessed) the level costs in the anvil and enables balanced overleveling of any enchantment. This mod adds a enchantment rate system which instead of costs skyrocketing for powerful weapons, costs are flat for any enchantment always. Another major overhaul to the vanilla system is overleveling your enchantments. Any enchantment can be overleveled but this comes at a risk; every time you overlevel an enchantment, the item has a 50% chance to be obliterated. This ensures that if you get too greedy with overleveling you will lose your most powerful gear. Using an item in the smithing table will Stabilize it, causing any overleveled enchantments to return to the default maximum. The mod can be installed server-side only but a warning comes up if installed client-side too
Below are the technical details of each feature:
Repair Cost: Flat 1 Level
Rename Cost: Flat 1 Level
Enchanting Cost: (1 + (enchantment_rate * level))
Overleveling Cost: (1 + (enchantment_rate * level)^1.5)
Commands:
/anvilfix ...
reload: reloads the config from the file ; default: N/a
rate <enchantment_id> [cost]: changes the enchantment rate for the given enchantment ; default: per enchantment
max_level <int>: sets the maximum level achieveable from this mod; default: 255
destruction <bool>: sets whether or not overleveled items can be destroyed in the process; default: true
overleveling <bool>: sets whether or not items can be overleveled; default: true
stabilize_netherite <bool>: sets whether or not using a smithing table will stabilize an item; default: true
chance base <float>: sets the chance of overleveling items causing a break; default: 0.5
chance special <float>: sets the chance of overleveling mending causing a break; default: 0.7
cost_limit <bool>: sets whether or not the anvil cost limit will be removed; default: true

