Skip to content

Chained Updates Fix

Fixes the block update chain crash (before 1.19)

54k downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

description_902e87c4-08b9-4283-81cb-4a238a24cad5.png

Chained Updates Fix fixes the block update chain crash (java.lang.StackOverflowError: Exception while updating neighbours). It happens when too many blocks update each other in a row, like a big lava lake turning into obsidian under water...

This issue is actually fixed in 1.19+ and this mod is basically a backport of this fix (only the very long chains are handled like 1.19+ and the short ones aren't changed though)

description_4b40c076-b0f0-4368-aa61-1ed02d81bd0c.png

For now, you cannot configure the max-chained-neighbor-updates like 1.19+ but it's set to the default value of 1000000

description_3cf89935-5eee-485b-8996-787bad82b4dd.png

It shouldn't have any compatibility issue, but I want to note that this crash is for every versions below 1.19, and currently the only supported version is 1.18.2. So please let me know on discord or in the github issues if you have the crash on another version too and I'll probably port on demand =)

You can also do a pull request on git if you want to share your port but, while the code is under MIT, I would really prefer to have contributions through PR rather than having re-uploads with diffrent supported versions or re-uploads of the same fix


Feel free to add the mod in any modpack published on curseforge!

The code is open source: https://github.com/AwesomeHippo/ChainedUpdatesFix under MIT license