Attribute Swap Unpatched

Attribute Swap Unpatched

This mod brings attribute swap back to the game in 26.2-pre-2.

by
21 Downloads
fabricgame-mechanics
Rent Server with this Mod

About this Mod

Attribute Swap Unpatched

As you may know, in version 26.1.2 pre-release 2, Mojang "patched" attribute swapping. It is a technique commonly used in the PvP community to gain advantage by quickly switching items in their hotbar to apply attributes of an item to another.

Why

This bug was discovered a few years ago and it changed modern PvP a lot. The removal of this bug from Mojang got many backlashes from the community. Thus, I created this mod to revert patches Mojang made to this bug and let players continue using attribute swap.

How

Mojang patched this by switching your hotbar slot 1 tick later after a hotbar keybind is pressed on the client-side, the server-side has no changes in its logic, meaning:

  • A vanilla server still accepts attribute swaps if the client does so.
  • Attribute swapping is less consistent, but not entirely removed and it created some "side effects", such as not being able to switch slot and use item/place block at the same tick.

Certain servers may block attribute swap on their side (For example, a Paper server disables attribute swapping by default).
However, for this mod, both the server and client must have it if they want to use attribute swapping.

Usage

  • Installing this mod on the client lets you and other players that have this mod installed (if opened to LAN) perform attribute swaps in your worlds, but not in vanilla servers.
  • Installing this mod on the server lets players on the server that have this mod installed to perform attribute swaps.

Revert

In version 26.2 pre-release 3, Mojang reverted the fix made to attribute swapping. Now the client-side hotbar logic behaves similarly to older versions before the fix. This mod still reverts the fix for 26.2 pre-release 2, and possibly continues reverting the bug fix if Mojang decides to patch it again in future releases.

Available Versions

Attribute Swap Unpatched 1.1.0release
MC 26.2-pre-2fabric
June 9, 2026

How to Install Attribute Swap Unpatched on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2-pre-2).

3

Install Mod

Open the mod browser in the dashboard and search for "Attribute Swap Unpatched". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.2-pre-2

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Attribute Swap Unpatched server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.2-pre-2). You can switch loaders with one click in the panel.

Is Attribute Swap Unpatched compatible with fabric?

Attribute Swap Unpatched officially supports fabric for Minecraft 26.2-pre-2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Attribute Swap Unpatched – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Attribute Swap Unpatched consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Attribute Swap Unpatched with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 only
Server-side
Optional

Supported Versions

26.2-pre-2