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

Mobs suffocate / go through blocks when growing up near a solid block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w05a, 24w19a
    • Snapshot 13w06a, Snapshot 13w07a, Snapshot 13w09a, Snapshot 13w09b, Minecraft 1.5, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w17a, Snapshot 13w19a, Snapshot 13w21a, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.9, Minecraft 14w32d, Minecraft 1.8, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 1.11.2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 1.13-pre2, Minecraft 19w12a, Minecraft 1.14, 1.15.1, 1.15.2, 20w12a, 20w19a, 1.16.2, 1.16.3, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05a, 21w05b, 21w07a, 21w11a, 1.17 Release Candidate 1, 1.17, 1.17.1, 1.18.1, 22w03a, 1.18.2, 1.19, 1.19.1 Pre-release 2, 1.19.1 Pre-release 3, 1.19.2, 1.19.4, 23w14a, 1.20 Pre-release 6, 1.20.6
    • Confirmed
    • Hitboxes
    • Low
    • Gameplay

      The bug

      Animals seem to suffocate when growing up near a solid block.

      How to reproduce

      1. Create a one block large, two block high enclosure. Use solid blocks like cobble.
      2. Throw chicken eggs in it until 4 chickens have spawned
      3. Wait until all chickens are grown up
      4. Count the chicken

      Most of the time all of the chickens have died, sometimes 1 or 2 survive. This happens not only in tight enclosure but also randomly near walls or blocks.
      If the blocks are transparent (glass, fence) the animal just can walk through.

      I think this is probably due to a smaller hitbox, that is immediately enlarged, when the animal grows up.

      See this comment and ticket: https://bugs.mojang.com/browse/MC-1524?focusedCommentId=43968&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-43968

      Also note DpP41Mf.png which provides a concrete way to reproduce and an explanation.

      Code analysis

      Code analysis by Xcom6000 can be found in this comment.

        1. 2017-10-02_00.11.57.png
          2017-10-02_00.11.57.png
          1.99 MB
        2. DpP41Mf.png
          DpP41Mf.png
          51 kB
        3. MC-9568 not fixed.mp4
          8.49 MB
        4. MC-9568 Proposal.txt
          3 kB
        5. MC-9568 Still not fixed.mp4
          8.81 MB
        6. Minecraft 21w05a - Singleplayer.mp4
          3.96 MB
        7. Video_2024-05-10_18-58-13.mp4
          379 kB

            panda4994 [Mojang] Panda
            yasuo Yasuo Iwakura
            Votes:
            179 Vote for this issue
            Watchers:
            48 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: