Hidden Recipe Book (Forge)

Hidden Recipe Book (Forge)

386k Downloads

Shields should take durability damage when passively blocking damage received

James103 opened this issue ยท 0 comments

commented

Information

Minecraft version: 1.19.2 and later
Modloader: Forge & Fabric

Mod name: Passive Shield

Feature description

Currently, as far as I can tell, shields do not take durability damage when passively blocking received damage; they only take durability damage while they're active (held up).

A new config option would change this behavior; if enabled, when a shield passively blocks damage, it takes durability damage equal to the amount of damage blocked (not the total received) rounded up. For example, with 30% passive block, an incoming hit for 20 damage would result in 6 damage blocked, which results in the shield losing 6 durability.

According to the Minecraft Wiki, the vanilla behavior is incoming hits for less than 3 damage do not reduce the shield's durability; this should be preserved if possible even if the shield is passively blocking damage.