I've made an aquarium and a couple ornamental ponds, and I've noticed that sooner or later, schools of fish get stuck near a wall. It seems that one fish fails to notice that it's pressed up against a solid block, and all the fish schooling with it just follow suit. Pufferfish are less prone to it since they don't school, but I've noticed one of them doing it at least once. Other aquatic mobs appear to be unaffected.
Linked issues
is duplicated by
Attachments
Comments


Can confirm for 20w11a, may be the same bug as MC-148996

In 20w12a

In 1.16 Pre 3
Can confirm in 20w51a.

In 21w17a

In 21w18a

In 1.17

In 1.18.1

Still an issue as of 1.19.2 Bedrock

Bedrock Edition is a separate project. This is for Java Edition only.

Can this still be reproduced in 1.19.2?

I'm still experiencing the same issue in 1.19.3 JE.

I am seeing this issue in 1.19.4 Java

happens in 1.20.1 Java, please fix

I'm also having this issue in 1.20.1 Java
They all flock and stay in the corners of the pool
[media]It's only the tropical fish who do this, the Cod fish I have swims around normally
I've noticed a similar problem. I made an open ocean aquarium with iron bars and we eventually all the fish are pressed against the bars, refusing to be dissuaded from their desired course.