mojira.dev
MC-169543

Using a spawn egg when standing in water while not aiming at a block spawns the mob at the player's location

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

  1. Go underwater

  2. Get a spawn egg

  3. Do not aim at a block

  4. Try to use it
    → ❌ The egg is used and the mob is spawned at the player's location

Linked issues

Attachments

Comments 17

Confirmed in 1.16-pre2.

Confirmed in 1.16-pre5.

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05a.

7 more comments

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.

himazinn_Japan

Can confirm in 24w45a.

violine1101

(Unassigned)

Confirmed

Platform

Low

Player

1.15.1, 1.16 Pre-release 5, 1.16.3, 1.16.4, 20w46a, ..., 1.19.4, 23w18a, 1.20.1, 24w45a, 1.21.4

Retrieved