Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-142768

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 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
    • None
    • Confirmed
    • (Unassigned)

      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.

            hkniberg hkniberg
            panda4994 [Mojang] Panda
            Votes:
            13 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: