[1.2.1] - 2025-08-15
Fixed
- AutoEat Slot Selection: Fixed critical issue where food wouldn't be selected properly
- Added Mixin accessor to properly access and modify the selected hotbar slot
- Now correctly switches to food slot before attempting to eat
- Synchronizes slot changes with server using packets
- Log Spam: Removed excessive logging from overlay messages (coordinates, etc.)
- Code Quality: Removed all blocking operations, improved state management
Technical
- Implemented Mixin system for accessing private PlayerInventory.selectedSlot field
- Simplified slot switching logic - direct modification instead of complex workarounds
- Better error handling and state validation
Performance updates!
Major performance improvements to prevent server timeouts:
• Intelligent Scheduling - Calculates exact time until night instead of constant polling• Reduced Server Load - Night checks now every 30s instead of 5s (6x reduction)• Smart Sleep Mode - During day, waits up to 10 minutes without any processing• Fixed Critical Bug - Removed Thread.sleep() that was blocking the game thread
New Features: • Configurable timing parameters (cooldowns, intervals, retry limits)• Automatic failure backoff after 3 failed attempts• Non-blocking async operations for chat responses
Optimizations: • Pre-compiled regex patterns for chat detection• Dimension caching to reduce overhead• Efficient bed finding with early distance checks
Perfect for AFK farms - your server will thank you! 🎮