File Details
recruitsaddon-1.1.1.jar
- R
- Sep 4, 2025
- 203.01 KB
- 577
- 1.20.1
- Forge
File Name
recruitsaddon-1.1.1.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
Version 1.1.1 - Performance & Assignment Fixes
Performance Improvements
- Logging Optimization: Reduced log spam by converting debug/info logs to appropriate levels (debug/trace)
- Build Configuration: Changed default logging level from debug to info for better performance
- Conditional Logging: Added debug-level checks to prevent unnecessary string operations
- TPS Protection: Optimized high-frequency logging in siege, raid, and network systems
Critical Bug Fixes
- Assignment Logic: Fixed units not properly switching to non-listening state when assigned to commanders
- Commander Control: Units assigned to commanders now properly stop responding to player commands
- Verification Logic: Fixed assignment verification to correctly validate listening state
- Import Issues: Resolved missing ModMain import causing compilation errors
Code Quality
- Error Handling: Improved error recovery and state restoration during failed assignments
- Network Optimization: Rate-limiting and cooldown messages moved to trace level
- Memory Efficiency: Reduced memory usage from excessive logging operations
Version 1.1.0 - Siege Command Integration
New Features
Siege Command GUI Integration
- New Siege Command Category: Integrated with the Recruits mod Command GUI Screen
- "Siege Here" Button: Command your army to siege the position you're looking at
- Formation Toggle: Cycle between March, Combat, and Siege formations with one click
- Siege Status Display: Real-time information about current siege operations
- Tactical Control: Cancel Siege and Emergency Retreat buttons for battlefield management
- Advanced Command Prefill: Quick access to siege coordinate templates in chat
- Smart Requirements: Automatic detection of commanders with minimum army size (10+ units)
- Commander Integration: Works with existing SiegeCommandProcessor and SiegeFormationManager systems
Technical Improvements
- Enhanced Client Event Handler: Registers both Enhanced Recruit Category and Siege Command Category
- Seamless Integration: Uses existing siege system infrastructure for reliable operation
- Commander Detection: Automatically finds nearby commanders within 32-block radius
- Army Validation: Ensures sufficient forces before enabling siege operations

