The bug
When the player is underwater and not aiming at a block, using a spawn egg will cause the mob to be spawned at the player's location.
To reproduce
Go underwater
Get a spawn egg
Do not aim at a block
Try to use it
→ ❌ The egg is used and the mob is spawned at the player's location
Related issues
Attachments
Comments


Confirmed in 1.16-pre2.

Confirmed in 1.16-pre5.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05a.
Can confirm in 21w06a.
Can confirm in 21w07a.
Can confirm in 21w13a.
Can confirm in 21w14a.
Can confirm in 21w15a.
Can confirm in 1.17.
Can confirm in 1.17.1.
Can confirm in 1.18.1.
Can confirm in 1.18.2 and 22w18a.
Can confirm in 1.19.
Can confirm in 1.19.2.

Can confirm in 24w45a.