-
Bug
-
Resolution: Fixed
-
Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.12.2, Minecraft 1.13-pre1, Minecraft 1.13.2, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 1.14, 1.15.2, 1.16 Pre-release 1, 1.16.1, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w51a, 21w06a, 21w08b, 21w15a, 1.17, 1.17.1, 21w42a, 1.18, 1.19.1 Release Candidate 2, 1.19.2, 1.19.3, 1.19.4 Release Candidate 2, 1.19.4, 1.20 Release Candidate 1, 1.20, 23w35a, 1.20.2 Release Candidate 1, 1.20.2 Release Candidate 2, 23w40a
-
Confirmed
-
Combat, Player
-
Normal
-
Gameplay
The bug
The shield does not block attacks when the player faces straight up, even if the enemy is above the player.
How to reproduce
- Ensure you are in Survival or Adventure mode
- Hold a shield:
/item replace entity @s weapon with shield
- Face directly upwards
- Summon an arrow directly above you:
/summon arrow ~ ~20 ~
- Attempt to block the arrow with the shield
→ The shield does not block the arrow
Code analysis and fix
Code analysis by Maity can be found in this comment.