Popular community mod

Want your own version of this mod?

This mod started as a single prompt. Open the Minecraft Creator Hub and generate your own version with different items, mechanics, or rules. No coding needed.

atribute swap banner
atribute swap icon

atribute swap

atribute swap is a Fabric mod for Minecraft that switches to a hotbar mace when the client attacks another player.

Downloads

561

Remixes

1

Price

Free

fabric · Client · 1.21.1 · mod

atribute swap

What it does:

  • Client-side helper that, after you hit another player, swaps your held item to a Mace on your hotbar, then returns to your last sword or axe after a short delay.
  • Runs only on the client; servers do not need the mod installed.

How to use:

  • Keep a Mace on your hotbar.
  • Hit a player with your sword or axe; the mod equips the Mace for a follow-up swing and snaps back to your previous weapon roughly half a second later.

Notes and limitations:

  • Only searches the hotbar for a Mace; items elsewhere in the inventory are ignored.
  • The return delay is about 10 ticks; hitting again with a sword or axe refreshes the timer.
  • Revert occurs only if the saved slot still holds a sword or axe.

Tested by Player Games

We ran version 1 of this mod on a dedicated Fabric 1.21.1 server on 2026-11-16.

Startup, launch to ready
25 s (one run, to the nearest 1 s)
Peak memory at ready
1099 MiB (whole server container, not this mod alone)
File size
4 KiB

The server's own startup timer (its "Done" log line) read 13.0 s. It covers only part of startup.

The server reached ready with this mod and its required dependencies. This checks startup, not every gameplay feature or client compatibility.

Test isolation was not recorded. Startup and whole-container memory are boot observations, not controlled comparisons of mod cost.

No performance profile yet. Mod CPU cost, allocations and gameplay tick impact have not been measured; missing data does not mean zero cost.

Measured by Player Games on our own test servers (validator image 9a71b55b0bf1). One run is an observation; a median over repeated runs is a measurement.

MORE LIKE THIS