Make some legacy version of excellent enchantment work with custom anvil
Fix an important bug related to XP cost:
- sometimes XP cost limit is not respected.
Add support to disable too expensive for 1.21.4
Fixed custom anvil recipe GUI not displaying recipe items Also use a custom version of IF framework:
- Reduced file online jar size by 60% !
- Made the GUI non version dependent ! (should work without needing to update to future version) Still need ProtocoLib to disable too expensive on unsupported version
- Updated Gui library to make the config gui compatible with 1.21.3
- Some API changes and fixes
Side note:
CustomAnvil now have partial unit testing thanks to MockBukkit !
If you're a plugin developer, you should check it's cool !
It's honestly a cool project and unit testing actually allowed me to find some issues on CustomAnvil
Fixed merge level limit not being bypassed by the bypass level permission
- Add support for 1.21.2 & 1.21.3 for the "override Too Expensive" feature
- Optimized merge when player has bypass permission
- Optimized list gui that contain sub gui by lazy loading the sub gui
- Fix density enchantment item cost being 1 instead of 2
Fix enchantments, avoiding custom anvil rules when an ExcellentEnchants enchantment is present.
I also want to apology for releasing another new release in a such short time. But it's an important bugfix
Hotfix: Fix custom enchantments max level from supported enchantments resetting every restart.
Last fix should have resolved it, but I misunderstood the issue, thinking it came from last update. It was present since 1.5.2
Fix custom enchantments max level from supported enchantments resetting every restart
also updated some dependency
- Support for ExcellentEnchants
- Add enchantment merge level limit (& config gui for to configure it)
- Use namespace for enchantment instead of name (still use name as backup)
- Deprecated API method using enchantment name and replaced them with namespace methods
- Work with most plugin using anvil-gui by wedjd
- Improved main logic code readability (but may break thing)
Multiplies changes (improved logic, namespace...) make this version likely to have something broken. Next version(s) may be fix
Fix 1.21 config updater
Also automatically repair previously broken config version
- Allow 1.21 enchantment in enchantment book
- Add unit repair of mace with breeze rod
- Fixed "chose enchantments of conflict" gui back button not leading to previous gui
- Tried to make list guis prettier
- Better default item and book cost on paper
- Fix custom craft exact count button not working
- Add work penalty type (Future version may allow custom penalty type)
- Experimental Folia support
- Compatibility with Disenchantment >= 5.4.0 (but break compatibility with version under 5.4.0)
- Automatically add default to config.yml when they are absent
Please be aware that config GUI is not currently available on Folia. And it is a lot more likely to have issue using Custom Anvil on Folia.
Initial Modrinth upload.
Ensure compatibility with Disenchantment and make it use custom anvil XP settings. (like "override Too Expensive" or XP cap)