Minecraft – Why is the squid farm not spawning squids

minecraft-java-edition

I just put a cage around a body of water and there should be squids spawning, but only very few fish spawn.

I first built one in a river then in another river and then one in an ocean biome, where previously squids would spawn. I put blocks around an 8×18 area and the y coordinates range from 62 to 46, but there are zero squid spawns.

I looked up the criteria for squid to spawn and I think the farm meets all of them.

https://imgur.com/NeSczkO
This is where the player will afk (23 blocks above the farm)

enter image description here
This is where the squid are supposed to spawn, but they aren't

Best Answer

Because there is more water outside of your farm then inside, more squids spawn outside of the bounds of your farm then inside it. You need to remove all the water outside of your farm to a distance of 128 blocks from your player(the distance at which mobs stop spawning). You also need to make sure that when you use your farm that you stand at least 25 blocks away from your farm, for that is the distance at which mobs start spawning.

Remember, if mobs are spawning outside your farm, they are therefore not spawning inside your farm.