Mojira Archive
MC-142768

Mobs can suffocate below blocks, if the eye height isn't inside the collision box

Mobs suffocate when their eye level is inside solid blocks.
Therefore in cases where the eye height of the mob lies outside of its collision box, the mob doesn't need to be inside a block to take damage from it.

This can lead to mobs weirdly taking damage or dying.

Affected Entities

Mob/Entity Eye Position Comment
Baby/Grown Chicken Suffocating below blocks
Baby Mooshroom/Cow Suffocating below blocks
Baby/Grown Horse/Donkey Suffocating below blocks, also see MC-76050 for donkeys
Baby/Grown Llama Suffocating below blocks: comment
Fox Suffocating below blocks
Baby Turtle Suffocating below blocks but eye Position seems fine. See MC-142711
Cod Fixed by moving eye height down, see MC-126144
Baby Sheep Fixed by moving eye height down
Baby Giant Fixed by removing baby giant?

Screenshot of affected mobs.

Ideas to fix this

  1. Manually move the eye position for the hand full of affected mobs (seems what has been done and is reasonable)
  2. Adjust the suffocation rule to only trigger when eye height and collision box are inside blocks
  3. Force the collision box to grow to include the eye height
  4. Force the eye height to snap into the collision box

This issue was split off MC-50367.

Fixed

[Mojang] Panda

hkniberg

2019-01-20, 07:22 AM

2021-04-04, 10:13 AM

2019-04-08, 10:43 AM

13

10

Confirmed

(Unassigned)

Minecraft 1.13.2 - Minecraft 19w14bMinecraft 1.13.2, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b

Minecraft 1.14 Pre-Release 1