Quick Swap Attack

About

A Fabric mod for Minecraft 1.21.11 that enables instant hotbar item swapping for attacks. When the player presses a configurable keybind (default R), the mod remembers the current hotbar slot, swaps the main hand item with a designated target slot (default 9), performs a vanilla-compliant left-click attack respecting normal cooldown and reach rules, then swaps back to restore the original configuration. Uses a C2S packet for server-side validation to prevent desync or item duplication. Automatically cancels when in GUIs or when either hand is empty, with no custom cooldown on the keybind itself.