🏛️ Major Overhaul to the Altar System
- Centralized Core: Refactored the summoning logic for Legendary Pokémon to handle common logic (permissions, item consumption, proximity checks, and command execution).
- Smart Fallback System: Implemented a “Location Fallback” mechanism. If a
SummonAnchorblock is not found within the search radius, the Pokémon will now spawn 2 blocks in front of the player instead of failing, ensuring compatibility with old structures. - Permission Integration: Integrated a global permission check (`
lumymon.altar.use`) using a customModPermissionsutility, fully compatible with LuckPerms.
🚀 New Feature: Raid Enhancements
- Raid Crystal Overlay (HUD): Developed a custom rendering system that displays vital information when looking at a Raid Crystal:
- Dynamic Visuals: Shows the Boss Pokémon icon (with support for Mega Evolutions), its Tier (Difficulty: 1 – 7 Stars), and Raid Type.
- Smart Backgrounds: The HUD background color dynamically matches the Elemental Type of the Raid.
- Real-time Data: Integrated a custom network system to show the Player Count (e.g., 1/4) and a Reset Timer that syncs with the server.
- Raid Cheer Handler: Created an automated item management system for the Raid Dimension:
- Auto-Delivery: Players automatically receive 3x of each Raid Cheer (Heal, Defense, Attack) upon entering the Raid Dimension.
- Overflow Protection: If the inventory is full, cheers are dropped at the player’s feet with a notification.
- Auto-Cleanup: All Raid Cheers are automatically removed from the inventory when leaving the Raid Dimension.
⚙️ New Feature: Data-Driven Poké Snack Blacklist
- Dynamic Blacklist: You can now block/allow specific Pokémon from being spawned by Poké Snacks. By default, the “custom” blacklist is enabled, featuring all Pokémon that already have unique obtaining methods (altars, structures, or special mechanics) within COBBLEVERSE.
- Ready-to-use Modules: Four additional blacklist categories are included and can be easily toggled via the configuration file (
lumymon.json):legendary,mythical,paradox,ultrabeast.
- Total Customization: The system is entirely data-driven. Add filenames to the “
blacklistedPokeSnackSpawns” list in your config. - Master Switch: Disable the entire system by setting “
enablePokeSnackBlacklist” tofalse.
🛠️ Improvements & Fixes
- Structure Localization: The Secret Key and Turbine Key now correctly locate the corresponding Team Galactic structures.
- Map Icons: Fixed the Split Decision Temple icon not appearing on maps.
- Localization & Lore: Added unique summoning messages for all Legendaries.
- Optimized Performance: Reduced server load by optimizing the triple-for-loop in anchor searching, allowing for customized search volumes per altar.