starfish-studios / Naturalist-Archive

🦌 Enhances the overworld by adding new wildlife with unique behavior!
https://starfish-studios.com/mods/naturalist/downloads
Other
55 stars 22 forks source link

[Bug]: Excessive, unlimited Firefly spawning in superflat/low height worlds #3

Closed vectorwing closed 2 years ago

vectorwing commented 2 years ago

Mod Version

1.0.1

Mod Loader

Forge

Mod Loader Version

40.1.31

What happened?

When playing on worlds with low Y-level, such as the Superflat default preset, and it's either night or there's a thunderstorm, Fireflies begin to spawn rapidly each tick, without respecting mob caps.

The speed of spawning seems to depend on the Y level, with lower levels spawning fireflies faster. It's fast enough that it rapidly overloads the client, causing crashes. Since Fireflies die on daylight, removing weather or nighttime resolves the overload.

This has been tested on a minimal instance, with only Naturalist and Geckolib.

Screenshot: image

latest.log

https://gist.github.com/vectorwing/5c9029f860c5337cf955b0da29b87c64