mojira.dev
MC-101723

Using a bow and crossbow to attack invulnerable (non-biological) entity makes arrow become invisible

The bug

Use a bow and crossbow attack invulnerable entity(non-biological), makes arrow become invisible.

Save and open the world again can return to normal.
You still can pick up the arrows.

Entity type: (Invulnerable:1b)

  1. End crystal

  2. Painting

  3. Item frame

  4. Glow item frame

  5. Lead

  6. All Boat

  7. All minecart

  8. All boat with chest

  9. Bamboo raft

  10. Bamboo raft with chest

  11. Fireball

Arrow type:

  1. Arrow

  2. Tipped arrow

  3. Spectral arrow

  4. Fire arrow

Code analysis

Code analysis by @unknown can be found in this issue.

Linked issues

Attachments

Comments 8

JUE13

Also affects the players in the creative mode in multiplayer

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Video attached.

Avoma

Can confirm in 21w07a.

[Mod] Jingy

As a note to this issue, I've left a very detailed and thurough code analysis and possible fix for this issue in MC-129934

It provides the following behavior:

[media]

[Mod]Les3awe

(Unassigned)

Confirmed

Platform

Low

Projectiles, Rendering

arrow, attack, boat, bow, ender_crystal, entity, invisible, invulnerable, item_frame, leash_knot, painting, rebounded, rendering, spectral_arrow, tipped_arrow

Minecraft 1.9.2, Minecraft 16w14a, Minecraft 16w15a, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 1, ..., 25w05a, 25w09b, 1.21.5 Release Candidate 1, 1.21.5, 25w17a

Retrieved