Closed BedrockLegends closed 4 years ago
Versions please!
1.16-3.0.2 - xnet 1.16-3.0.3 Rftools Power 1.16-3.0.4 Rftools Utilitys
We have been having so much issues with your mods as of late not working on server in general
You may need to download XNet again. There was a problem earlier today with a corrupt XNet archive. Try that first
26.08 11:57:49 [Server] modloading-worker-27/ERROR [ne.mi.fm.ja.FMLModContainer/LOADING]: Failed to create mod instance. ModID: xnet, class mcjty.xnet.XNet
26.08 11:57:49 [Server] INFO java.lang.BootstrapMethodError: java.lang.IllegalAccessError: no such method: mcjty.xnet.setup.ClientSetup.init(FMLClientSetupEvent)void/invokeStatic
26.08 11:57:49 [Server] INFO at mcjty.xnet.XNet.
Both Rftools Power and xnet
What version of forge?
1.16.2 - 33.0.21
I currently have no clue at all what's going on. I'll have to check this out later as I ran out of time
crash-2020-08-26_12.11.17-client.txt
Also rftoolsutility now crash on client well using the new forge version 33.0.22
I did some testing it looks like the error is because of
FMLJavaModLoadingContext.get().getModEventBus().addListener(ClientSetup::init); FMLJavaModLoadingContext.get().getModEventBus().addListener(ClientSetup::modelInit);
In Xnet constructor, to fix I belive you need to do is run those inside of a DistExecutor
Can you test again? All my mods have updated (McJtyLib, RFToolsBase, XNet, ...) so you'll have to update all of them. Thanks
@McJty It works now on the new versions
net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [ XNet (xnet) has failed to load correctly §7java.lang.IllegalAccessError: no such method: mcjty.xnet.setup.ClientSetup.init(FMLClientSetupEvent)void/invokeStatic, RFToolsPower (rftoolspower) has failed to load correctly §7Attempted to load class net/minecraft/client/renderer/model/ModelManager for invalid dist DEDICATED_SERVER, RFToolsUtility (rftoolsutility) has failed to load correctly §7Attempted to load class net/minecraft/client/renderer/texture/AtlasTexture for invalid dist DEDICATED_SERVER ] at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:218) ~[?:?] at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:200) ~[?:?] at net.minecraftforge.fml.server.ServerModLoader.load(ServerModLoader.java:49) ~[?:?] at net.minecraft.server.Main.main(Main.java:96) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_251] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_251] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_251] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_251] at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51) ~[forge-1.16.2-33.0.20.jar:33.0] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-6.1.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-6.1.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-6.1.1.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-6.1.1.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-6.1.1.jar:?] at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) [forge-1.16.2-33.0.20.jar:?] at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) [forge-1.16.2-33.0.20.jar:?] at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) [forge-1.16.2-33.0.20.jar:?]