mojira.dev
MCPE-67580

Using a spawn egg on blocks less than a full block high spawns the mob too high

The bug

When a spawn egg is used on a snow layer, the mob spawns an entire full block too high, as though the snow layer were a full block. This is a general issue for all blocks that are less than a full block high.

How to reproduce

  1. Place a snow layer

  2. Use a spawn egg on it
    → ❌ Mob spawns one block in midair

 

 

[media]

Linked issues

Attachments

Comments 3

Is is not just snow it also affects every block that doesn’t have a collision box like tall grass, carpet, sapling, rails, flowers, all types of torches. On bedrock the mobs are always spawned next to, above or below the block depending on which side you are aiming while on java they always get spawned at the position of the block when aiming at these block this causes the mob to be spawned too high when aiming at the top side on bedrock. On java it also used to work like it currently does on bedrock, but it was changed on java, I belive it was 1.13 where it got changed.

affects 1.17.20.23

tryashtar

(Unassigned)

364755

Confirmed

Multiple

1.21.100.22 Preview, 1.20.20.20 Preview, 1.19.10.20 Preview, 1.17.20.22 Beta, 1.17.10, ..., 1.16.100, 1.16.210, 1.18.31, 1.20.1 Hotfix, 1.21.60.28 Preview

Retrieved