The core EcoEnchants API has been rewritten This version doesn't bring any major new features for users, however for developers this version is significantly different from all previous versions of EcoEnchants. This was necessary to bring 1.20.3+ support (still highly experimental, but tested as working), which requires NMS registration.
- EcoEnchant is now an interface and does not extend Enchantment. If you want to get the backing enchantment, use EcoEnchant#enchantment
- All EcoEnchant implementations should extend EcoEnchantBase - libreforge-based enchants use LibreforgeEcoEnchant, and hardcoded enchants use HardcodedEcoEnchant.
- The API has been majorly cleaned up and made more kotlin-focused, however Java compatibility has not been lost
- com.willfp.ecoenchants.enchants has been moved to com.willfp.ecoenchants.enchant (without an s)
For users, what changes? Not much! All of your configs will work exactly as they have before, and this version is just a drop-in replacement. However, if you use a plugin that uses the EcoEnchants API, it will break until it's been updated!
1.20.3+ Support is still highly experimental! If you have any bugs with these new versions (which is likely), please report them on the discord and we'll sort them as soon as possible.
Also - there's a new option in config that allows for anvils to be used past the 'Too Expensive' limit: anvil.max-repair-cost