
Modrinth · Minecraft mod
Attribute Swap Fix
Fixes the attribute swapping bug without breaking PVP entirely
Quick answer
Which Attribute Swap Fix release matches 26.2?
Attribute Swap Fix 1.0.0 targets 26.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Attribute Swap Fix required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Attribute Swap Fix 1.0.0 need?
1.0.0 on 26.2. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Attribute Swap Fix without breaking your instance.
Built for Attribute Swap Fix 1.0.0 on 26.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.0. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.
About this project
What does Attribute Swap Fix add?
This mod was a proof of concept and has served its purpose, therefore it has been archived. You can check the final verisons for latest minecraft version at here:
THIS MOD IS NO LONGER MAINTAINED
Attribute Swap Fix
This is a mod that brings back attribute swapping (a.k.a. swap hitting) for PVP. Switch to another weapon and your next hit lands right away — no waiting for the attack cooldown to recharge.
Why
In Minecraft 26.2 pre-release 2, Mojang accidentally removed attribute swapping. In the snapshot after that the change was reverted, but Mojang said they'd get around to fixing attribute swapping properly later on. This mod is just my idea of how that fix could work — there are probably other ways to do it, but this is mine. ;)
Dependencies
- Fabric API
- Fabric Loader 0.19.2+
- Java 25
Supported Versions
| Minecraft Version | Supported |
|---|---|
| 26.2-pre-2 | ✅ |
Features
- Swap to another weapon and immediately land a follow-up hit — no cooldown wait
- Your swapped-to weapon keeps its full enchantments and can still crit and sweep
- Charge weapons like the Mace and Spear can swing right after a swap
- Chain swaps together for fast back-to-back hits
- The attack indicator shows your swap timing, so you always know your window
- A little marker flashes when you land a swap hit, and particles pop on the target you hit
- Fully configurable in-game with the
/asfcommand - Works in singleplayer and on servers (install it on both the client and the server for multiplayer)
Configuration
Everything is configured in-game with the /asf command:
- Turn the whole feature on or off
- Change how long the swap window lasts
- View or set any option on the fly
Project description from Modrinth.
Pick your setup
Attribute Swap Fix by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Attribute Swap Fix versions and loaders
1.0.0
attribute-swap-fixes-1.0.0.jar
28 Jun 2026
Looking for an older file? The official Modrinth project page is in Resources.