mojira.dev
MC-136883

Fish kill themselves

It seems fish are capable of jumping on land, where they do not try to get back in the water, and suffocate. This heavily limits the possibilities of fish habitats players can set up.

Attachments

Comments 13

Please attach the crash report ([minecraft|http://hopper.minecraft.net/help/finding-minecraft-data-folder]/crash-reports/crash-<DATE>-client.txt), otherwise we can not diagnose this issue.
For technical support please use the Mojang Support Center.

-- I am a bot. This action was performed automagically!

Crash report? That bot is not calibrated properly.

It was because you put your description in the environment field.

This is not a duplicate. MC-128243 notes only how the fish don't go back in the water, while I also noted that the also are capable of getting on land by themselves for no reason.

Can you provide a video of this?

3 more comments

Steps the reproduce this issue:

-Make a small pool of water. The water must be at the same height as the ground around it, which would enable mobs to get on land.
-Put fish in the pool.
-Give the fish some time.

It will probably happen faster the smaller the pool is.

It may also be possible that the fish try to pathfind to a body of water they cannot reach, causing them to jump out of the water.

And yes, I did see them jumping on land, and there were not enough entities to activate EntityCramming.

Relates to MC-132473? I thought I remembered seeing a report that already describes this but I'm unable to find anything.

It seems as though fish don't change their y-coordinate when swimming in water that is one block deep. They will start doing so, however, (with the exception of pufferfish) if the water is two blocks deep or more. I've seen cod, salmon, and tropical fish are capable of breaching the water in this instance, so it does seem plausible.

I have had this issue with both 1-deep and 2-deep water, so I am not sure that is the cause.

Cannot reproduce in 19w14a with the provided test world. Please check if that's still an issue for you in the latest 1.14 development snapshot.

Patrick Vlaar

(Unassigned)

Unconfirmed

(Unassigned)

Minecraft 1.13.1

Retrieved