itsmeow / whisperwoods

Minecraft mod for Spooky Jam adding a few fearsome forest critters
Other
7 stars 10 forks source link

Crashing during startup on dedicated server for 1.20.1 #72

Closed neptunecentury closed 1 month ago

neptunecentury commented 1 month ago

First off, thank you for updating this to 1.20.1!

In single player, I am able to load and play the mod. But when I try to set it up on a multiplayer server/dedicated server, the server will crash on startup.

Describe what you were doing before the crash

Crashed during server startup

To Reproduce

Steps to reproduce the behavior (if possible):

  1. Install mod
  2. Start 1.20.1 server

Crash Log (REQUIRED)

[18:05:24] [main/ERROR]: Failed to start the minecraft server java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'whisperwoods' at 'dev.itsmeow.whisperwoods.WhisperwoodsModFabric'! at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403) ~[fabric-loader-0.16.2.jar:?] at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.16.2.jar:?] at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401) ~[fabric-loader-0.16.2.jar:?] at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:63) ~[fabric-loader-0.16.2.jar:?] at net.minecraft.server.Main.main(Main.java:112) ~[server-intermediary.jar:?] at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) ~[fabric-loader-0.16.2.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.16.2.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.16.2.jar:?] at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.16.2.jar:?] Caused by: java.lang.NoSuchMethodError: 'float dev.itsmeow.whisperwoods.particle.WispParticleData.getRed()' at dev.itsmeow.whisperwoods.particle.WispParticleData.lambda$static$0(WispParticleData.java:19) ~[whisperwoods-1.20.1-2.1.1-fabric.jar:?] at com.mojang.serialization.codecs.RecordCodecBuilder.create(RecordCodecBuilder.java:72) ~[datafixerupper-6.0.8.jar:?] at dev.itsmeow.whisperwoods.particle.WispParticleData.(WispParticleData.java:18) ~[whisperwoods-1.20.1-2.1.1-fabric.jar:?] at dev.itsmeow.whisperwoods.init.ModParticles.lambda$static$0(ModParticles.java:19) ~[whisperwoods-1.20.1-2.1.1-fabric.jar:?] at dev.architectury.registry.registries.fabric.RegistrarManagerImpl$RegistrarImpl.register(RegistrarManagerImpl.java:222) ~[architectury-9.2.14-fabric.jar:?] at dev.architectury.registry.registries.DeferredRegister.register(DeferredRegister.java:76) ~[architectury-9.2.14-fabric.jar:?] at dev.itsmeow.whisperwoods.init.ModParticles.init(ModParticles.java:37) ~[whisperwoods-1.20.1-2.1.1-fabric.jar:?] at dev.itsmeow.whisperwoods.WhisperwoodsMod.construct(WhisperwoodsMod.java:21) ~[whisperwoods-1.20.1-2.1.1-fabric.jar:?] at dev.itsmeow.whisperwoods.WhisperwoodsModFabric.onInitialize(WhisperwoodsModFabric.java:9) ~[whisperwoods-1.20.1-2.1.1-fabric.jar:?] at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399) ~[fabric-loader-0.16.2.jar:?] ... 6 more

Versions

Additional context

Although it crashes on dedicated server env, if I load it locally and play single player, it does work. Also, the older version for 1.19.2 worked on dedicated server.

Thanks!

itsmeow commented 1 month ago

Download 2.1.2

thrasosc commented 1 month ago

Download 2.1.2

Could you also upload this version on Modrinth?

itsmeow commented 1 month ago

@cybercat5555