GeckoLib

GeckoLib

155M Downloads

DistExecutor$SafeRunnable not found launching error

Medatur76 opened this issue ยท 1 comments

commented

Hello! I'm currently making a mod to replace the player model. It doesn't contain any errors but when I try to initialize GeckoLib with GeckoLib.initialize() I get this error: Caused by 1: java.lang.NoClassDefFoundError: net/minecraftforge/fml/DistExecutor$SafeRunnable. Here's the full crash log. I also tried GeckoLib.hasInitialized = true; DistExecutor.safeRunWhenOn(Dist.CLIENT, () -> ResourceListener::registerReloadListener); but then I get this error: Caused by 1: java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft. Full crash log.
I've looked up this problem but I only found the problem to be mods but I'm only using geckolib-forge-1.19:3.1.36 the newest version of GeckoLib along with forge:1.19.2-43.1.47 for my Minecraft. I also tried using forge:1.19.2-43.1.25 and didn't work.
I dont know what to do at this point as I two another mods that I've been working one that use GeckoLib as work just fine. I am thankfull for any help I can get.

commented

I would recommend checking your cache as my own 1.19.2 projects are working normally.