mojira.dev
MC-194723

Arrow is invisible to its shooter if it gets blocked and reflected by a shield

The Bug:

After shooting an arrow at another player blocking with a shield, only the person who had been fired at will be able to see the arrow deflecting and landing on the ground.

Steps to Reproduce:

(requres two players to test)

  1. Get two players to join into either an LAN, or multiplayer world

  2. Have Player 1 hold and use a shield (If testing alone: hold the 'use' key, then press F3 + T. You can now continue to use it after tabbing out)

  3. Have Player 2 shoot Player 1 

Observed & Expected Results:

❌ - The arrow will be blocked by Player 1 using the shield, and the arrow will only be visible to Player 1 afterwards.
✔ - The arrow would be visible to all players, regardless of who was shot, and who fired the arrow.

Screenshots/Videos:

  1. Player blocking:

[media]
  1. Player firing:

[media]

Notes

Even using F3 + B will not display the arrow entity's hitbox.

Code Analysis:

An in-depth code analysis covering this issue, and the issues related it can be found in MC-129934.

Original Description:

(by @unknown)

After some playing with arrows and shields, we discovered that the arrows become invisible to its shooter when the arrow is fended off by another player with a shield.

Videos

  • Player 1:

[media]
  • Player 2:

[media]

Linked issues

Attachments

Comments

violine1101

Can confirm.

[Mod] Jingy

Requesting ownership of this issue to maintain it seeing as this is the original poster's only issue, and they have not maintained it.

Timo Taubmann

[Mod] Jingy

(Unassigned)

Confirmed

Platform

Normal

Projectiles

arrow, blocking, bow, shield

1.16.1, 1.20.1, 1.20.2, 23w42a, 23w46a, ..., 1.20.4, 24w09a, 1.20.5 Pre-Release 3, 1.20.5, 1.21

Retrieved