Jump to content

My 1.20.1 mohist server crashes, and I don't Know why


MattixPowered

Recommended Posts

This is the error from the console:

 ███╗   ███╗  ██████╗  ██╗  ██╗ ██╗ ███████╗ ████████╗
 ████╗ ████║ ██╔═══██╗ ██║  ██║ ██║ ██╔════╝ ╚══██╔══╝
 ██╔████╔██║ ██║   ██║ ███████║ ██║ ███████╗    ██║
 ██║╚██╔╝██║ ██║   ██║ ██╔══██║ ██║ ╚════██║    ██║
 ██║ ╚═╝ ██║ ╚██████╔╝ ██║  ██║ ██║ ███████║    ██║
 ╚═╝     ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚═╝ ╚══════╝    ╚═╝


Thanks for using Mohist - 1.20.1-541, Java(19.0.2) 63.0

Update in check...
If you don't want to enable update check, set check_update in mohist-config/mohist.yml to false
The latest Mohist version is 1.20.1-542 but you have 1.20.1-541. The latest version has been built on 2023-12-21 12:18:01. You should update to fix recent bugs!
Checking libraries, please wait...
All libraries are nice :)!
Searching incompatible mods...
[13:03:58 INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 47.2.17, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412, nogui]
[13:03:58 INFO]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 19.0.2 by Oracle Corporation; OS Windows 10 arch amd64 version 10.0
[13:04:00 INFO]: ImmediateWindowProvider not loading because launch target is forgeserver
[13:04:00 INFO]: Mixin Transmogrifier is definitely up to no good...
[13:04:00 INFO]: crimes against java were committed
[13:04:00 INFO]: Original mixin transformation service successfully crobbed by mixin-transmogrifier!
[13:04:00 INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/F:/Mattia/servermod/mods/Connector-1.0.0-beta.31+1.20.1.jar%23260%23263!/ Service=ModLauncher Env=SERVER
[13:04:01 WARN]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File:
[13:04:01 WARN]: Attempted to select a dependency jar for JarJar which was passed in as source: curios. Using Mod File: F:\Mattia\servermod\mods\curios-forge-5.4.6+1.20.1.jar
[13:04:01 INFO]: Found 56 dependencies adding them to mods collection
[13:04:04 INFO]: Dependency resolution found 4 candidates to load
[13:04:05 INFO]: Successfully made module authlib transformable
[13:04:07 INFO]: Compatibility level set to JAVA_17
[13:04:08 INFO]: Launching target 'forgeserver' with arguments [nogui]
[13:04:08 INFO]: Loaded configuration file for ModernFix 5.10.1+mc1.20.1: 72 options available, 0 override(s) found
[13:04:08 INFO]: Applying Nashorn fix
[13:04:08 INFO]: Applied Forge config corruption patch
[13:04:08 WARN]: Reference map 'morevillagers-forge-forge-refmap.json' for morevillagers.mixins.json could not be read. If this is a development environment you can ignore this message
[13:04:08 WARN]: Reference map 'oculus-refmap.json' for mixins.oculus.compat.json could not be read. If this is a development environment you can ignore this message
[13:04:08 WARN]: Reference map 'nitrogen_internals.refmap.json' for nitrogen_internals.mixins.json could not be read. If this is a development environment you can ignore this message
[13:04:08 INFO]: Loaded configuration file for Canary: 123 options available, 0 override(s) found
[13:04:08 WARN]: Reference map 'mvs-forge-refmap.json' for mvs-forge.mixins.json could not be read. If this is a development environment you can ignore this message
[13:04:08 WARN]: Reference map 'cristellib-forge-refmap.json' for cristellib.mixins.json could not be read. If this is a development environment you can ignore this message
[13:04:10 INFO]: Patching IForgeItemStack#getEnchantmentLevel
[13:04:10 INFO]: Patching IForgeItemStack#getEnchantmentLevel
[13:04:13 INFO]: Loaded config for: structureessentials.json
[13:04:15 INFO]: Replaced 2 calls to Enchantment#getMaxLevel() in net/minecraft/world/inventory/AnvilMenu
[13:04:15 INFO]: Patching IForgeItemStack#getEnchantmentLevel
[13:04:15 INFO]: Patching IForgeItemStack#getEnchantmentLevel
[13:04:16 WARN]: Error loading class: com/hollingsworth/arsnouveau/common/items/SpellCrossbow (java.lang.ClassNotFoundException: com.hollingsworth.arsnouveau.common.items.SpellCrossbow)
[13:04:16 ERROR]: Attempted to load class net/minecraft/client/MouseHandler for invalid dist DEDICATED_SERVER
[13:04:16 WARN]: Error loading class: net/minecraft/client/MouseHandler (java.lang.RuntimeException: Attempted to load class net/minecraft/client/MouseHandler for invalid dist DEDICATED_SERVER)
[13:04:16 WARN]: @Mixin target net.minecraft.client.MouseHandler was not found fabric-screen-api-v1.mixins.json:MouseMixin from mod fabric_screen_api_v1
[13:04:16 ERROR]: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER
[13:04:16 WARN]: Error loading class: net/minecraft/client/gui/screens/Screen (java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER)
[13:04:16 WARN]: @Mixin target net.minecraft.client.gui.screens.Screen was not found fabric-screen-api-v1.mixins.json:ScreenAccessor from mod fabric_screen_api_v1
[13:04:29 INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.1).
[13:04:33 INFO]: ModernFix reached bootstrap stage (40.93 s after launch)
[13:04:35 INFO]: Injecting BlockStateBase cache population hook into getNeighborPathNodeType from com.abdelaziz.canary.mixin.ai.pathing.BlockStateBaseMixin
[13:04:35 INFO]: Injecting BlockStateBase cache population hook into getPathNodeType from com.abdelaziz.canary.mixin.ai.pathing.BlockStateBaseMixin
[13:04:35 INFO]: Injecting BlockStateBase cache population hook into getAllFlags from com.abdelaziz.canary.mixin.util.block_tracking.BlockStateBaseMixin
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.Launcher.run(Launcher.java:108)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.Launcher.main(Launcher.java:78)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
        at cpw.mods.bootstraplauncher@1.1.2/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)
        at com.mohistmc.MohistMCStart.main(MohistMCStart.java:104)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at MC-BOOTSTRAP/fmlloader@1.20.1-47.2.17/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111)
        at MC-BOOTSTRAP/fmlloader@1.20.1-47.2.17/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.serverService(CommonLaunchHandler.java:103)
        at MC-BOOTSTRAP/fmlloader@1.20.1-47.2.17/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$makeService$0(CommonServerLaunchHandler.java:27)
        at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
        ... 8 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/world/level/block/LiquidBlock
        at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.block.FireBlock.m_53484_(FireBlock.java:358)
        at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:46)
        at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.Main.main(Main.java:161)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        ... 13 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.world.level.block.LiquidBlock
        at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:157)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        ... 17 more

 

This is the error from the log:

[13:03:58] [main/INFO] [cpw.mods.modlauncher.Launcher]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 47.2.17, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412, nogui]
[13:03:58] [main/INFO] [cpw.mods.modlauncher.Launcher]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 19.0.2 by Oracle Corporation; OS Windows 10 arch amd64 version 10.0
[13:04:00] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler]: ImmediateWindowProvider not loading because launch target is forgeserver
[13:04:00] [main/INFO] [mixin-transmog]: Mixin Transmogrifier is definitely up to no good...
[13:04:00] [main/INFO] [mixin-transmog]: crimes against java were committed
[13:04:00] [main/INFO] [mixin-transmog]: Original mixin transformation service successfully crobbed by mixin-transmogrifier!
[13:04:00] [main/INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/F:/Mattia/servermod/mods/Connector-1.0.0-beta.31+1.20.1.jar%23260%23263!/ Service=ModLauncher Env=SERVER
[13:04:01] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File: 
[13:04:01] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector]: Attempted to select a dependency jar for JarJar which was passed in as source: curios. Using Mod File: F:\Mattia\servermod\mods\curios-forge-5.4.6+1.20.1.jar
[13:04:01] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator]: Found 56 dependencies adding them to mods collection
[13:04:04] [main/INFO] [dev.su5ed.sinytra.connector.locator.DependencyResolver]: Dependency resolution found 4 candidates to load
[13:04:05] [main/INFO] [dev.su5ed.sinytra.connector.service.ModuleLayerMigrator]: Successfully made module authlib transformable
[13:04:07] [main/INFO] [mixin]: Compatibility level set to JAVA_17
[13:04:08] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler]: Launching target 'forgeserver' with arguments [nogui]
[13:04:08] [main/INFO] [ModernFix]: Loaded configuration file for ModernFix 5.10.1+mc1.20.1: 72 options available, 0 override(s) found
[13:04:08] [main/INFO] [ModernFix]: Applying Nashorn fix
[13:04:08] [main/INFO] [ModernFix]: Applied Forge config corruption patch
[13:04:08] [main/WARN] [mixin]: Reference map 'morevillagers-forge-forge-refmap.json' for morevillagers.mixins.json could not be read. If this is a development environment you can ignore this message
[13:04:08] [main/WARN] [mixin]: Reference map 'oculus-refmap.json' for mixins.oculus.compat.json could not be read. If this is a development environment you can ignore this message
[13:04:08] [main/WARN] [mixin]: Reference map 'nitrogen_internals.refmap.json' for nitrogen_internals.mixins.json could not be read. If this is a development environment you can ignore this message
[13:04:08] [main/INFO] [Canary]: Loaded configuration file for Canary: 123 options available, 0 override(s) found
[13:04:08] [main/WARN] [mixin]: Reference map 'mvs-forge-refmap.json' for mvs-forge.mixins.json could not be read. If this is a development environment you can ignore this message
[13:04:08] [main/WARN] [mixin]: Reference map 'cristellib-forge-refmap.json' for cristellib.mixins.json could not be read. If this is a development environment you can ignore this message
[13:04:10] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo]: Patching IForgeItemStack#getEnchantmentLevel
[13:04:10] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo]: Patching IForgeItemStack#getEnchantmentLevel
[13:04:13] [main/INFO] [com.cupboard.Cupboard]: Loaded config for: structureessentials.json
[13:04:15] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis]: Replaced 2 calls to Enchantment#getMaxLevel() in net/minecraft/world/inventory/AnvilMenu
[13:04:15] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo]: Patching IForgeItemStack#getEnchantmentLevel
[13:04:15] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo]: Patching IForgeItemStack#getEnchantmentLevel
[13:04:16] [main/WARN] [mixin]: Error loading class: com/hollingsworth/arsnouveau/common/items/SpellCrossbow (java.lang.ClassNotFoundException: com.hollingsworth.arsnouveau.common.items.SpellCrossbow)
[13:04:16] [main/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner]: Attempted to load class net/minecraft/client/MouseHandler for invalid dist DEDICATED_SERVER
[13:04:16] [main/WARN] [mixin]: Error loading class: net/minecraft/client/MouseHandler (java.lang.RuntimeException: Attempted to load class net/minecraft/client/MouseHandler for invalid dist DEDICATED_SERVER)
[13:04:16] [main/WARN] [mixin]: @Mixin target net.minecraft.client.MouseHandler was not found fabric-screen-api-v1.mixins.json:MouseMixin from mod fabric_screen_api_v1
[13:04:16] [main/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner]: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER
[13:04:16] [main/WARN] [mixin]: Error loading class: net/minecraft/client/gui/screens/Screen (java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER)
[13:04:16] [main/WARN] [mixin]: @Mixin target net.minecraft.client.gui.screens.Screen was not found fabric-screen-api-v1.mixins.json:ScreenAccessor from mod fabric_screen_api_v1
[13:04:29] [main/INFO] [MixinExtras|Service]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.1).
[13:04:33] [main/INFO] [net.minecraft.server.Bootstrap]: ModernFix reached bootstrap stage (40.93 s after launch)
[13:04:35] [main/INFO] [ModernFix]: Injecting BlockStateBase cache population hook into getNeighborPathNodeType from com.abdelaziz.canary.mixin.ai.pathing.BlockStateBaseMixin
[13:04:35] [main/INFO] [ModernFix]: Injecting BlockStateBase cache population hook into getPathNodeType from com.abdelaziz.canary.mixin.ai.pathing.BlockStateBaseMixin
[13:04:35] [main/INFO] [ModernFix]: Injecting BlockStateBase cache population hook into getAllFlags from com.abdelaziz.canary.mixin.util.block_tracking.BlockStateBaseMixin
 

 

HELP ME PLS!

Link to comment
Share on other sites

5 hours ago, TileEntity said:

Use Java 17 instead of Java 19

Also, there are some client-side-only mods in your server

Start with removing Modernfix, Rubidium and Oculus from your server

Thank you so much! I did what you said, but the error persists, I don't know what to do! Sorry if I'm being repetitive but I don't understand anything about codes and bugs

This is the new crash-log:

[18:49:06] [main/INFO] [cpw.mods.modlauncher.Launcher]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 47.2.17, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412, nogui]
[18:49:06] [main/INFO] [cpw.mods.modlauncher.Launcher]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.9 by Oracle Corporation; OS Windows 10 arch amd64 version 10.0
[18:49:08] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler]: ImmediateWindowProvider not loading because launch target is forgeserver
[18:49:08] [main/INFO] [mixin-transmog]: Mixin Transmogrifier is definitely up to no good...
[18:49:08] [main/INFO] [mixin-transmog]: crimes against java were committed
[18:49:08] [main/INFO] [mixin-transmog]: Original mixin transformation service successfully crobbed by mixin-transmogrifier!
[18:49:08] [main/INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/F:/Mattia/servermod/mods/Connector-1.0.0-beta.31+1.20.1.jar%23256%23259!/ Service=ModLauncher Env=SERVER
[18:49:09] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File: 
[18:49:09] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector]: Attempted to select a dependency jar for JarJar which was passed in as source: curios. Using Mod File: F:\Mattia\servermod\mods\curios-forge-5.4.6+1.20.1.jar
[18:49:09] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator]: Found 55 dependencies adding them to mods collection
[18:49:12] [main/INFO] [dev.su5ed.sinytra.connector.locator.DependencyResolver]: Dependency resolution found 4 candidates to load
[18:49:13] [main/INFO] [dev.su5ed.sinytra.connector.service.ModuleLayerMigrator]: Successfully made module authlib transformable
[18:49:15] [main/INFO] [mixin]: Compatibility level set to JAVA_17
[18:49:15] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler]: Launching target 'forgeserver' with arguments [nogui]
[18:49:15] [main/WARN] [mixin]: Reference map 'morevillagers-forge-forge-refmap.json' for morevillagers.mixins.json could not be read. If this is a development environment you can ignore this message
[18:49:15] [main/WARN] [mixin]: Reference map 'nitrogen_internals.refmap.json' for nitrogen_internals.mixins.json could not be read. If this is a development environment you can ignore this message
[18:49:15] [main/INFO] [Canary]: Loaded configuration file for Canary: 123 options available, 0 override(s) found
[18:49:15] [main/WARN] [mixin]: Reference map 'mvs-forge-refmap.json' for mvs-forge.mixins.json could not be read. If this is a development environment you can ignore this message
[18:49:15] [main/WARN] [mixin]: Reference map 'cristellib-forge-refmap.json' for cristellib.mixins.json could not be read. If this is a development environment you can ignore this message
[18:49:16] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo]: Patching IForgeItemStack#getEnchantmentLevel
[18:49:16] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo]: Patching IForgeItemStack#getEnchantmentLevel
[18:49:16] [main/INFO] [com.cupboard.Cupboard]: Loaded config for: structureessentials.json
[18:49:16] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis]: Replaced 2 calls to Enchantment#getMaxLevel() in net/minecraft/world/inventory/AnvilMenu
[18:49:16] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo]: Patching IForgeItemStack#getEnchantmentLevel
[18:49:16] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo]: Patching IForgeItemStack#getEnchantmentLevel
[18:49:16] [main/WARN] [mixin]: Error loading class: com/hollingsworth/arsnouveau/common/items/SpellCrossbow (java.lang.ClassNotFoundException: com.hollingsworth.arsnouveau.common.items.SpellCrossbow)
[18:49:16] [main/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner]: Attempted to load class net/minecraft/client/MouseHandler for invalid dist DEDICATED_SERVER
[18:49:16] [main/WARN] [mixin]: Error loading class: net/minecraft/client/MouseHandler (java.lang.RuntimeException: Attempted to load class net/minecraft/client/MouseHandler for invalid dist DEDICATED_SERVER)
[18:49:16] [main/WARN] [mixin]: @Mixin target net.minecraft.client.MouseHandler was not found fabric-screen-api-v1.mixins.json:MouseMixin from mod fabric_screen_api_v1
[18:49:16] [main/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner]: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER
[18:49:16] [main/WARN] [mixin]: Error loading class: net/minecraft/client/gui/screens/Screen (java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER)
[18:49:16] [main/WARN] [mixin]: @Mixin target net.minecraft.client.gui.screens.Screen was not found fabric-screen-api-v1.mixins.json:ScreenAccessor from mod fabric_screen_api_v1
[18:49:18] [main/INFO] [MixinExtras|Service]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.1).
 

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.