Afk Macro Automation

About

A client-side Minecraft Fabric mod for version *.21.4 that automates a complex AFK command and keypress macro sequence. Toggle the automation on and off by pressing the Right Alt key. The mod executes a continuous loop of sending commands, waiting, simulating mouse clicks at screen center, and pressing the E key to close GUI interfaces. The macro runs on a separate thread with safe client tick integration, ensuring the game remains responsive during wait periods. It checks the toggle state during sleeps to stop immediately when deactivated, providing seamless AFK automation without freezing the game.