# SmartSpawner - Version 1.5.5
## ✨ New Features
### Version Support
- **Added Minecraft 1.21.10 Support** - Full compatibility with latest Minecraft version
### New Spawner Config
- **Copper Golem Spawner** - Added support for Copper Golem spawner in 1.21.10
## 🐛 Bug Fixes
### Spawner Mechanics
- **Fixed Cycle Skipping** - Resolved issue where spawners would skip a cycle after stack size updates (stacking or destacking)
- **Fixed Hopper Integration** - Hoppers now continue working correctly after spawner stacking operations
- **Fixed Low TPS Issues** - Spawners no longer stop spawning loot when server TPS drops
- **Spectator Mode Fix** - Spectator players can no longer activate spawners
## 🛡️ Security & Stability
### Critical Fixes
- **Fixed Item Duplication Exploit** - Implemented comprehensive item duplication exploit patch with transaction locking and atomic operations for "Drop All" and "Take All" buttons in spawner storage GUI
- **Enhanced Exception Handling** - Added exception catching to prevent plugin shutdown when other plugins crash, ensuring SmartSpawner continues to load even if other plugins fail
## 🎨 Configuration Changes
### Placeholder System Update
- **New Placeholder Format** - Changed from `%placeholder%` to `{placeholder}` syntax
- **Added Percentage Placeholders** - New percentage-based placeholders available in holograms and spawner info buttons
> ⚠️ **Important**: You must update your language folder. Backup your current language files and either:
> - Delete the language folder to let the plugin regenerate it with new format, or
> - Manually update placeholders if using custom language files
### Configuration Migration
- **Migrated from `mob_drops.yml` to `spawners_settings.yml`** - Consolidated configuration structure
- **Customizable Mob Head Textures** - Users can now edit mob head texture displays directly in spawner GUI settings
## ⚡ Performance Optimizations
### Spawner System
- **Optimized Range Checking** - Significantly improved performance of spawner range detection
- **Enhanced GUI Updates** - Streamlined spawner GUI view updates with reduced meta calls and improved placeholder handling
- **Loot Spawn Optimization** - Enhanced loot spawning efficiency with scheduled spawn time tracking and early loot addition
### User Experience Improvements
- **Accurate Countdown Timer** - Spawner delay now counts down correctly from configured time to 00:00 (e.g., 25s → 00:25 to 00:00)
- **Smoother GUI Experience** - Pre-spawner loot processing for faster, smoother GUI timer performance
- **Prewarm Head Texture Cache** - Reduced GUI latency by preloading mob head textures
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }