Workaround
You can fix this issue for yourself by installing the attached
[media] datapack to your world. This datapack sets PersistenceRequired
for all mobs spawned by buckets to 1b
, so that they no longer count towards the mob cap.
The bug
If there are at least 16 fish spawned from buckets anywhere in loaded chunks (that might be the spawn chunks, chunks loaded via /chunk
, or chunks that players currently are in), no aquatic mobs (fish, dolphins, and squid) will spawn anywhere.
How to reproduce
Create a new superflat world (I chose "Redstone Ready") and change it so that it has biome
minecraft:ocean
Run
/gamerule doMobSpawning false
Create a big aquarium at spawn
/fill ~ ~-1 ~ ~20 ~-21 ~20 water
Drop 16 salmon from buckets in there
Teleport to somewhere far away, for example
/tp 1000 56 1000
Check that all salmon still are there
/execute if @e[type=salmon]
Create a big aquarium there as well
/fill ~ ~-1 ~ ~20 ~-21 ~20 water
Run
/gamerule doMobSpawning true
Notice that no mobs spawn there whatsoever
Run
/kill @e[type=salmon,limit=1]
Notice that suddenly, there are many mobs spawning in that aquarium
How to fix this bug
Change the aquatic mob cap so that fish spawned from buckets no longer affect it.
Original report
As stated tropical fish and pufferfish are not spawning whatsoever in my main world. I created another world to see if they would spawn there and they spawned just fine. I have spent hours upon hours in my main world and I don't want to have to restart. Is there any way to fix this? I don't know if it's a factor, but I had to travel a fair distance from my spawn point to find warm ocean.
Linked issues
is cloned by 1
is duplicated by 5
Attachments
Comments 22
Try sleeping near the ocean so you spawn there, then kill all entities with /kill @e(that will kill you too), then check if tropical fish will start spawning
There is a limit of how many mobs can be in a world at the same time, looks like with all the exploring you did a lot of them spawned and they didnt despawn by the time you were in the ocean
You mean with the datapack at the top of the page? I can't get that to work. Followed all instructions, as vague as they are, can't get fish back. Why are there no fish on my server?
No. This has been fixed in 18w33a (1.13.1), without any data packs, just like it says above. Maybe you're still on 1.13?
This issue seems to be back in 1.14+: MC-148613
This issue seems to have come back in the latest version. Currently in a 1.14.2 world, I made an aquarium with ~50 bucketed fish, if anyone keeps the aquarium chunks loaded no squid, dolphins, or any other aquatic mob will spawn in anywhere else.
Was your world migrated from 1.12.2 or its a new world in 1.13?