Crash upon entering world 1.21 forge
Aceplante opened this issue ยท 2 comments
Hope this helps
Description: Exception in server tick loop
java.lang.ClassCastException: class net.minecraft.server.level.ServerPlayer cannot be cast to class tschipp.carryon.common.carry.CarryOnDataManager$ICarrying (net.minecraft.server.level.ServerPlayer is in module [email protected] of loader 'TRANSFORMER' @1984212d; tschipp.carryon.common.carry.CarryOnDataManager$ICarrying is in module [email protected] of loader 'TRANSFORMER' @1984212d)
at TRANSFORMER/[email protected]/tschipp.carryon.common.carry.CarryOnDataManager.getCarryData(CarryOnDataManager.java:33) ~[carryon-forge-1.21.1-2.2.2.11.jar!/:2.2.2.11] {re:classloading}
at TRANSFORMER/[email protected]/tschipp.carryon.CarryOnCommon.onCarryTick(CarryOnCommon.java:102) ~[carryon-forge-1.21.1-2.2.2.11.jar!/:2.2.2.11] {re:classloading}
at TRANSFORMER/[email protected]/tschipp.carryon.events.CommonEvents.onServerTick(CommonEvents.java:182) ~[carryon-forge-1.21.1-2.2.2.11.jar!/:2.2.2.11] {re:classloading}
at TRANSFORMER/[email protected]/tschipp.carryon.events.__CommonEvents_onServerTick_Post.invoke(.dynamic) ~[carryon-forge-1.21.1-2.2.2.11.jar!/:2.2.2.11] {re:classloading,pl:eventbus:B}
at SECURE-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:48) ~[eventbus-6.2.8.jar!/:?] {}
at SECURE-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:304) ~[eventbus-6.2.8.jar!/:?] {}
at SECURE-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:290) ~[eventbus-6.2.8.jar!/:?] {}
at TRANSFORMER/[email protected]/net.minecraftforge.event.ForgeEventFactory.post(ForgeEventFactory.java:228) ~[forge-1.21.1-52.0.10-universal.jar!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraftforge.event.ForgeEventFactory.onPostServerTick(ForgeEventFactory.java:831) ~[forge-1.21.1-52.0.10-universal.jar!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:937) ~[forge-1.21.1-52.0.10-client.jar!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:109) ~[forge-1.21.1-52.0.10-client.jar!/:?] {re:classloading,pl:runtimedistcleaner:A}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:701) ~[forge-1.21.1-52.0.10-client.jar!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267) ~[forge-1.21.1-52.0.10-client.jar!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] {}
As far as I'm aware it's because carryon isn't actually compatible with 1.21+ Minecraft versions because it requires java 21 and carryon is made for java 17, a fix may be to downgrade your java version to 17 but I didn't bother to test if that worked (too much trouble for this crap), otherwise I believe we'd have to wait for a version that does work
anyway be aware I probably have no idea what I'm talking about but this might be it ๐