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

All short mobs drown just below the surface of water

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14b, Minecraft 1.14.2, Minecraft 1.14.3, 1.15.2, 20w13b, 20w19a
    • Confirmed
    • Mob behaviour
    • Normal

      How to reproduce

      1. Go to the middle of an ocean (without islands or landing places nearby) or build a pool so mobs in it cannot escape this body of water.
      2. Put short mobs that can drown in it (I don't have a precise hitbox height to tell, but tested mobs are baby cats/chicken/pig/wolf/ocelot/ and silverfish)
      3. It looks like they are swimming, but if you look carefully, they are a bit darker (more obvious for baby wolves), which means they are "submerged" in water according to the game engine.
      4. Wait for them to drown

      Note: This does not depends on water depth, they will try to float to the surface but still drowned just below the surface. It is not because they cannot swim, but they failed to float high enough to avoid drowning, which makes it an important distinction from another bug described below.

      This bug should not be confused with MC-9388 Baby mobs cannot swim. I also originally thought that bug had reoccurred. However, there are several important distinctions:

      • It depends on the hitbox height, not whether the mob is a baby or not
        • For example, some tall babies will not drown, such as baby polar bears
      • The baby do float, and seems to be swimming above the surface, but is actually considered submerged by the game

      A list of affected mobs as of 19w11b (before the reopening of this bug) can be found in the comment https://bugs.mojang.com/browse/MC-134755?focusedCommentId=515912&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-515912
      A list of affected mobs as of 1.14.3 (after the reopening of this bug) is:

      • BABY Foxes only
      • BABY cats only
      • Endermites
      • Silverfish

      Pictures

      1.12 (Expected behavior)

      1.13 (Actual behavior)

        1. 2019-06-23_20.31.03.png
          2019-06-23_20.31.03.png
          1.14 MB
        2. 2019-06-23_20.33.22.png
          2019-06-23_20.33.22.png
          930 kB
        3. 2020-06-20_14.21.03.png
          2020-06-20_14.21.03.png
          1.08 MB
        4. demo.mp4
          1.39 MB
        5. image-2018-07-24-12-21-36-330.png
          image-2018-07-24-12-21-36-330.png
          1.05 MB
        6. image-2018-07-24-12-22-24-412.png
          image-2018-07-24-12-22-24-412.png
          1.35 MB

            cojomax99 [Mojang] Cory Scheviak
            kevin_dvhs Kevin He
            Votes:
            59 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: