Jump to content

Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER


Franxu

Recommended Posts

Im making a minecraft server with mods but it gives me this error, what can i do? And the warns i dont have to care about them right?

 

 

14.09 00:10:05 [Multicraft] Updating eula.txt file
14.09 00:10:07 [Server] INFO 2022-09-14 00:10:07,281 main WARN Advanced terminal features are not available in this environment
14.09 00:10:07 [Server] main/INFO ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.1.23, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853]
14.09 00:10:07 [Server] main/INFO ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17 by Oracle Corporation; OS Linux arch amd64 version 4.15.0-147-generic
14.09 00:10:07 [Server] main/INFO SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/custom_forge/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER
14.09 00:10:07 [Server] main/WARN Configuration file /config/fml.toml is not correct. Correcting
14.09 00:10:07 [Server] main/WARN Incorrect key [defaultConfigPath] was corrected from null to defaultconfigs
14.09 00:10:08 [Server] main/WARN Mod file /custom_forge/libraries/net/minecraftforge/fmlcore/1.19.2-43.1.23/fmlcore-1.19.2-43.1.23.jar is missing mods.toml file
14.09 00:10:08 [Server] main/WARN Mod file /custom_forge/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.1.23/javafmllanguage-1.19.2-43.1.23.jar is missing mods.toml file
14.09 00:10:08 [Server] main/WARN Mod file /custom_forge/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.1.23/lowcodelanguage-1.19.2-43.1.23.jar is missing mods.toml file
14.09 00:10:08 [Server] main/WARN Mod file /custom_forge/libraries/net/minecraftforge/mclanguage/1.19.2-43.1.23/mclanguage-1.19.2-43.1.23.jar is missing mods.toml file
14.09 00:10:09 [Server] main/INFO Found 3 dependencies adding them to mods collection
14.09 00:10:11 [Server] main/INFO Compatibility level set to JAVA_17
14.09 00:10:12 [Server] main/INFO Launching target 'forgeserver' with arguments []
14.09 00:10:12 [Server] main/WARN Reference map 'naturalist-forge-forge-refmap.json' for naturalist.mixins.json could not be read. If this is a development environment you can ignore this message
14.09 00:10:12 [Server] main/INFO OptiFine was NOT detected.
14.09 00:10:12 [Server] main/INFO OptiFabric was NOT detected.
14.09 00:10:12 [Server] main/WARN Error loading class: de/maxhenkel/gravestone/events/DeathEvents (java.lang.ClassNotFoundException: de.maxhenkel.gravestone.events.DeathEvents)
14.09 00:10:12 [Server] main/WARN Error loading class: de/maxhenkel/corpse/events/DeathEvents (java.lang.ClassNotFoundException: de.maxhenkel.corpse.events.DeathEvents)
14.09 00:10:12 [Server] main/INFO Injected ASMUContainerMenuHook call into ServerPlayer#initMenu
14.09 00:10:13 [Server] main/ERROR Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER
14.09 00:10:13 [Server] main/WARN Error loading class: net/minecraft/client/player/LocalPlayer (java.lang.RuntimeException: Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER)
14.09 00:10:13 [Server] main/WARN @Mixin target net.minecraft.client.player.LocalPlayer was not found playerrevive.mixins.json:LocalPlayerAccessor
14.09 00:10:17 [Server] main/INFO Building unoptimized datafixer
14.09 00:10:18 [Server] main/INFO Injected ASMUContainerMenuHook call into ServerPlayer#initMenu
14.09 00:10:20 [Server] modloading-worker-0/INFO Loading ResourcefulTools config: /config/veggie_way.toml
14.09 00:10:20 [Server] modloading-worker-0/INFO Built ResourcefulTools config:/config/veggie_way.toml
14.09 00:10:20 [Server] modloading-worker-0/INFO Loaded ResourcefulTools config: /config/veggie_way.toml
14.09 00:10:20 [Server] modloading-worker-0/WARN Configuration file /config/veggie_way.toml is not correct. Correcting
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Crops was corrected from null to its default, SimpleCommentedConfig:{}.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Crops.CornSoybeanQuinoaLentil was corrected from null to its default, SimpleCommentedConfig:{}.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Crops.CornSoybeanQuinoaLentil.crop_hunger was corrected from null to its default, 4.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Crops.CornSoybeanQuinoaLentil.crop_saturation was corrected from null to its default, 0.2.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Cooked was corrected from null to its default, SimpleCommentedConfig:{}.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Cooked.Cooked Carrot & Beetroot was corrected from null to its default, SimpleCommentedConfig:{}.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Cooked.Cooked Carrot & Beetroot.cooked_carrot_hunger was corrected from null to its default, 4.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Cooked.Cooked Carrot & Beetroot.cooked_carrot_saturation was corrected from null to its default, 0.8.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Cooked.Cooked Carrot & Beetroot.cooked_beetroot_hunger was corrected from null to its default, 2.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Cooked.Cooked Carrot & Beetroot.cooked_beetroot_saturation was corrected from null to its default, 0.8.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Chunks was corrected from null to its default, SimpleCommentedConfig:{}.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Chunks.Melon Chunk was corrected from null to its default, SimpleCommentedConfig:{}.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Chunks.Melon Chunk.melon_chunk_hunger was corrected from null to its default, 2.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Chunks.Melon Chunk.melon_chunk_saturation was corrected from null to its default, 0.2.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Chunks.Cactus Chunk was corrected from null to its default, SimpleCommentedConfig:{}.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Chunks.Cactus Chunk.cactus_chunk_hunger was corrected from null to its default, 2.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Chunks.Cactus Chunk.cactus_chunk_saturation was corrected from null to its default, 0.2.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Chunks.Pumpkin Chunk was corrected from null to its default, SimpleCommentedConfig:{}.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Chunks.Pumpkin Chunk.pumpkin_chunk_hunger was corrected from null to its default, 2.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Chunks.Pumpkin Chunk.pumpkin_chunk_saturation was corrected from null to its default, 0.2.
14.09 00:10:20 [Server] modloading-worker-0/INFO Mod usefulbackpacks is signed with a valid certificate.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Pie was corrected from null to its default, SimpleCommentedConfig:{}.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Pie.Apple Pie was corrected from null to its default, SimpleCommentedConfig:{}.
14.09 00:10:20 [Server] modloading-worker-0/INFO Game modifier group 'majruszlib:default' has been initialized.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Pie.Apple Pie.apple_pie_hunger was corrected from null to its default, 7.
14.09 00:10:20 [Server] modloading-worker-0/WARN Incorrect key Pie.Apple Pie.apple_pie_saturation was corrected from null to its default, 0.2.
14.09 00:10:23 [Multicraft] Skipped 497 lines due to rate limit (30/s)
14.09 00:10:23 [Server] main/FATAL Failed to complete lifecycle event CONSTRUCT, 1 errors found
14.09 00:10:23 [Server] INFO Negative index in crash report handler (16/18)
14.09 00:10:23 [Server] main/FATAL Preparing crash report with UUID 24f954cc-88c9-44bd-85dc-5adcee393a19
14.09 00:10:23 [Server] main/FATAL Crash report saved to ./crash-reports/crash-2022-09-14_00.10.23-fml.txt
14.09 00:10:23 [Server] main/FATAL Preparing crash report with UUID c551366d-4160-4c40-be96-6b9aa93301c6
14.09 00:10:23 [Server] INFO ---- Minecraft Crash Report ----
14.09 00:10:23 [Server] INFO // Uh... Did I do that?
14.09 00:10:23 [Server] INFO Time: 2022-09-14 00:10:23
14.09 00:10:23 [Server] INFO Description: Mod loading error has occurred
14.09 00:10:23 [Server] INFO java.lang.Exception: Mod Loading has failed
14.09 00:10:23 [Server] net.minecraftforge.logging.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:55) ~[forge-1.19.2-43.1.23-universal.jar%23220!/:? {re:classloading}
14.09 00:10:23 [Server] net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:39) ~[forge-1.19.2-43.1.23-universal.jar%23220!/:? {re:classloading}
14.09 00:10:23 [Server] net.minecraft.server.Main.main(Main.java:113) ~[server-1.19.2-20220805.130853-srg.jar%23215!/:? {re:classloading}
14.09 00:10:23 [Server] jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:? {}
14.09 00:10:23 [Server] jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:? {}
14.09 00:10:23 [Server] jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:? {}
14.09 00:10:23 [Server] java.lang.reflect.Method.invoke(Method.java:568) ~[?:? {}
14.09 00:10:23 [Server] net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29) ~[fmlloader-1.19.2-43.1.23.jar%2367!/:? {}
14.09 00:10:23 [Server] cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2354!/:? {}
14.09 00:10:23 [Server] cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2354!/:? {}
14.09 00:10:23 [Server] cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2354!/:? {}
14.09 00:10:23 [Server] cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2354!/:? {}
14.09 00:10:23 [Server] cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2354!/:? {}
14.09 00:10:23 [Server] cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2354!/:? {}
14.09 00:10:23 [Server] cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2354!/:? {}
14.09 00:10:23 [Server] cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:? {}
14.09 00:10:23 [Multicraft] Server shut down (starting)
14.09 00:10:23 [Multicraft] Not restarting crashed server.
14.09 00:10:23 [Multicraft] Server stopped

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.