Back to mods
Attribute Swap Fix project artwork

Modrinth · Minecraft mod

Attribute Swap Fix

Fixes the attribute swapping bug without breaking PVP entirely

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Attribute Swap Fix release should I use?

Updated 5 months ago
Latest stable file 1.0.0
Game version 26.2
Loader Fabric

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.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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. Change the file and its required mods may change too.

No extra mods listed for this file

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. Pick another file and the loader, install side or required mods may change.

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

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

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

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

Visual Swap


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 /asf command
  • 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.

2 available setups

Check 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

2 of 2 releases match

Looking for an older file? The official Modrinth project page is in Resources.