Fluidlogged API

Fluidlogged API

305k Downloads

Fluidlogged API is causing cascading worldgen lag when generating a fluidlogged block

juraj-hrivnak opened this issue ยท 1 comments

commented

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:

  1. Install
  2. Create a world
  3. 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?

commented

fixed in v1.8.1d