Balm (Fabric Edition)

Balm (Fabric Edition)

27M Downloads

[1.21.1] Any version above 21.0.46 causes a crash saying "Cannot get config value before config is loaded."

MundM2007 opened this issue ยท 3 comments

commented

Minecraft Version

1.21.1 (LTS)

Mod Loader

NeoForge

Describe the Issue

Upon updated my mods, the game crashes with the error java.lang.IllegalStateException: Cannot get config value before config is loaded.. I've tried to replicate this error with a limited number of mods. Though because of the unclear error message i didn't succeed.

Logs

latest.log
debug.log

commented

Removing that mod does fix the issue. Thanks for the help and sorry for reporting. Though I'm still wondering why it only happens on balm versions above 21.0.46 and also occurs without Better Mods Button

commented

This has nothing to do with Balm, it's caused by mechanicals failing to load some Create-related classes, which leads to a followup crash in "Better Mods Button" that obscured the original mechanicals cause.

[06Sept.2025 12:15:22.942] [modloading-sync-worker/ERROR] [net.neoforged.fml.ModContainer/LOADING]: Caught exception during event net.neoforged.neoforge.registries.RegisterEvent@2bc0c84f dispatch for modid mechanicals
java.lang.NoClassDefFoundError: net/createmod/catnip/lang/Lang

commented

Though I'm still wondering why it only happens on balm versions above 21.0.46 and also occurs without Better Mods Button

Impossible to say without logs for that case, but probably for a similar reason it happened to Better Mods Button. Mods crashing during initialization can sometimes cause followup crashes in other mods that weren't prepared for the corrupted state the game is left in, since NeoForge doesn't shutdown the game instantly on these types of crashes.