Description
โ๏ธ ShieldSlam
Break the shield. Land the smash.
A client-side Fabric macro for Minecraft 1.21.11. When someone raises a shield at you, left-click and it swaps to your axe, knocks the shield down, and switches back. If you're falling, it goes further and follows the axe hit with a mace smash.
Client-side only. Works in singleplayer and LAN with no setup. On dedicated servers, check the server's rules first.
โ๏ธ Two macros, one click
๐ช Stun Slam
- Axe hit to drop the shield, then a mace hit.
- Needs a mace: โ
- Needs a fall: โ
(โฅ
Min fall) - Best for: finishing a shielding opponent from the air.
๐ก๏ธ Shield Break
- Axe hit only.
- Needs a mace: โ
- Needs a fall: โ
- Best for: breaking a shield from the ground.
Both have their own switch, and the fall distance picks between them:
left-click on a shielding player
โ
โโ falling โฅ Min fall and Stun Slam is on โ ๐ช Stun Slam
โโ otherwise and Shield Break is on โ ๐ก๏ธ Shield Break
โโ neither โ vanilla handles it
So the pair covers the whole exchange: break the shield on the ground, then jump and slam.
๐ค Why the mace needs height
The mace only awards its smash bonus above 1.5 blocks of fall โ that's vanilla's rule, not a mod limitation. Min fall defaults to 1.5 for that reason. It also doubles as the divider between the two macros, so keep it above 0.
๐๏ธ The panel
Press Right Shift in game. Everything is set here โ no config editing, no commands.

The status line tells you which macro would fire right now, so if a click does nothing, that's usually where the answer is. ๐ด Red means something is missing โ no axe, no mace, or not enough fall.

With both switches off the whole panel goes grey, so you can tell at a glance that nothing is armed.
๐ฆ Install
- Install Fabric Loader for 1.21.11.
- Drop Fabric API into your
mods/folder. - Drop
shieldslam.jarintomods/. - Launch ๐
๐งฉ Requirements
- ๐ฎ Minecraft: 1.21.11
- ๐งต Fabric Loader: 0.19.5+
- ๐ Fabric API: Required
- โ Java: 21+
โฑ๏ธ About the millisecond sliders
Minecraft runs its game logic in whole ticks at 20 per second, so 50 ms is the smallest step that exists. The delay sliders move in 50 ms increments for that reason โ anything finer would be a lie about what the engine can do.
0: 2 ticks โ 100 ms100: 4 ticks โ 200 ms500: 12 ticks โ 600 ms
โ ๏ธ Keep the sliders at 50 or above if you want to see the axe swap. At
0both hits land in the same tick and the axe is never visible.
โจ๏ธ Controls
- ๐ฑ๏ธ Left click โ Runs macro
- Right Shift โ Opens panel
- V โ Shield break
Only Right Shift appears in Options โ Controls. The shield-break key is set inside the panel (click Break key). Esc unbinds it.

โ๏ธ Settings
Saved to config/stunslam.json, all editable from the panel.
stunSlamEnabled(Default:true) โ ๐ช Stun Slam on/offdelayMs(Default:100) โ Gap between the axe hit and the mace hitminFall(Default:1.5) โ Fall needed to start Stun Slam โ also the macro dividermaceType(Default:ANY) โ Restrict it to aDENSITYorBREACHmaceshieldBreakEnabled(Default:false) โ ๐ก๏ธ Shield Break on/offshieldBreakKey(Default:V) โ Key that toggles Shield BreakshieldBreakDelayMs(Default:100) โ Gap between the shield-break hit and swapping back
๐ License
MIT โ see LICENSE.


