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

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed
    • Category:
      Hitboxes

      Description

      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.

        Attachments

        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 Proposal.txt
          3 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yasuo Yasuo Iwakura
              • Votes:
                134 Vote for this issue
                Watchers:
                37 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: