Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NeoForge] Unable to use reflections to locate packages #99

Open
Edouard127 opened this issue May 4, 2024 · 1 comment
Open

[NeoForge] Unable to use reflections to locate packages #99

Edouard127 opened this issue May 4, 2024 · 1 comment

Comments

@Edouard127
Copy link

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

@Edouard127
Copy link
Author

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 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant