Seahorses wont stop spawning
OQuofer opened this issue ยท 7 comments
The seahorses constantly spawn to the point where there are hundreds of them and lag my game. I tried to lower the spawn rate but that has no affect and when I set it to 0 my game crashes because it tries to spawn them.
More information. I set up my base on a tropical island from Biomes o Plenty next to a coral reef. They do not seem affected by the config to how often they spawn at all. I set up a command block to transport them to the void but at least one seems to be spawned every tick, and I also found they spawn uncontrolled the higher I get, with my command block teleporting up to 500 per tick at cloud level. It works fine if I am not near the coral reef, but they are problematic as it turned my island nearly unplayable if I do not periodically kill them. It has been the only mob I have dealt with odd spawn habits so far.
The reason why the seahorses will not stop spawning is because they are registered as a Creature but added to the biome as a Water_ambient mob. The mismatch in the entity classification means the seahorse will spawn during the water ambient phase but only counts towards the creatures mob cap instead of the water ambient cap. And so, the seahorses will spawn non-stop like mad. You can try spawning a bunch of water ambient mobs such as fish till you force the mob cap to activate and stop the seahorses
@Zygus42 /kill @e[type=omni:seahorse]
should work. Maybe a repeating command block with that could work but make sure there's a delay so the command doesn't lag too much
Thanks for that - logged on and killed 4158 entities.
I've set the spawning on the horses to almost nothing, so shouldn't see this much buildup again once i get rid of the existing ones,.
No such luck - set the spawn chance from 0.75 to 0.01 and an hour later had to kill another 1000. Will try setting it to 0 i guess.