Maybe let my server lag.
zsn741656478 opened this issue ยท 2 comments
I'm trying too look into this. I don't know a lot about mobs so I'm not sure what could be causing this. It's kind of strange because I made the firefly by basically taking the bee code and stripping it down to the bare minimum. The function tat seems to be responsible is one in the one responsible for pathfinding. Again It's exactly the same code that the bee is using so I'm not sure why it would cause problems. Next update I'll try reducing the chance that the wander goal starts executing from 10% to 2% which would have the side effect that they'll move less more in a straight line. I know that's not a solution but I wouldn't know what else to do. Maybe I'll try using some of the bat "AI" which seems to be alot less lightweigth. Also I've seen some performant stuff in there that gets called, maybe you could try without to see it it has the same result
It's kind of strange because I made the firefly by basically taking the bee code and stripping it down to the bare minimum.
It's actually fairly easy to explain after seeing that... bees in vanilla Minecraft actually cause quite a lot of lag, it's just that there usually aren't that many of them loaded. We've noticed quite a few mod developers copying bee code recently, which has coincided with players complaining of lag in our pack (I'm sure yours contributes very little compared to all the flying mobs added by some other mods, but it all adds up together).