Auto-Attribute-Swap (AAS)
Auto-Attribute-Swap automatically switches hotbar slots when the attack button is pressed, so a player can use a lunge spear, mace or other weapon without timing the swap by hand.
What it does
When the attack key is pressed, the mod swaps to a configured primary or secondary hotbar slot, letting a weapon with an attribute such as a lunge spear or mace take effect without a manual two-key press. A hotkey, which defaults to G, toggles the swapping on and off, and the on or off state is shown on screen.
The primary and secondary slots are set in the Attribute Swap Config screen reached through Mod Menu. Fabric API is required, and the mod is released for Minecraft 1.21.6 – 26.3 on Fabric, with the latest build, 1.0.0, targeting 26.3 and dated 2026-09-15. The code is MIT licensed, but the project is not open source. It is client required and server optional, so players install it and servers may add it too.
Key features
Automatic hotbar swap
Pressing the attack button also switches to the configured slot, so the swap happens in the same press.
Lunge spear and mace support
The swap works with lunge spears, maces and other weapons whose attributes depend on the slot held.
Toggle hotkey
A configurable key, G by default, switches the automatic swap on or off, and the state is displayed.
Slot configuration
Primary and secondary slots are set in the Attribute Swap Config screen in Mod Menu.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
Attribute Swap Indicator is a Fabric client-side only mod for 1.21.11 – 26.2, released under the GNU General Public License v3.0 only and open source. Lunge swap fix is a Fabric server-side only mod for 26.2 under the MIT License and not open source. Visual Swap is a Fabric client-side only mod for 1.21.11 – 26.3 under All rights reserved and not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Auto-Attribute-Swap (AAS) | Fabric | 1.21.6 – 26.3 | Client required, server optional | 2026-09-15 |
| Attribute Swap Indicator | Fabric | 1.21.11 – 26.2 | Client-side only | 2026-06-19 |
| Lunge swap fix | Fabric | 26.2 | Server-side only | 2026-08-19 |
| Visual Swap | Fabric | 1.21.11 – 26.3 | Client-side only | 2026-09-25 |
Questions
Does Auto-Attribute-Swap need Fabric API?
Does the server need Auto-Attribute-Swap installed?
Which game versions have files?
What the author says
Tired of having to perfectly time pressing your hotbar slot and attack button at the same time? This mod automates attribute swapping for you!
Official listing
- Modrinth page
- modrinth.com/mod/autoattributeswap
- Owner
- Henryyyooouuu
- Published
- 2026-06-22
- Updated on Modrinth
- 2026-09-15
- Facts verified
- 2026-10-15
