Concurrent Chunk Management Engine (Fabric)

Concurrent Chunk Management Engine (Fabric)

231k Downloads

lag when opening the "create new world" screen

AbrasiveBoar902 opened this issue ยท 1 comments

commented

when I open the create new world screen, the game will freeze for up to half a minute. log says it is caculating strongholds, like this
[22:09:46] [Render thread/INFO]: [STDOUT]: Stronghold positions initialized
[22:09:46] [Render thread/INFO]: [STDOUT]: Delaying init for stronghold positions
I have confirmed c2me caused this. I tryed only fabric-api and c2me, it happened. Then I tryed all my other mods without c2me, it didn't happen.
I am using c2me version 0.2.0-alpha6.1, minecraft 1.18.1
latest build alpha6.21 have improved a lot, but still lags for a few seconds

commented

This is an intentional behavior for fixing a threading issue in vanilla code. This didn't hurt much in 1.17 but 1.18 is just slow to handle this behavior. This lag can only be replaced with lag spike in game when generating new terrain like vanilla does currently. We are working on an alternative way to make this barely noticeable for users.