MerlinBooks-v7.0.jar
What's new
📖 MerlinBooks v7.0 Changelog 🔥 Major Features & Balancing
Enchantment Cap System: Introduced a strict limitation on how many Merlin enchantments can exist on a single item to maintain server balance.
Configurable Limits: Server owners can now globally adjust the maximum allowed enchantments per item via the new settings.max-enchants-per-item node in config.yml (Defaults to 4).
Anvil Integration: The Anvil UI has been updated to automatically reject and block enchanted books that would push an item over the maximum enchantment limit.
Command Protection: Added safety checks to the /mb chant command so admins cannot accidentally force an enchantment onto an already maxed-out weapon.
⚙️ Under-the-Hood Optimizations & Bug Fixes
Anti-Cheat Safety: Removed the deprecated isOnGround() API calls and replaced them with direct block-checks beneath the player to prevent hacked clients from tricking the server.
Modern Java Implementation: Completely refactored resolveTargetBlocks to use highly optimized Java 14+ switch expressions for faster mineral lookups.
NPE Protection: Heavily reinforced the code with strict null-checks around getKeys() and getValue() to eliminate the risk of NullPointerExceptions crashing the plugin.
Lambda Optimization: Shrunk down heavy BukkitRunnable lambdas into cleaner, faster expression lambdas.
API Stability: Safely isolated and suppressed Spigot's experimental AnvilView API warnings.
General Cleanup: Removed all unused imports, inverted redundant booleans, and silenced false-positive spellchecking warnings across the entire engine.
This version is completely balanced, highly optimized, and warning-free. Ready to deploy! Let me know if you need to squeeze anything else into this update before you ship it.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

