Concurrent Chunk Management Engine (Fabric)

Concurrent Chunk Management Engine (Fabric)

231k Downloads

Dramatic frozen death of Minecraft with high render distance

ZechariahB opened this issue ยท 0 comments

commented

Currently with 1.19 release of this mod, you are able to use a render distance far higher than what the game is capable of. This causes Minecraft to freeze without producing a proper error log.

Reproducing this is quite easy. Set your game to use Minecraft's default 2GB allotted memory in JVM Arguments. Load a new world and set your render distance to 32 or higher. You will quickly see fps drop to zero as Minecraft attempts to add chunks that are impossible to exist. Any unfortunate souls who forget to turn down their render distance will be met by a repeated sudden demise after loading their world.

If this was an intentional feature, unlocking render distance to any arbitrary amount (up to 128) that a user can pick is a very bad idea. Don't do it. Calculate the theoretical maximum memory chunks can use for the memory Minecraft haves. Limit the render distance to that. (Best solution since Bedrock Minecraft)

Mods used:
c2me-fabric-mc1.19-0.2.0+alpha.7.56
fabric-api-0.55.2+1.19