AirSwap: Automatic Mace Swap Mod for Minecraft Combat

AirSwap automates sword-to-mace switching for airborne attacks in Minecraft. Learn how this Fabric client mod works and how to install it safely.

AirSwap

Combat in modern Minecraft has become a science of timing, and few techniques are as satisfying as landing a mace smash after an airborne strike. AirSwap is a client-side Fabric mod that automates the weapon juggling for you. Instead of manually scrolling from your sword to your mace mid-jump, the mod quietly selects the right tool inside the same attack call, letting you focus on positioning and timing rather than hotbar gymnastics.

What AirSwap Does

At its core, AirSwap watches your attacks while you are airborne. When you swing a sword or spear and a qualifying mace sits in your hotbar, the mod switches your selected slot before vanilla synchronizes it and sends the attack packet to the server. You can also enable a swap-back option so your original weapon returns after the hit, keeping your hotbar layout predictable.

Everything happens on the client. AirSwap does not modify damage packets, fabricate fall distance, or add any server-side logic. The server still decides whether a smash is valid, how much damage lands, and whether your inventory change is accepted. Think of it as a convenience layer, not a guarantee.

Feature Highlights

  • Automatic mace selection before qualifying airborne attacks
  • Optional swap-back with an adjustable delay of 0 to 10 client ticks
  • Configurable fall distance, cooldown, target filtering, and sneaking restrictions
  • Support for vanilla swords and properly tagged modded weapons
  • Optional main-inventory search when no hotbar mace is available
  • Live JSON configuration plus a toggle keybind
  • Optional in-game settings screen through Mod Menu and YACL

Minecraft Versions and Loader Support

AirSwap targets Minecraft 1.21.11 on Fabric Loader 0.19.2 or newer, with Java 21 and Fabric API 0.141.4+1.21.11. It is built specifically around Yarn mappings for that version, so it is not a Forge or NeoForge mod, and compatibility with other Minecraft releases is not guaranteed. If you play on a different version, check for an updated build before assuming it will load.

Players who prefer a frictionless setup often grab AirSwap through the foxygame.net launcher, which keeps the add-on catalog and version compatibility checks in one place so you spend less time matching JAR files to loaders.

How to Install AirSwap for Minecraft

Getting started is straightforward if you follow the order of operations:

  • Install Minecraft 1.21.11 and Fabric Loader 0.19.2 or newer
  • Add Fabric API for 1.21.11 to your mods folder
  • Place the AirSwap JAR in your client's mods folder
  • Optionally add Mod Menu and YACL for the graphical config screen
  • Launch the game and confirm the mod loads

Do not install AirSwap on a dedicated server. It is a client-side mod only. If you want the in-game settings menu, remember that Mod Menu without YACL will not provide a configuration screen, though the mod still works through its JSON file and keybind.

Configuration and Usage

The JSON file lives at config/airswap.json and is checked every 20 client ticks. Defaults include the mod enabled, swap-back on, a zero-tick swap-back delay, players-only targeting, and a minimum fall distance of 0.0 blocks. You can raise the fall threshold up to 10.0 blocks, set a swap cooldown up to 20 ticks, and toggle Elytra gliding behavior, spear attacks, and tagged sword recognition.

To bind the toggle key, open Options, then Controls, then Key Binds, and look under Miscellaneous for Toggle Air Swap. The key is unbound by default. With Mod Menu and YACL installed, you can open Mods, select AirSwap, and adjust everything through sliders and tooltips without restarting. Edit the JSON only while the settings screen is closed to avoid conflicting writes.

Behavior Worth Knowing

Manual hotbar changes cancel pending automatic returns, and opening any screen clears a queued swap-back to prevent odd inventory interactions. Joining or disconnecting resets pending returns and the mod's cooldown. Invalid settings fall back to defaults, while malformed JSON preserves your last valid in-memory configuration and logs a warning.

Public Server Warning

AirSwap automates combat input, and many public servers treat that as a rule violation. Automatic weapon switching and attribute-swap techniques can trigger anti-cheat flags, kicks, temporary suspensions, or permanent bans. The mod does not hide itself, bypass anti-cheat, or claim to be ban-safe. Use it in single-player or on private servers where the owner has given explicit permission, and always ask staff before connecting with it enabled.

Final Thoughts

If you want to download AirSwap and streamline your airborne mace plays, it delivers a focused, well-documented client-side tool for Fabric 1.21.11. It will not guarantee a smash or override server validation, but it removes a layer of manual hotbar fumbling so you can concentrate on the fight. Test it in a permitted world first, respect server rules, and enjoy cleaner combat flow.