starfish-studios / Naturalist-Archive

🦌 Enhances the overworld by adding new wildlife with unique behavior!
https://starfish-studios.com/mods/naturalist/downloads
Other
55 stars 22 forks source link

[Bug]: Mod fails to load on latest version of forge #16

Closed Saereth closed 2 years ago

Saereth commented 2 years ago

Mod Version

2.0.1

Mod Loader

Forge

Mod Loader Version

41.0.98

What happened?

Game crashes when using Naturalist in the latest version of forge.

latest.log

Relevant section

[11:03:55] [modloading-worker-0/ERROR]: Failed to create mod instance. ModID: naturalist, class com.starfish_studios.naturalist.forge.NaturalistForge
java.lang.reflect.InvocationTargetException: null
    at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
    at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
    at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
    at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:68) ~[javafmllanguage-1.19-41.0.98.jar%23249!/:?]
    at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:121) ~[fmlcore-1.19-41.0.98.jar%23248!/:?]
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) [?:?]
    at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) [?:?]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
    at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
    at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]
Caused by: java.lang.NoSuchFieldError: ENTITIES
    at com.starfish_studios.naturalist.platform.forge.CommonPlatformHelperImpl.<clinit>(CommonPlatformHelperImpl.java:33) ~[naturalist-forge-2.0.1-1.19.jar%23211!/:?]
    at com.starfish_studios.naturalist.platform.CommonPlatformHelper.registerCreativeModeTab(CommonPlatformHelper.java) ~[naturalist-forge-2.0.1-1.19.jar%23211!/:?]
    at com.starfish_studios.naturalist.Naturalist.<clinit>(Naturalist.java:23) ~[naturalist-forge-2.0.1-1.19.jar%23211!/:?]
    at com.starfish_studios.naturalist.forge.NaturalistForge.<init>(NaturalistForge.java:18) ~[naturalist-forge-2.0.1-1.19.jar%23211!/:?]
    ... 14 more