mojira.dev
MC-147694

Mobs no longer get repelled by shields

The bug

Ever since the beginning of 1.14 snapshots, mobs wouldn't get knocked back when a player is blocking with a shield.
Here are some screenshots from the current version (1.13.2) and current snapshot (19w14b)

1.13.2:

  • Vindicators

  • Piglin (New Mob in 1.16.x)

  • Zombie Pigman/Zombified Piglin (renamed in 1.16.x)

  • Zombie Villager

  • Zombie

  • Husk

  • Drowned

  • Wolf

  • Wither Skeleton

  • Enderman

  • Spider & Cave Spider

  • Silverfish

  • Slime and Magma Cube

These mobs do knockback when you're blocking.

19w14a & b and beyond of 1.14 - 1.16:
The mobs I said above don't do knockback in the current version(s).
However, this doesn't affect to Creeper/TNT explosions, as you still do knockback from it. And arrows from Skeletons/Strays will still bounce of the shield.

Code analysis

Code analysis by @unknown & @unknown can be found in this comment and this comment.

Linked issues

Attachments

Comments 39

Still confirmed for 1.14 Pre-release 1

Still an issue for 1.14 Pre-Release 2

Confirmed for 1.14 Pre-Release 4

Confirmed for 1.14 Pre-Release 5

Still an issue in 1.14.2 

29 more comments

Can confirm in 1.21.2 pre 2

Can confirm in 24w45a

Can confirm in 25w04a

In 25w15a

can confirm in 1.21.7-rc2

Th0mas_02

(Unassigned)

Confirmed

Gameplay

Low

Player

Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, ..., 1.20.4, 1.21, 1.21.1, 1.21.2 Pre-Release 2, 24w45a

Retrieved