mojira.dev
MC-134755

All short mobs drown just below the surface of water

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)

[media]

1.13 (Actual behavior)

[media]

Linked issues

MC-133852 Puppies sometime drown in 1 bloc high water Resolved MC-134635 Some baby mobs having swimming issues Resolved MC-135748 Silverfish immediately begin suffocating when moving against a flowing water current Resolved MC-136110 Baby wolfs drowned when they swim. Resolved MC-136143 Extremely small mob babies (chicken, wolf, etc) drown whilst swimming in water. Resolved

Attachments

Comments 31

Full grown cats and ocelots are doing this now too in the recent snapshot.

The only mob I can confirm is doing this now (in 18w45a) is the silverfish. This is only for adult mobs though. I haven't tested it with babies.

RobinDinVienna

The cats still do this in 18w50a.

Would it be possible to add that version to the report?

Still happens in 19w02a, more specifically with cats which is very concerning considering they've been updated recently. (More people will be messing around with them)

Baby chickens die when swimming in water in 19w03c, don't know if this is intended.

21 more comments

Affects 20w19a

Baby foxes still drowned in version 1.16-rc1

[media]

Confirmed in 20w27a

Still affects baby foxes in 20w27a

This should be reopened.

Please create a separate issue for this.

Kevin He

coschevi

Confirmed

Normal

Mob behaviour

baby-mob, cats, drowning, endermite, foxes, hitbox, mob, silverfish, water

Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w44a, ..., Minecraft 1.14.2, Minecraft 1.14.3, 1.15.2, 20w13b, 20w19a

Minecraft 1.14 Pre-Release 1, 20w22a

Retrieved