ModsFinder

Auto-Attribute-Swap (AAS)

by Henryyyooouuu

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.

FabricClient required, server optionalMIT License1.21.6 – 26.3

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

  1. Automatic hotbar swap

    Pressing the attack button also switches to the configured slot, so the swap happens in the same press.

  2. Lunge spear and mace support

    The swap works with lunge spears, maces and other weapons whose attributes depend on the slot held.

  3. Toggle hotkey

    A configurable key, G by default, switches the automatic swap on or off, and the state is displayed.

  4. 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.

26.31.0.0
26.21.0.0
1.21.111.0.0
1.21.61.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Auto-Attribute-Swap (AAS)Fabric1.21.6 – 26.3Client required, server optional2026-09-15
Attribute Swap IndicatorFabric1.21.11 – 26.2Client-side only2026-06-19
Lunge swap fixFabric26.2Server-side only2026-08-19
Visual SwapFabric1.21.11 – 26.3Client-side only2026-09-25

Questions

Does Auto-Attribute-Swap need Fabric API?

Yes. Fabric API is a required dependency, and the mod runs on the Fabric loader only.

Does the server need Auto-Attribute-Swap installed?

No. The mod is client required and server optional, so a server can run without it while each player installs it.

Which game versions have files?

Files are available for 1.21.6, 1.21.11, 26.2 and 26.3, with 26.3 as the latest.

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!
Henryyyooouuu, on the Modrinth page

Official listing

Owner
Henryyyooouuu
Published
2026-06-22
Updated on Modrinth
2026-09-15
Facts verified
2026-10-15