mojira.dev
MC-196045

Arrows glitch around on top of entities when they're blocked by shields from above

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:

  1. 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
  2. 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 ~
  3. Quickly begin blocking with your shield and watch the arrow closely.

  4. 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

galaxy_2alex

Please provide a short clip of this occurring with the F3 debug screen enabled.

Luke Wade

I've attached a clip, and it also happens when shot by a player or skeleton 

Avoma

Can confirm that this is an issue. Also affects 20w51a and very closely relates to MC-162551.

Avoma

Can confirm in 21w03a.

Luke Wade

(Unassigned)

Confirmed

Collision, Projectiles

1.16.1, 20w51a, 21w03a, 22w15a, 1.19.4, 23w14a, 1.20.1, 1.20.4

Retrieved