Compatibility
Minecraft: Java Edition
1.21.4–1.21.10
1.21.1
Platforms
Supported environments
Links
Creators
Details
Shield Stun (Fabric)
A server-side Fabric mod that fixes an 8 year old Minecraft bug (MC-268147) from 1.11.2.
This is done by porting Paper's skip-vanilla-damage-tick-when-shield-blocked setting to Fabric.
The patch is from LivingEntity.java.
The current Fabric code is from TheobaldTheBird/CarpetPvP's shieldStunning setting.
Configuration
The config file is located at config/shieldstun.json.
{
// Enable or disable the mod.
"enable_stuns": true
}
Commands and permissions
| Command | Permission | Description |
|---|---|---|
| /shieldstun reload | shieldstun.reload (or op 3) | Reloads the config |
| /shieldstun status | shieldstun.status | Get stun status |
| /shieldstun enable | shieldstun.enable (or op 3) | Enable the mod |
| /shieldstun disable | shieldstun.status (or op 3) | Disable the mod |
What this mod doesn't do
This mod does not enable shield stunning for fake players like those found in Carpet. If you are using TheobaldTheBird's CarpetPvP mod, type:
/carpet shieldStunning true
This will TEMPORARILY enable shieldStunning for fake players. If you want it to be PERMANENT, click the text that says '[Change permanently?]'.



