Back to mods

Modrinth · Minecraft mod

Shield Nerf

Make shields only protect some of the damage!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Shield Nerf release matches 1.21.2?

Updated 1 year ago
Best match for your filters 1.0.3+mod
Game version 1.20.3, 1.20.4, 1.20.5
Loader Fabric, Quilt

Shield Nerf 1.0.3+mod targets 1.20.3, 1.20.4, 1.20.5 with Fabric, Quilt. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Shield Nerf required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Shield Nerf 1.0.3+mod need?

1.0.3+mod on 1.21.2. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Shield Nerf without breaking your instance.

Built for Shield Nerf 1.0.3+mod on 1.21.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.3+mod. It targets 1.20.3, 1.20.4, 1.20.5 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.3+mod. It opens that exact file at the source.

About this project

What does Shield Nerf add?

Shield Nerf

Make shields only block some of the damage taken, instead of all of the damage taken!

Warning: This pack tends to break. A lot.
Notice: This pack is incompatible with Forge/NeoForge despite being listed as supported in the versions. This isn't the pack's fault, it's Forge's/NeoForge's, because Minecraft's statistics system which the pack uses to determine shield logic is broken in NeoForge/Forge.

Questions? Post them in my discord as they are more likely to get seen there. Find it on the sidebar. Any non-urgent issue should be posted in the github repository.

Important

If you downloaded 1.0.0 or 1.0.1 of the mod, please update to 1.0.2 as version 1.0.0 doesn't work at all and 1.0.1 doesn't work on 1.20.3-1.20.6.

Notice

Shields will still block all knockback, and the death message isn't correct if you die from the non-blocked damage when you block a hit, but when making this I had to decide whether to use the minecraft:generic damage type which would make shields block all knockback and have the incorrect death message, or to use the minecraft:mob_attack damage type, which would give a better death message, but I would need to figure out how to bypass the shield, which the only method I can think of would cause knockback to be COMPLETELY REVERSED so that you'd get knocked toward the attacker instead of away from it, because I'd need to cause the damage to come from behind the player, and I decided on the former because the knockback part is a dealbreaker.

Configuration

Configuration is stored in the "ShieldNerfSettings" scoreboard objective.

Settings

  • PercentDmgBlocked - The amount of damage that ISN'T blocked by the shield, as a percent. (I know, misleading name, but it's simpler for development purposes)
    • 50 is the default and is set when the pack loads. A value of 0 is vanilla behavior. A value of 33 is about correct for Minecraft 1.9.x and 1.10.x. A value of 50 is half damage blocked, and is correct for 1.8.x and older versions of Minecraft (sword blocking). 100 makes the shield not block any damage.
    • Any number above 100 will make the player take more damage when blocking than if they hadn't blocked.
  • EnableHurtSound - Whether the hurt sound plays when you take partial damage. Only works if PercentDmgBlocked > 0

Known Issues

  • Knockback and death message related issues
    • See the Notice section.
  • The damage tilt won't show, the hurt sound won't play (fixed), and the hearts on the HUD won't flash when taking partial damage from a blocked attack.
    • I have no idea what causes this, but I'm pretty sure it isn't fixable by the datapack due to the nature of how Minecraft handles this kind of stuff.

To Modpack Creators:

I permit the use of this datapack/mod in your modpacks. You can include it in modpacks without the need to ask me about it. However, notifying me if it is being included in your modpack would be nice.

Regarding Future Versions of Minecraft

When 1.21.5 fully releases, this datapack will become obsolete due to the addition of the blocks_attacks item component added in 25w04a, which is more customizable and works much better than this pack. Therefore I will not be supporting versions 1.21.5 and newer. I will instead make a new datapack that modifies the default behavior of shields using the blocks_attacks component instead.

Project description from Modrinth.

Pick your setup

Shield Nerf by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

76 available setups

Showing the newest 12 of 18 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Shield Nerf versions and loaders

8 of 8 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.