My server keeps crashing everytime I try to start it up. Might have something to do with mods but I'm not sure.
[12Jun2021 20:26:52.617] [modloading-worker-1/FATAL] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER | |
2382 | [12Jun2021 20:26:52.619] [modloading-worker-1/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER |
2383 | Index: 1 |
2384 | Listeners: |
2385 | 0: NORMAL |
2386 | 1: net.minecraftforge.eventbus.EventBus$$Lambda$2671/608821237@3fbae989 |
2387 | java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER |
2388 | at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:71) |
2389 | at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) |
2390 | at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) |
2391 | at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) |
2392 | at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) |
2393 | at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) |
2394 | at java.lang.ClassLoader.loadClass(ClassLoader.java:351) |
2395 | at net.minecraftearthmod.procedures.CreateConfigProcedure.executeProcedure(CreateConfigProcedure.java:24) |
2396 | at net.minecraftearthmod.procedures.CreateConfigProcedure.init(CreateConfigProcedure.java:36) |
2397 | at net.minecraftearthmod.MinecraftEarthModMod.lambda$init$1(MinecraftEarthModMod.java:59) |
2398 | at java.util.ArrayList.forEach(ArrayList.java:1259) |
2399 | at net.minecraftearthmod.MinecraftEarthModMod.init(MinecraftEarthModMod.java:59) |
2400 | at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) |
2401 | at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) |
2402 | at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) |
2403 | at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) |
2404 | at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120) |
2405 | at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121) |
2406 | at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) |
2407 | at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) |
2408 | at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) |
2409 | at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) |
2410 | at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) |
2411 | at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) |
2412 | |
2413 | [12Jun2021 20:26:52.622] [modloading-worker-1/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Caught exception during event FMLCommonSetupEvent dispatch for modid minecraft_earth_mod |
2414 | java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER |
2415 | at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:71) ~[forge.jar:36.1] |
2416 | at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) ~[modlauncher-8.0.9.jar:?] |
2417 | at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-8.0.9.jar:?] |
2418 | at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) ~[modlauncher-8.0.9.jar:?] |
2419 | at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.0.9.jar:?] |
2420 | at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.0.9.jar:?] |
2421 | at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292] |
2422 | at net.minecraftearthmod.procedures.CreateConfigProcedure.executeProcedure(CreateConfigProcedure.java:24) ~[minecraft_earth_mod:?] |
2423 | at net.minecraftearthmod.procedures.CreateConfigProcedure.init(CreateConfigProcedure.java:36) ~[minecraft_earth_mod:?] |
2424 | at net.minecraftearthmod.MinecraftEarthModMod.lambda$init$1(MinecraftEarthModMod.java:59) ~[minecraft_earth_mod:?] |
2425 | at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_292] |
2426 | at net.minecraftearthmod.MinecraftEarthModMod.init(MinecraftEarthModMod.java:59) ~[minecraft_earth_mod:?] |
2427 | at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-4.0.0.jar:?] |
2428 | at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-4.0.0.jar:?] |
2429 | at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] |
2430 | at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] |
2431 | at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120) ~[forge:36.1] |
2432 | at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121) ~[forge:?] |
2433 | at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) [?:1.8.0_292] |
2434 | at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) [?:1.8.0_292] |
2435 | at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_292] |
2436 | at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_292] |
2437 | at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_292] |
2438 | at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) [?:1.8.0_292] |
Here is the whole log: