mojira.dev
MC-92017

Shield damage direction is incorrect

The "direction" of the damage is treated as coming from wherever the source entity is now, not where the attack was fired from. This is most (and only?) visible with TNT explosions: if Player A sets TNT and Player B is between A and the TNT, B can only block the explosion by turning his back on the TNT and facing towards A! And a player cannot block TNT he himself set, since the source is the player himself and so has no "direction" relative to that player to be tested.

This can be tested easily enough by seeing if the shield loses durability or not from the explosion.

Linked issues

Attachments

Comments 2

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.

Still an issue in 1.19.2. Here's a video:

[media]

This issue could plausibly be the cause of MC-92018, MC-188247, and MC-200006, since in those cases the self or a non-entity triggers the explosion.

Anomie X

Fantastime

Confirmed

Normal

Combat, Player

Minecraft 15w44b, Minecraft 15w45a, 1.14.4, 1.15.1, 1.15.2, ..., 1.18.2, 1.19 Pre-release 3, 1.19, 1.19.1 Release Candidate 2, 1.19.2

22w43a

Retrieved