mojira.dev
MCPE-37229

Dolphins don't consistently jump out to breathe, so they always die after a few minutes

The bug!

Dolphins cannot jump out naturally if they in a deeper than one water sourceblock.

Sometimes they try to jump but they usually fail. In 1.4.0 when they added to the game the dolphins jumped out. In the latest version/beta they only jump out when they follow the players boat or the player is swimming on the surface of water.

Related issues

MCPE-32972 Dolphins keep killing themselves MCPE-33358 Dolphins Drown MCPE-35173 the dolphins die inside the water for not taking air MCPE-38323 Dolphins can't jump AT ALL in MCPE MCPE-48056 Dolphin bug MCPE-50620 Dolphins don't jump out of water to get air or jump over blocks MCPE-60924 the dolphins do not leave the water MCPE-68374 Dolphins not going up for air MCPE-68644 Dolphins cannot jump out of the water themselves. MCPE-76473 Dolphins not surfacing in Aquarium MCPE-79517 Dolphins don’t jump very high MCPE-132827 Dolphins can't jump over one block high MCPE-134804 dolphins don't jump MCPE-173802 Dolphins die for no Reason MCPE-173964 Dolphins don't jump out of the water like fish. MCPE-180897 Dolphin failed to surface to get air MCPE-184068 Dolphins dont jump naturally and drown MCPE-190942 Dolphins do not jump for air

Attachments

Comments

migrated
[media][media][media][media][media]
migrated

Please do not mark unreleased versions as affected.
You don't have access to them yet.

migrated

my dolphins are still dying in fact, sometimes they cannot crawl and get into the water and they die this error had i been reported long before this user and had generated another report because they required it but they marked it as duplicate

[media]
migrated
migrated

I believe some dolphins are able to jump out of water, and some just aren't able to, despite having access to air.

migrated

Also in 1.16.0.63 they donot fix that

migrated

I confirm at 1.16.0.64 it continues passing 9 out of 10 dolphins do not return to the water

migrated

Affects 1.16.0.66

migrated

Affects 1.16.0.67

migrated

Affects 1.16.0.68☹

migrated

Confirmed for 1.16.0

blameableplus

confirmed for 1.16.1

migrated

Confirmed for beta 1.16.20.53

migrated

Confirmed for 1.16.100.54.

AlexanderJ.

it's annoying as dolphinariums become so impossible. Even leashed on the surface of the water only helps for a while.

migrated

Affects 1.17.40.21
Affects 1.17.30

Brent101

Can confirm for 1.18.10.26

AlexMc

Affects 1.19.0.28/29 beta and preview

migrated

can confirm for 1.19.51

migrated

in beta 1.19.60.24, dolphins will only jump into the air if you are riding a boat and they are following you. but they are supposed to jump for air every four minutes or so regardless of the players actions

migrated

This happens in 1.19.71. I attached a video.

[media]

 

The entire pool is filled with source blocks. There is no flowing water.

Wafity

Still happens in the most recent version 1.19.81

GoldenHelmet

Testing in 1.20.12 Hotfix, dolphins do jump out of water to breath every 4 minutes most of the time. It does not matter if I spawn them on land or in water, or pull them out of the water for a little while after spawning them in water. I recorded one coming up to breath every 4 minutes 3 times in a row, even. However, when I afk at a dolphin pool for longer periods of time and come back, they are always gone.

GoldenHelmet

New duplicate report MCPE-180897 includes a video clip of a dolphin dying because it does not reach the surface to breath: https://bugs.mojang.com/secure/attachment/569423/video_20240424_190709.mp4

In this video the dolphin tries to breach the surface but stops a block or two below where it should and swims in circles, as if it cannot find the surface. This seems to match the behavior partially captured in the video attached to this ticket.

Update 3/6/25: the real cause of this issue is MCPE-190996, contrary to my earlier analysis below, which I have crossed out.

Update: after extensive testing based on the above lead, I can confirm that this bug has the same cause as MCPE-45645, MCPE-131091, and MCPE-162241: when mobs swim, the position that they target for movement is offset in the -Y direction from the path that they have pre-generated. In other words, after they find a path through water they try to move a block below that path. The exact offset is difficulty to determine; I think it is between 0.25 and 1.25 blocks.

This offset causes dolphins to stop below the surface of the water when they come up to breath (using behavior.random_breach). I believe they only successfully breach the water surface if they happen to run the behavior when they are already very close to the surface (within about 2 blocks).

[media]

shows dolphins repeatedly swimming up toward the surface and stopping.

[media]

contains the dolphin test chamber and several others that can be used to investigate this bug.

migrated

Can’t believe how long it takes to resolve an issue like this,,,, still happening in 1.21.1

Wafity

this happening in 1.21.90

migrated

(Unassigned)

152709

Confirmed

Multiple

Windows 10.0.17134.1

Incorrect, dolphin, mob-behavior

1.19.60.24 Preview, 1.13.0.1 Beta, 1.12.0.14 Beta, 1.17.20.21 Beta, 1.17.20.20 Beta, ..., 1.21.2 Hotfix, 1.21.31 Hotfix, 1.21.41 Hotfix, 1.21.51 Hotfix, 1.21.80

Retrieved