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.
Linked issues
is duplicated by 2
relates to 1
Attachments
Comments 22
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.
Could be related to MC-84089