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
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}
Enable entity hitboxes. (F3 + B).
Obtain some splash potions of healing and throw multiple of them in the direction you're facing.
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.
Related issues
is duplicated by
Attachments
Comments


Could be related to MC-84089

@Sonicwave, Defiantly related.

is this still an issue in 15w44b?

Attaching two screenshots of constantly throwing splash potions near mobs in 15w44b.

Confirmed for
16w04a

still in 16w35a
Can confirm in 20w48a. I've attached a video which shows this bug in action.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a.
Can confirm in 21w11a.
Can confirm in 21w17a.
Can confirm in 1.17.
Can confirm in 1.17.1.
Can confirm this behavior in 21w41a. Here are some extra details regarding this problem.
The Bug:
Thrown projectiles are sometimes destroyed randomly when coming into close contact with entities.
Steps to Reproduce:
Perfectly align yourself looking besides an enderman.
/execute align xyz run tp @s ~0.5 ~ ~0.5
/summon minecraft:enderman ~ ~ ~-3 {NoAI:1b,Silent:1b}
/tp @s ~ ~ ~ -166 0
Enable entity hitboxes. (F3 + B).
Obtain some splash potions of healing and throw multiple of them in the direction you're facing.
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.
Can confirm in 1.18.1.
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.2.