[NeoForge] Unable to use reflections to locate packages
Edouard127 opened this issue ยท 2 comments
I have update https://github.com/Edouard127/ClassLoaderError for testing
When launching the mod in NeoForge production, the mod is unable to find specific classes or packages
It works flawlessly in fabric, forge and quilt
I am using https://github.com/ronmamo/reflections
I don't know why that would happen and I wonder if you know the issue
The libraries required for reflections are both in the gamelibrary layer if that could help you
[15:26:47.208] [main/INFO] [loading.moddiscovery.ModDiscoverer/SCAN]: Found mod file "javassist-3.28.0-GA.jar" of type GAMELIBRARY with provider net.neoforged.fml.loading.moddiscovery.JarInJarDependencyLocator@4917d36b
[15:26:47.209] [main/INFO] [loading.moddiscovery.ModDiscoverer/SCAN]: Found mod file "reflections-0.10.2.jar" of type GAMELIBRARY with provider net.neoforged.fml.loading.moddiscovery.JarInJarDependencyLocator@4917d36b