promotional bannermobile promotional banner
premium banner
Automatically ghost-swaps your sword → mace → sword within a single server tick on every critical hit — combining sword attack speed with full mace damage, Breach, and Density enchantment power. Toggle with G. Zero visual desync.

Description

⚔️ Auto-Attribute Swapping

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.

w


Crit conditions

The swap only activates when all of these are true:

  • Falling (fall distance > 0)
  • Airborne (not on ground)
  • Not sprinting
  • Not in water or lava
  • Not on a ladder / vine
  • No Blindness status effect
  • Not riding a vehicle (horse, elytra, etc.)

Requirements

Dependency Version
Minecraft 1.21 – 1.21.4
Fabric Loader ≥ 0.15.0
Fabric API Any
Prism Mod Menu Any
Java 21+

Installation

  1. Install Fabric Loader ≥ 0.15.0
  2. Drop Fabric API into your mods folder
  3. Drop Prism Mod Menu into your mods folder
  4. Drop ghostswap-2.0.0.jar into your mods folder
  5. Launch and press G to enable

Keybinds

Key Action
G Toggle Auto-Attribute Swapping on / off

Notes

  • Client-side only — works on any server (vanilla, Paper, Spigot)
  • Tested on Minecraft 1.21 – 1.21.4 with Fabric
  • Made by Shubham96 · Prism Studios