Better Harvesting

Better Harvesting

20.1k Downloads

Dedicated server dist failing to load. Repo not up to date?

PapiOphidian opened this issue ยท 0 comments

commented

It seems like your 0.0.5 1.20.2 release isn't on this repo, but you are trying to access net.minecraft.client.gui.screen.Screen from chase.minecraft.architectury.betterharvesting.BetterHarvesting.initConfig() when loading on a dedicated server dist which doesn't exist.

Stack trace:

Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'betterharvesting'!
        at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:387) ~[fabric-loader-0.14.24.jar:?]
        at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.14.24.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:385) ~[fabric-loader-0.14.24.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:63) ~[fabric-loader-0.14.24.jar:?]
        at net.minecraft.server.Main.main(Main.java:109) ~[server-intermediary.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.14.24.jar:?]
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.24.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.14.24.jar:?]
        at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.14.24.jar:?]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/screen/Screen
        at chase.minecraft.architectury.betterharvesting.BetterHarvesting.initConfig(BetterHarvesting.java:40) ~[betterharvesting-1.20-fabric-0.0.5.jar:?]
        at chase.minecraft.architectury.betterharvesting.BetterHarvesting.init(BetterHarvesting.java:30) ~[betterharvesting-1.20-fabric-0.0.5.jar:?]
        at chase.minecraft.architectury.betterharvesting.fabric.BetterHarvestingFabric.onInitialize(BetterHarvestingFabric.java:11) ~[betterharvesting-1.20-fabric-0.0.5.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:383) ~[fabric-loader-0.14.24.jar:?]
        ... 6 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.screen.Screen
        at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.14.24.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.14.24.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        at chase.minecraft.architectury.betterharvesting.BetterHarvesting.initConfig(BetterHarvesting.java:40) ~[betterharvesting-1.20-fabric-0.0.5.jar:?]
        at chase.minecraft.architectury.betterharvesting.BetterHarvesting.init(BetterHarvesting.java:30) ~[betterharvesting-1.20-fabric-0.0.5.jar:?]
        at chase.minecraft.architectury.betterharvesting.fabric.BetterHarvestingFabric.onInitialize(BetterHarvestingFabric.java:11) ~[betterharvesting-1.20-fabric-0.0.5.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:383) ~[fabric-loader-0.14.24.jar:?]
        ... 6 more