Fluidlogged API is causing cascading worldgen lag when generating a fluidlogged block
juraj-hrivnak opened this issue ยท 1 comments
Describe the bug
When generating chunks with a lot of blocks that generate fluidlogged, there is a noticeable lag.
To Reproduce
Steps to reproduce the behaviour:
- Install
- Fluidlogged API - v1.8.1c
- Greenery - 1.9
- Shadowfacts' Forgelin (Dependency)
- Create a world
- Generate new chunks of the ocean biome
Logs
latest log
spark profile
Additional context
As I am the author of Greenery, I firstly thought it was an issue from my side, so I tried to optimize the world generation, as possible.
But after doing so, the cascading worldgen lag remains, even though Greenery uses no methods from it when generating the kelp.
So I think the problem is somewhere in the world#setBlockState
method that Fluidlogged API is altering. Maybe there should be somewhere another area loaded check?