[Bug]: werewolf spawnrate and werewolves killing things ends up making werewolves the only mob in the area, creating lag
EnderMelody opened this issue ยท 0 comments
Minecraft Version
1.18.x
Forge Version
40.1.73
Vampirism Version
1.8.5
Werewolves Version
0.6.1
Modpack
No response
Singleplayer/Multiplayer
Singleplayer
What happened?
while testing some stuff in creative at night, i noticed that werewolves were slowly taking over the area as they spawn and kill nonwerewolves mobs slowly making them the only mob in the area. i also noticed that over this time the tick time went from 18ms or so to 40ms average.
i ended up killing all werewolves mobs and watched each successful kill drop the tick time back to normalizing.
the problem is they slowly weed out nonwerewolves which causes overall more of them too keep spawning till they are the only thing in the mob cap. that combined with the tick heavy nature of their ai ends up causing the server tickrate to start dropping.
I can see a fix being either a specific cap on werewolves spawns directly, or making them much rarer and spawn mostly in their respective biome.
Relevant log output
No response
Reproduce steps
- load world
- set to night and wait a while
- werewolves will kill off other hostile mobs, and fill the mob cap when more of them spawn
Other relevant mods
No response