Better Archeology

Better Archeology

14M Downloads

Issue on new Update with resourcefulconfig (Fabric 1.21.1 on 0.16.9)

suerion opened this issue ยท 3 comments

commented

HEy, had this issue on my side after update and adding resourceful config

Only availlable resourcefulconfig is 3.0.8 or 3.0.7-> https://modrinth.com/mod/resourceful-config/versions?g=1.21&g=1.21.1&l=fabric

Could be there are issues on the new versions, they are not available for 1.21.1?

BA https://modrinth.com/mod/better-archeology/versions?g=1.21&g=1.21.1

[02:11:19] [main/ERROR]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'betterarcheology' at 'net.Pandarix.fabric.BAFabric'!
        at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403) ~[fabric-loader-0.16.9.jar:?]
        at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.16.9.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401) ~[fabric-loader-0.16.9.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:63) ~[fabric-loader-0.16.9.jar:?]
        at knot/net.minecraft.server.Main.main(Main.java:111) [server-intermediary.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.9.jar:?]
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.9.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.16.9.jar:?]
        at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.16.9.jar:?]
        at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) [fabric-server-mc.1.21.1-loader.0.16.9-launcher.1.0.1.jar:1.0.1]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/sound/SoundInstance
        at java.base/java.lang.Class.getDeclaredFields0(Native Method) ~[?:?]
        at java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3473) ~[?:?]
        at java.base/java.lang.Class.getDeclaredFields(Class.java:2542) ~[?:?]
        at knot/com.teamresourceful.resourcefulconfig.common.loader.JavaConfigParser.populateEntries(JavaConfigParser.java:39) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/com.teamresourceful.resourcefulconfig.common.loader.JavaConfigParser.parse(JavaConfigParser.java:33) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/com.teamresourceful.resourcefulconfig.api.loader.ConfigParser.tryParse(ConfigParser.java:33) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/com.teamresourceful.resourcefulconfig.api.loader.Configurator.loadConfigClass(Configurator.java:57) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/com.teamresourceful.resourcefulconfig.api.loader.Configurator.register(Configurator.java:32) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/com.teamresourceful.resourcefulconfig.api.loader.Configurator.register(Configurator.java:28) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/net.Pandarix.BACommon.init(BACommon.java:43) ~[betterarcheology-fabric-1.3.0-1.21.jar:?]
        at knot/net.Pandarix.fabric.BAFabric.onInitialize(BAFabric.java:12) ~[betterarcheology-fabric-1.3.0-1.21.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399) ~[fabric-loader-0.16.9.jar:?]
        ... 7 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.sound.SoundInstance
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.16.9.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.16.9.jar:?]
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
        at java.base/java.lang.Class.getDeclaredFields0(Native Method) ~[?:?]
        at java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3473) ~[?:?]
        at java.base/java.lang.Class.getDeclaredFields(Class.java:2542) ~[?:?]
        at knot/com.teamresourceful.resourcefulconfig.common.loader.JavaConfigParser.populateEntries(JavaConfigParser.java:39) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/com.teamresourceful.resourcefulconfig.common.loader.JavaConfigParser.parse(JavaConfigParser.java:33) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/com.teamresourceful.resourcefulconfig.api.loader.ConfigParser.tryParse(ConfigParser.java:33) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/com.teamresourceful.resourcefulconfig.api.loader.Configurator.loadConfigClass(Configurator.java:57) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/com.teamresourceful.resourcefulconfig.api.loader.Configurator.register(Configurator.java:32) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/com.teamresourceful.resourcefulconfig.api.loader.Configurator.register(Configurator.java:28) ~[resourcefulconfig-fabric-1.21-3.0.8.jar:?]
        at knot/net.Pandarix.BACommon.init(BACommon.java:43) ~[betterarcheology-fabric-1.3.0-1.21.jar:?]
        at knot/net.Pandarix.fabric.BAFabric.onInitialize(BAFabric.java:12) ~[betterarcheology-fabric-1.3.0-1.21.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399) ~[fabric-loader-0.16.9.jar:?]
        ... 7 more
commented

Hi, thank you for reporting. The Multiloader port is still in beta, so any feedback is greatly appreciated!

I'll look into this asap!

commented

I could replicate this issue on a fresh custom Fabric 0.16.9 Minecraft 1.21.1 Server instance.
This issue is caused by a silly EasterEgg I wanted to build into the new config.
After removing that option, the issue was gone for me.

I will publish a fixed mod version without that config option asap.

commented

Fixes should be up in a few minutes (CF takes a while to validate).
Please try again and feel free to reopen this issue if the problem should unexpectedly still persist :).

https://modrinth.com/mod/better-archeology/versions
https://www.curseforge.com/minecraft/mc-mods/better-archeology/files/all?page=1&pageSize=20

Thank you for reporting and sorry for the inconvenience!