Productive Bees

Productive Bees

10M Downloads

Large amounts of bees create significant stutters

NightmareElmo opened this issue ยท 3 comments

commented

I know this is indiscript and maybe unavoidable but after about 30 bees spawned in performance decreases, to the point where the server has ~2sec hangs at around 100 bees. It might be due to too much pathfinding, but vanilla bees do not seem to cause the same amount of lag.
Minecraft Version 15.2
Mod version 0.1.7
Forge version 31.2.0

commented

Pathfinding is not great, but 100 bees is not that much. I just tested with 300 and didn't notice any drop in performance. Can you send a mod list and also a rough list of which bees you are having around? The solitary bees all behave the same, so no need to distinguish between those.

I also just uploaded a new version, the one I tested on, can you please check if it's still an issue for you on that version?

commented

Thank you for testing. This must be an issue inherited from vanilla bees, but I can probably do something about it for my bees.

commented

I found the source of the lag spikes. It's from bees having no flowers within range. It was my wither bees not having a wither flower that triggered the lag spikes (approx every ~30 seconds). Tested other bees without any flowers, same results