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.
Created Issue:
Dolphins never suffocate on land, but when re-joining the game, they immediately start to suffocate
Spawn some dolphins on land in a place where water is prohibited, and wait a minute or so. They never suffocate (1st screenshot).
Re-join the game, and notice that they immediately start to suffocate (2nd screenshot), and will soon die.
For another note, even if you re-join the game a very short time (let's say, two seconds) after the dolphins are spawned, they immediately start to suffocate.
The way to reproduce:
Spawn some dolphins on land in a place where water is prohibited, and wait a minute or so. They never suffocate (1st screenshot).
Re-join the game, and notice that they immediately start to suffocate (2nd screenshot), and will soon die.
For another note, even if you re-join the game a very short time (let's say, two seconds) after the dolphins are spawned, they immediately start to suffocate.
Dolphinsnever suffocate on land, but when re-joining the game, they immediately start to suffocateDolphins immediately start to suffocate after re-joining the game, although they never suffocate before re-joining
The way to reproduce:
Spawn some dolphins on land in a place where water is prohibited, and wait a minute or so. They never suffocate (1st screenshot).
Re-join the game, and notice that they immediately start to suffocate (2nd screenshot), and will soon die.
For another note, even if you re-join the game a very short time (let's say, two seconds) after the dolphins are spawned, they immediately start to suffocate.
The way to reproduce:
Spawn some dolphins on land in a place where water is prohibited, and wait a minute or so. They never suffocate (1st screenshot).
Re-join the game, and notice that they immediately start to suffocate (2nd screenshot), and will soon die.
Note: If the dolphin suffocate before re-joining, then it's largely because of it jumping into the stone blocks.
For another note, even if you re-join the game a very short time (let's say, two seconds) after the dolphins are spawned, they immediately start to suffocate.
The way to reproduce:
Spawn some dolphins on land in a place where water is prohibited, and wait a minute or so. They never suffocate (1st screenshot).
Re-join the game, and notice that they immediately start to suffocate (2nd screenshot), and will soon die.
Note: If the dolphin suffocate before re-joining, then it's largely because of it jumping into the stone blocks, because the suffocation is not consistent.
For another note, even if you re-join the game a very short time (let's say, two seconds) after the dolphins are spawned, they immediately start to suffocate.
Dolphins on land immediately start to suffocate after re-joining the game, although they never suffocate before re-joining
Dolphins onland immediately start to suffocate after re-joining the game, although they never suffocate before re-joiningDolphins don't save how long they have been out of water
is duplicated by
The way to reproduce:
Spawn some dolphins on land in a place where water is prohibited
, and wait a minute or so. They never suffocate (1st screenshot).
Re-join the game, andnotice that they immediately start to suffocate (2nd screenshot), and will soon die.
Note: If the dolphin suffocate before re-joining, then it's largely because of it jumping into the stone blocks, because the suffocation is not consistent.
For another note, even if you re-join the game a very short time (let's say, two seconds) after the dolphins are spawned, they immediately start to suffocate.
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.
relates to
THIS IS NOT A DUPLICATE OF MC-132311. At most it's related.
MC-132311 → Dolphins out of water instantly start to suffocate if you leave and then join back the world.
MC-132601 (this bug report) → The tag isn't visible, although dolphins DO TAKE DAMAGE if you let them out of water long enough (they're not fishes ! They need more than 5 seconds to take damage ! And that's not because of lack of air that they die, that's because their skin is drying up). The reporter of the other bug was wrong about dolphins never taking damage. And that is why adding a tag when spawning them is a good way to show that the tag is there (whether "written to NBT" or not).
If this bug still is fixed (i.e. if "/data @e[limit=1,type=dolphin]" does show the tag we're talking about), you should instead mark that as fixed for the next release, instead of "duplicate". And of course, I'm taking the liberty to change back the title and add again the steps to reproduce (while adding something at the same time, to take care of what seemed too obvious to me to realize it : dolphins are not fishes) :
• To see that the tag is missing :
- /fill ~-3 ~ ~-3 ~3 ~3 ~3 minecraft:water
- /fill ~-4 ~-1 ~-4 ~4 ~4 ~4 minecraft:glass outline
- /summon ~ ~ ~ minecraft:dolphin
- /data entity get @e[limit:1,type=dolphin]
- You can find the "Air" tag, which specifies how long the dolphin can stay IN water, but nothing that specifies how long the dolphin can stay OUT of water.
• To see that it does exist, though :
- Stay in your cage full of water
- /kill @e[type=dolphin]
- /summon ~ ~ ~ minecraft:dolphin {OverNineThousand:9001}
- Notice your dolphin is drowning as soon as it is summoned. That is because as soon as an entity is spawned with any tag being applied to it, all the other tags will have an "empty" value.
- Leave your cage to go somewhere on the ground.
- /summon ~ ~ ~ minecraft:dolphin
- This dolphin doesn't take damage. However, it will if you wait long enough (something like 4-5 minutes).
- /summon ~ ~ ~ minecraft:dolphin {Air:4800}
- And this dolphin instantly starts to take damage, like for the one in water. Except that this one would not have died if it was in water, since its "Air" tag is set to 4800. And if you need to check that, then simply repeat the above command after going back in the water cage.



Confirmed. Apparently, dolphins don't save how long they have been out of water.
@[Mod] violine1101 OK, so may I use that ("dolphins don't save how long they have been out of water") as the description?
Sure
Can anyone explain what does "CHK" mean?
It's an unimportant internal field that is used for internal stuff. Don't worry about it.
OK.
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.
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.