mojira.dev
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.

[media]

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.

Related issues

MC-48215 Chickens suffocating in 1 block high spaces MC-49617 Suicide Chickens MC-52117 Chickens suffocate when under 1 block. MC-54490 chickens getting hurt when they jumps under a 1 high block tunnel MC-56654 14w20b Jumping chicken suffocates if hits head. MC-59636 Animals suffocate when jumping with a block above them MC-68217 Chickens suffocating in ladders with snow ground MC-69595 Chickens suffocate when colliding with opaque block above them. MC-70852 Baby zombies take suffocation damage when they jump in a 2 tall celling MC-71543 Mob suffocation in 2 high space while floating in water MC-84339 Some types of mob under levitation suffocate in ceilings while others don't MC-92789 Horses pushed into a ceiling suffocate. MC-93073 Swimming baby chickens suffocate in blocks above them MC-98667 Mobs take damage when they are 1 block or more under ground MC-99792 Baby Cows suffocating/drowing MC-101823 Chickens take damage & Die if pushed into a 1 block high opening, or water MC-103725 Suffocating chickens when jumping MC-103748 Chickens take suffocation damage when jumping into 1-block tall spaces MC-106308 the chiken bug in all kind of slab MC-108017 Chicken Sufficate in wall MC-108530 Chicken Takes Unnecessary Damage (again) MC-109044 Llamas suffocating/drowning when bobbing in water with block above MC-109898 Adult Chicken cannot go through tiny holes without hurt and dying. MC-112231 Chickens don't swim when their head is in water MC-114803 Chicken takes damage when jumping up through a 1 block hole MC-115333 When a chicken jumps up onto a block, it takes damage. MC-116796 Chicken suffocation MC-118161 Baby cows take damage jumping up to a 1 block gap MC-121527 Chicken self-harm bug MC-129765 Chickens suffocate in blocks above water when swimming upwards MC-133487 chicken has damage when it jumps on the block and there are more blocks MC-133517 Chicken damadge MC-134538 Baby drowned get suffocated when touching a solid block MC-141479 Water Death MC-143704 Adult chickens suffocate when jumping from water onto low-clearence land MC-147611 Chickens start suffocating in doorways MC-147675 Chickens flight to the ceiling and kill themself

Attachments

Comments

migrated
[media]
Panda4994

As mentioned this issue is split up from MC-50367.

The following duplicates should ideally be duplicates of this issue instead of MC-50367: MC-141479, MC-134538, MC-133517, MC-133487, MC-129765, MC-121527, MC-118161, MC-116796, MC-115333, MC-114803, MC-112231, MC-109898, MC-109044, MC-108530, MC-108017, MC-106308, MC-103748, MC-103725, MC-101823, MC-99792, MC-98667, MC-93073, MC-92789, MC-84339, MC-71543, MC-70852, MC-69595, MC-59636, MC-48215,
Also these two related issues of MC-50367 should also be related this one: MC-142711, MC-134755

If any moderator got time and/or tools to do that, that would be awesome 🙂

The length of the list of duplicates goes to show that this (clearly defined and easy to fix) part of the MC-50367 is an actual annoyance to players.

[Mod]Les3awe

@@unknown, completed.

Panda4994

@unknown Awesome, thank you! 🙂

Makzevu

As of 19w03a, giants no longer have the zombie's AI (or any for that matter), making the baby giant now impossible to spawn.

gaspoweredpick

This is fixed for every other mob, but it still happens with chickens and baby turtles in 1.14 Pre-Release 1.

migrated

It still happens to baby drowned in 1.14 pre5

Panda4994

migrated

Confirmed

(Unassigned)

Minecraft 1.13.2, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w04b, ..., Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b

Minecraft 1.14 Pre-Release 1

Retrieved