Mojira Archive
MC-83684

Thrown projectiles break randomly when player is near mobs

The Bug

Potions (and other non-arrow projectiles) sometimes break randomly. This happens most often when the player is near (but not in contact with) a mob's hitbox. All of the projectiles in the following screenshots instantly broke in front of the player; they are not hitting the mob as the hitboxes aren't touching (and in the last one, the zombie isn't flashing red as it usually would if you hit it).

Steps to Reproduce

  1. Perfectly align yourself looking beside an enderman by using the commands provided below.
    /execute align xyz run tp @s ~0.5 ~ ~0.5 -166 0
    /summon minecraft:enderman ~ ~ ~-3 {NoAI:1b,Silent:1b}
    
  2. Enable entity hitboxes. (F3 + B).
  3. Obtain some splash potions of healing and throw multiple of them in the direction you're facing.
  4. Take note as to whether or not thrown projectiles are sometimes destroyed randomly when coming into close contact with entities.

Observed Behavior

Thrown projectiles are sometimes destroyed randomly when coming into close contact with entities. Even if the hitboxes of the projectile and the entity don't actually touch one another, the projectiles are still somehow randomly destroyed sometimes.

Expected Behavior

Thrown projectiles would not be sometimes destroyed randomly when coming into close contact with entities.