Modscraper Modscraper Minecraft
BetterRandomSourceConcurrencyCrash logo

BetterRandomSourceConcurrencyCrash

Mod

by XFactHD

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

Type

Mod

CurseForge Downloads

97,126

CurseForge ID

876246

Last Updated

Apr 12, 2026

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!

Similar Mods

Included in Modpacks

External Resources