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.

Linked issues

MC-48215 Chickens suffocating in 1 block high spaces Resolved MC-49617 Suicide Chickens Resolved MC-52117 Chickens suffocate when under 1 block. Resolved MC-54490 chickens getting hurt when they jumps under a 1 high block tunnel Resolved MC-56654 14w20b Jumping chicken suffocates if hits head. Resolved

Attachments

Comments 6

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.

@@unknown, completed.

@unknown Awesome, thank you! 🙂

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.

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