Jump to content

Trying to load mods into 1.18.2 forge server causes errors


Blurr0-0

Recommended Posts

I'm trying to play a modpack with a friend and it had no server pack so I tried to make my own like usually but it creates errors and I'm not sure why, as long as it has no mods the server loads fine tho

the modpack name is CivilizationPack if that helps
 

[10Aug2023 23:28:02.850] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 40.2.0, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914]
[10Aug2023 23:28:02.853] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.8 by Eclipse Adoptium
[10Aug2023 23:28:03.087] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/username/Desktop/servers/civilrights/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=SERVER
[10Aug2023 23:28:03.975] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\username\Desktop\servers\civilrights\libraries\net\minecraftforge\fmlcore\1.18.2-40.2.0\fmlcore-1.18.2-40.2.0.jar is missing mods.toml file
[10Aug2023 23:28:03.978] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\username\Desktop\servers\civilrights\libraries\net\minecraftforge\javafmllanguage\1.18.2-40.2.0\javafmllanguage-1.18.2-40.2.0.jar is missing mods.toml file
[10Aug2023 23:28:03.981] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\username\Desktop\servers\civilrights\libraries\net\minecraftforge\lowcodelanguage\1.18.2-40.2.0\lowcodelanguage-1.18.2-40.2.0.jar is missing mods.toml file
[10Aug2023 23:28:03.983] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\bryan\Desktop\servers\civilrights\libraries\net\minecraftforge\mclanguage\1.18.2-40.2.0\mclanguage-1.18.2-40.2.0.jar is missing mods.toml file
[10Aug2023 23:28:04.102] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 5 dependencies adding them to mods collection
[10Aug2023 23:28:04.195] [main/ERROR] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Missing or unsupported mandatory dependencies:
	Mod ID: 'forge', Requested by: 'create', Expected range: '[40.2.4,)', Actual version: '40.2.0'
	Mod ID: 'forge', Requested by: 'cccbridge', Expected range: '[40.2.4,)', Actual version: '40.2.0'
[10Aug2023 23:28:07.428] [main/INFO] [mixin/]: Compatibility level set to JAVA_17
[10Aug2023 23:28:07.849] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com.wuest.prefab.MixinConnector]
[10Aug2023 23:28:07.850] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com.sonicether.soundphysics.MixinConnector]
[10Aug2023 23:28:07.850] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [shetiphian.core.mixins.MixinConnector]
[10Aug2023 23:28:07.851] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com._13rac1.erosion.forge.MixinConnector]
[10Aug2023 23:28:07.851] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [de.maxhenkel.car.MixinConnector]
[10Aug2023 23:28:07.852] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [thelm.jaopca.mixins.JAOPCAMixinConnector]
[10Aug2023 23:28:07.874] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments []
[10Aug2023 23:28:07.885] [main/INFO] [Rubidium/]: Loaded configuration file for Rubidium: 28 options available, 0 override(s) found
[10Aug2023 23:28:07.937] [main/INFO] [ModernFix/]: Loaded configuration file for ModernFix: 58 options available, 0 override(s) found
[10Aug2023 23:28:07.938] [main/INFO] [ModernFix/]: Applying Nashorn fix
[10Aug2023 23:28:07.946] [main/INFO] [ModernFix/]: Applied Forge config corruption patch
[10Aug2023 23:28:07.956] [main/WARN] [mixin/]: Reference map 'forge-forge-refmap.json' for londonunderground.mixins.json could not be read. If this is a development environment you can ignore this message
[10Aug2023 23:28:08.001] [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
[10Aug2023 23:28:08.201] [main/INFO] [Canary/]: Loaded configuration file for Canary: 124 options available, 0 override(s) found
[10Aug2023 23:28:08.305] [main/WARN] [mixin/]: Reference map 'smallships-forge-refmap.json' for smallships.mixins.json could not be read. If this is a development environment you can ignore this message
[10Aug2023 23:28:08.348] [main/WARN] [mixin/]: Reference map 'creativecore.mixins.refmap.json' for creativecore.mixins.json could not be read. If this is a development environment you can ignore this message
[10Aug2023 23:28:09.742] [main/INFO] [net.minecraft.server.Bootstrap/]: ModernFix bootstrap
[10Aug2023 23:28:10.191] [main/WARN] [mixin/]: Method overwrite conflict for m_47505_ in modernfix-common.mixins.json:perf.remove_biome_temperature_cache.BiomeMixin, previously written by com.abdelaziz.saturn.mixin.world.temperature_cache.BiomeMixin. Skipping method.
[10Aug2023 23:28:11.041] [main/INFO] [net.minecraft.server.Bootstrap/]: Vanilla bootstrap took 1296 milliseconds
[10Aug2023 23:28:11.285] [main/FATAL] [mixin/]: Mixin apply failed modernfix-common.mixins.json:bugfix.item_cache_flag.ItemStackMixin -> net.minecraft.world.item.ItemStack: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException @At("INVOKE") on net/minecraft/world/item/ItemStack::getItemDirect with priority 1000 cannot inject into net/minecraft/world/item/ItemStack::m_41619_()Z merged by com.abdelaziz.canary.mixin.item.ItemStackMixin with priority 1000 [PREINJECT Applicator Phase -> modernfix-common.mixins.json:bugfix.item_cache_flag.ItemStackMixin -> Prepare Injections ->  -> redirect$zzc000$getItemDirect(Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/Item; -> Prepare]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/world/item/ItemStack::getItemDirect with priority 1000 cannot inject into net/minecraft/world/item/ItemStack::m_41619_()Z merged by com.abdelaziz.canary.mixin.item.ItemStackMixin with priority 1000 [PREINJECT Applicator Phase -> modernfix-common.mixins.json:bugfix.item_cache_flag.ItemStackMixin -> Prepare Injections ->  -> redirect$zzc000$getItemDirect(Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/Item; -> Prepare]
	at org.spongepowered.asm.mixin.injection.code.Injector.findTargetNodes(Injector.java:305) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:240) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:421) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1319) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1042) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156) ~[modlauncher-9.1.3.jar%235!/:9.1.3+9.1.3+main.9b69c82a]
	at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:110) ~[securejarhandler-1.0.3.jar:?]
	at cpw.mods.cl.ModuleClassLoader.lambda$findClass$16(ModuleClassLoader.java:216) ~[securejarhandler-1.0.3.jar:?]
	at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:226) ~[securejarhandler-1.0.3.jar:?]
	at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:216) ~[securejarhandler-1.0.3.jar:?]
	at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:132) ~[securejarhandler-1.0.3.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
	at net.minecraft.core.cauldron.CauldronInteraction.m_175645_(CauldronInteraction.java:39) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.Util.m_137469_(Util.java:351) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.core.cauldron.CauldronInteraction.m_175617_(CauldronInteraction.java:39) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.core.cauldron.CauldronInteraction.<clinit>(CauldronInteraction.java:33) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.world.level.block.CauldronBlock.<init>(CauldronBlock.java:17) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.world.level.block.Blocks.<clinit>(Blocks.java:354) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.world.level.levelgen.carver.CarverDebugSettings.<clinit>(CarverDebugSettings.java:9) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.world.level.levelgen.carver.CarverConfiguration.m_190634_(CarverConfiguration.java:16) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at com.mojang.serialization.codecs.RecordCodecBuilder.mapCodec(RecordCodecBuilder.java:76) ~[datafixerupper-4.1.27.jar%2325!/:?]
	at net.minecraft.world.level.levelgen.carver.CarverConfiguration.<clinit>(CarverConfiguration.java:12) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.world.level.levelgen.carver.WorldCarver.<clinit>(WorldCarver.java:30) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.data.worldgen.Carvers.<clinit>(Carvers.java:19) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.data.BuiltinRegistries.m_206400_(BuiltinRegistries.java:45) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.data.BuiltinRegistries.m_206392_(BuiltinRegistries.java:101) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at java.util.LinkedHashMap.forEach(LinkedHashMap.java:721) ~[?:?]
	at net.minecraft.data.BuiltinRegistries.<clinit>(BuiltinRegistries.java:100) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.core.Registry.<clinit>(Registry.java:633) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:44) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at net.minecraft.server.Main.main(Main.java:109) ~[server-1.18.2-20220404.173914-srg.jar%23285!/:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:32) ~[fmlloader-1.18.2-40.2.0.jar%2317!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?]
Spoiler

 

 

Edited by Blurr0-0
Link to comment
Share on other sites

14 hours ago, Blurr0-0 said:
[10Aug2023 23:28:04.195] [main/ERROR] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Missing or unsupported mandatory dependencies:
	Mod ID: 'forge', Requested by: 'create', Expected range: '[40.2.4,)', Actual version: '40.2.0'
	Mod ID: 'forge', Requested by: 'cccbridge', Expected range: '[40.2.4,)', Actual version: '40.2.0'
Quote

[10Aug2023 23:28:11.285] [main/FATAL] [mixin/]: Mixin apply failed modernfix-common.mixins.json:bugfix.item_cache_flag.ItemStackMixin -> net.minecraft.world.item.ItemStack: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException @At("INVOKE") on net/minecraft/world/item/ItemStack::getItemDirect with priority 1000 cannot inject into net/minecraft/world/item/ItemStack::m_41619_()Z merged by com.abdelaziz.canary.mixin.item.ItemStackMixin with priority 1000 [PREINJECT Applicator Phase -> modernfix-common.mixins.json:bugfix.item_cache_flag.ItemStackMixin -> Prepare Injections -> -> redirect$zzc000$getItemDirect(Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/Item; -> Prepare] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/world/item/ItemStack::getItemDirect with priority 1000 cannot inject into net/minecraft/world/item/ItemStack::m_41619_()Z merged by com.abdelaziz.canary.mixin.item.ItemStackMixin with priority 1000 [PREINJECT Applicator Phase -> modernfix-common.mixins.json:bugfix.item_cache_flag.ItemStackMixin -> Prepare Injections -> -> redirect$zzc000$getItemDirect(Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/Item; -> Prepare] at org.spongepowered.asm.mixin.injection.code.Injector.findTargetNodes(Injector.java:305) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]

First errors look like you are using mods that want a newer version of forge.

Second errors looks like you have mods that are conflicting, trying to modify the same code or something.

That's all I can guess, as the log does not look complete so there could be other stuff below that is missing.

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.