Auto-Attribute Swapping exploits a longstanding vanilla Minecraft behavior (MC-28289) — when you switch hotbar slots in the same tick as an attack packet, the server reads damage from your new item but uses the cooldown that was already charged from your old one.
This mod automates the entire sequence at the packet level, invisibly, on every critical hit.

The swap only activates when all of these are true:
| Dependency | Version |
|---|---|
| Minecraft | 1.21 – 1.21.4 |
| Fabric Loader | ≥ 0.15.0 |
| Fabric API | Any |
| Prism Mod Menu | Any |
| Java | 21+ |
Fabric API into your mods folderPrism Mod Menu into your mods folderghostswap-2.0.0.jar into your mods folder| Key | Action |
|---|---|
| G | Toggle Auto-Attribute Swapping on / off |