File Details
easyafk-fabric-1.21.1-2.3.2.jar
- R
- Dec 19, 2025
- 35.60 KB
- 59
- 1.21.1
- Fabric + 1
File Name
easyafk-fabric-1.21.1-2.3.2.jar
Supported Versions
- 1.21.1
Curse Maven Snippet
Bug Fixes
- Players can now use /afk command while sitting on modded chairs (previously blocked with "cannot go into AFK whilst jumping" error)
- Auto-AFK now works correctly when sitting on modded chairs
- Fixed duplicate "cannot do while AFK" messages when interacting with entities
- Players can no longer mount horses or other rideable entities while AFK
- Attempting to sit on a chair while AFK is now properly blocked
- Shifting out of a chair while AFK now correctly removes AFK status before dismounting (prevents visual glitches)
- Jump detection now works correctly to exit AFK without native jump events
Enhancements
- Added reusable canEnterAFK() method that validates player state before entering AFK
- Both manual /afk command and auto-AFK now use consistent validation logic
- Improved distinction between chairs (allowed) and rideable entities like horses/boats/minecarts (blocked)
Technical Changes
- Updated passenger validation to check entity types (LivingEntity, Boat, AbstractMinecart)
- Chairs (non-living entities) are now correctly treated as valid AFK locations
- Added UseEntityCallback to prevent mounting entities while AFK
- Implemented tick-based jump detection using vertical velocity monitoring
- Added sneak key detection for proper chair dismounting
- Improved cleanup of tracking maps on player disconnect
- Added rate-limited message handling to prevent spam

