mojira.dev
MC-132311

Dolphins don't save how long they have been out of water

The way to reproduce:

Spawn some dolphins on land in a place where water is prohibited (like screenshot 1), and wait until they take damage. You'll get to know that it's a very long time.
Spawn some again, and immediately quit and re-join the game. The dolphins will immediately take damage.

Linked issues

Attachments

Comments 10

Confirmed. Apparently, dolphins don't save how long they have been out of water.

@@unknown OK, so may I use that ("dolphins don't save how long they have been out of water") as the description?

Can anyone explain what does "CHK" mean?

It's an unimportant internal field that is used for internal stuff. Don't worry about it.

Dolphins are not fishes, they do take damage if you let them out of water long enough (4 minutes if that's as long as for the time before they drown, but I did not test that and, like my bug report "duplicate" of this one points out, the corresponding tag cannot be found).

And because they are not fishes is why I don't like to say that they "suffocate", by the way (although I've heard that's the kind of damage the game applies to them).

 

PS : I know this is marked as fixed for the next release, it was only to point out mistakes that were made.

they do take damage if you let them out of water long enough

Do you mean the in-real-life dolphins?

No, I was talking about in-game dolphins there.

Summon again a dolphin out of water (but maybe rather in a cage of glass than in a cave, since you said something about an inconsistency that seemed to be due to stone blocks, and that way you will still make sure it can't go in water). I just checked and now there is the tag that was missing : "Moistness".

However, there actually is a new bug right now (I'll create a bug report for that), so you will either have to summon the dolphin in water THEN teleport it in the cage, or use a spawn egg. You can also use this command and change the value of the tag as you please (remember the time unit are ticks, not seconds) :

/summon minecraft:dolphin ~ ~ ~ {Moistness:100}

In this example, the dolphin will start to take damage after 100 ticks, or 5 seconds. Default value is 2400 (2 minutes. I suspect it has been lowered, but I have no idea and, honestly, that's not important x) It's not like they put that 100 as the default value).

Let's take our discussion to MC-132671 as this one is already resolved.

D

Agnes Larsson

Confirmed

dolphin, re-joining, suffocate

Minecraft 1.13-pre5

Minecraft 1.13-pre6

Retrieved