The Bug:
Arrows glitch around on top of entities when they're blocked by shields from above.
If an arrow comes down from the sky and is blocked by a shield, it bounces up and down repeatedly even when the shield is moved away. When right-click is released, it hits the player even though it was blocked by the shield
Steps to Reproduce:
Obtain a shield, switch to survival mode, and align yourself by using the command provided below.
/execute align xyz run tp @s ~0.5 ~ ~0.5 -90 -60
Summon an arrow above you and slightly to the side by using the command provided below.
/execute as @s run summon minecraft:arrow ~0.5 ~20 ~
Quickly begin blocking with your shield and watch the arrow closely.
Take note as to whether or not arrows glitch around on top of entities when they're blocked by shields from above.
Observed Behavior:
Arrows glitch around on top of entities.
Expected Behavior:
Arrows would not glitch around on top of entities.
If an arrow comes down from the sky and is blocked by a shield, it bounces up and down repeatedly even when the shield is moved away. When right-click is released, it hits the player even though it was blocked by the shield
Linked issues
Attachments
Comments 4

I've attached a clip, and it also happens when shot by a player or skeleton
Can confirm that this is an issue. Also affects 20w51a and very closely relates to MC-162551.
Can confirm in 21w03a.
Please provide a short clip of this occurring with the F3 debug screen enabled.