BetterRandomSourceConcurrencyCrash

Quick rating

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

BetterRandomSourceConcurrencyCrash

No reviews yet

Improved logging of crashes caused by mods accessing RandomSources from the wrong thread

Mod Loaders
Minecraft

About

Description

This mod improves the logging when a mod accesses a LegacyRandomSource from the wrong thread, causing a java.lang.IllegalStateException: Accessing LegacyRandomSource from multiple threads crash, by adding information about the second thread involved in the crash.

Disclaimer: This mod is purely intended for debugging and should not be installed unless needed for debugging due to the overhead it adds to the LegacyRandomSource!