Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.15] Config Behaviour


Villfuk02
 Share

Recommended Posts

there's a config file in the config folder and another one gets generated in the serverconfig folder of a save, but it has only default values

I thought maybe the values from the global config file are supposed to be in the serverconfig too, because the game is using values from the serverconfig, and why even have the global config if that wasn't the case?

 

Main:

Config.loadConfig(FMLPaths.CONFIGDIR.get().resolve("qrystal.toml").toString()); 

ModLoadingContext.get().registerConfig(ModConfig.Type.SERVER, Config.config1, "qrystal.toml");

Config.loadConfig:

public static void loadConfig(String path) { 
final CommentedFileConfig file = CommentedFileConfig.builder(new File(path)).sync().autosave().writingMode(WritingMode.REPLACE).build();
file.load(); 
config1.setConfig(file); 
}

 

how do I make the game use the values from the global config?

Am I misunderstanding how this works?

Link to comment
Share on other sites

  • Thanks 1

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

17 hours ago, Villfuk02 said:

Great tutorial, however, I have a couple of questions:
What is the specPair thing about?

It just lets the method return both the spec and your configured instance. You need the spec for registration & baking checks later and you need the instance for getting/setting values.

17 hours ago, Villfuk02 said:

Is there any difference between CLIENT and SERVER configs in terms of setup?

If by “setup” you mean “registration”, no. Server config is synced to the client so it needs to be registered on both sides. It is good practice to only register your client config on the client distribution but unless you interact with client-only code in your config (which is unlikely) it’s not necessary.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

14 hours ago, Villfuk02 said:

Is there a way to store a string array or multiline string?

Use ForgeConfigSpec#defineList. It returns a List<String>.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

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.

Guest
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.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • [25Oct2021 17:15:12.586] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, MarioBros__, --version, 1.16.5-forge-36.2.8, --gameDir, C:\Users\Jonny\AppData\Roaming\.minecraft, --assetsDir, C:\Users\Jonny\AppData\Roaming\.minecraft\assets, --assetIndex, 1.16, --uuid, 3fdef5666031477981d4e1e6076684ff, --accessToken, ????????, --userType, msa, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.8, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550] [25Oct2021 17:15:12.590] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_51 by Oracle Corporation [25Oct2021 17:15:12.603] [main/WARN] [cpw.mods.modlauncher.SecureJarHandler/]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED [25Oct2021 17:15:12.858] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [25Oct2021 17:15:12.897] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/Jonny/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=CLIENT [25Oct2021 17:15:14.403] [main/INFO] [STDERR/]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 1:0 token recognition error at: '~' [25Oct2021 17:15:14.988] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com.qouteall.hiding_in_the_bushes.MyMixinConnector] [25Oct2021 17:15:14.996] [main/INFO] [Portal/]: Invoking Mixin Connector [25Oct2021 17:15:15.002] [main/ERROR] [mixin/]: Mixin config imm_ptl_mixins.json does not specify "minVersion" property [25Oct2021 17:15:15.003] [main/ERROR] [mixin/]: Mixin config imm_ptl_mixins_forge.json does not specify "minVersion" property [25Oct2021 17:15:15.005] [main/ERROR] [mixin/]: Mixin config imm_ptl_peripheral_mixins.json does not specify "minVersion" property [25Oct2021 17:15:15.008] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.16.5-forge-36.2.8, --gameDir, C:\Users\Jonny\AppData\Roaming\.minecraft, --assetsDir, C:\Users\Jonny\AppData\Roaming\.minecraft\assets, --uuid, 3fdef5666031477981d4e1e6076684ff, --username, MarioBros__, --assetIndex, 1.16, --accessToken, ????????, --userType, msa, --versionType, release] [25Oct2021 17:15:15.022] [main/WARN] [mixin/]: Reference map 'createdeco.refmap.json' for createdeco.mixins.json could not be read. If this is a development environment you can ignore this message [25Oct2021 17:15:15.025] [main/WARN] [mixin/]: Reference map 'hackforge.refmap.json' for creategears.mixins.json could not be read. If this is a development environment you can ignore this message [25Oct2021 17:15:16.809] [pool-3-thread-1/FATAL] [mixin/]: Mixin apply failed imm_ptl_peripheral_mixins.json:common.altius_world.MixinChunkStatus -> net.minecraft.world.chunk.ChunkStatus: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException 'static' modifier of handler method does not match target in net/minecraft/world/chunk/ChunkStatus::redirectBuildSurface [PREINJECT Applicator Phase -> imm_ptl_peripheral_mixins.json:common.altius_world.MixinChunkStatus -> Prepare Injections -> -> handler$zia000$redirectBuildSurface(Lnet/minecraft/world/server/ServerWorld;Lnet/minecraft/world/gen/ChunkGenerator;Ljava/util/List;Lnet/minecraft/world/chunk/IChunk;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: 'static' modifier of handler method does not match target in net/minecraft/world/chunk/ChunkStatus::redirectBuildSurface [PREINJECT Applicator Phase -> imm_ptl_peripheral_mixins.json:common.altius_world.MixinChunkStatus -> Prepare Injections -> -> handler$zia000$redirectBuildSurface(Lnet/minecraft/world/server/ServerWorld;Lnet/minecraft/world/gen/ChunkGenerator;Ljava/util/List;Lnet/minecraft/world/chunk/IChunk;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare] at org.spongepowered.asm.mixin.injection.code.Injector.checkTargetModifiers(Injector.java:347) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.sanityCheck(CallbackInjector.java:387) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:237) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:421) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1319) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1042) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154) [modlauncher-8.0.9.jar:8.0.9+86+master.3cf110c] at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [modlauncher-8.0.9.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_51] at net.minecraftforge.registries.GameData.init(GameData.java:177) [?:?] at net.minecraftforge.registries.GameData.<clinit>(GameData.java:132) [?:?] at net.minecraft.util.registry.Registry.forge(Registry.java:347) [?:?] at net.minecraft.util.registry.Registry.forge(Registry.java:331) [?:?] at net.minecraft.util.registry.Registry.<clinit>(Registry.java:140) [?:?] at net.minecraft.util.registry.Bootstrap.func_151354_b(Bootstrap.java:38) [?:?] at net.minecraft.client.main.Main.lambda$main$0(Main.java:123) [?:?] at net.minecraft.client.main.Main$$Lambda$596/2047799833.run(Unknown Source) [?:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_51] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] [25Oct2021 17:15:16.825] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException [25Oct2021 17:15:16.826] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39) [25Oct2021 17:15:16.826] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [25Oct2021 17:15:16.826] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [25Oct2021 17:15:16.826] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [25Oct2021 17:15:16.826] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [25Oct2021 17:15:16.826] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: java.lang.reflect.InvocationTargetException [25Oct2021 17:15:16.826] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [25Oct2021 17:15:16.827] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [25Oct2021 17:15:16.827] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [25Oct2021 17:15:16.827] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.reflect.Method.invoke(Method.java:497) [25Oct2021 17:15:16.827] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [25Oct2021 17:15:16.827] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$493/2086945474.call(Unknown Source) [25Oct2021 17:15:16.827] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [25Oct2021 17:15:16.827] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: ... 4 more [25Oct2021 17:15:16.828] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]: Caused by: java.lang.RuntimeException: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered [25Oct2021 17:15:16.828] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]: at net.minecraftforge.fml.loading.BackgroundWaiter.runAndTick(BackgroundWaiter.java:43) [25Oct2021 17:15:16.828] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]: at net.minecraft.client.main.Main.main(Main.java:123) [25Oct2021 17:15:16.828] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]: ... 11 more [25Oct2021 17:15:16.828] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered [25Oct2021 17:15:16.828] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) [25Oct2021 17:15:16.829] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) [25Oct2021 17:15:16.829] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) [25Oct2021 17:15:16.829] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) [25Oct2021 17:15:16.829] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154) [25Oct2021 17:15:16.829] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) [25Oct2021 17:15:16.830] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) [25Oct2021 17:15:16.830] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) [25Oct2021 17:15:16.830] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) [25Oct2021 17:15:16.830] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [25Oct2021 17:15:16.830] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [25Oct2021 17:15:16.830] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at net.minecraftforge.registries.GameData.init(GameData.java:177) [25Oct2021 17:15:16.830] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at net.minecraftforge.registries.GameData.<clinit>(GameData.java:132) [25Oct2021 17:15:16.831] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at net.minecraft.util.registry.Registry.forge(Registry.java:347) [25Oct2021 17:15:16.831] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at net.minecraft.util.registry.Registry.forge(Registry.java:331) [25Oct2021 17:15:16.831] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at net.minecraft.util.registry.Registry.<clinit>(Registry.java:140) [25Oct2021 17:15:16.831] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at net.minecraft.util.registry.Bootstrap.func_151354_b(Bootstrap.java:38) [25Oct2021 17:15:16.831] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at net.minecraft.client.main.Main.lambda$main$0(Main.java:123) [25Oct2021 17:15:16.831] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at net.minecraft.client.main.Main$$Lambda$596/2047799833.run(Unknown Source) [25Oct2021 17:15:16.831] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [25Oct2021 17:15:16.832] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at java.util.concurrent.FutureTask.run(FutureTask.java:266) [25Oct2021 17:15:16.832] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [25Oct2021 17:15:16.832] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [25Oct2021 17:15:16.832] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: at java.lang.Thread.run(Thread.java:745) [25Oct2021 17:15:16.832] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [imm_ptl_peripheral_mixins.json:common.altius_world.MixinChunkStatus] from phase [DEFAULT] in config [imm_ptl_peripheral_mixins.json] FAILED during APPLY [25Oct2021 17:15:16.834] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:636) [25Oct2021 17:15:16.834] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:588) [25Oct2021 17:15:16.834] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:379) [25Oct2021 17:15:16.834] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: ... 23 more [25Oct2021 17:15:16.835] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: 'static' modifier of handler method does not match target in net/minecraft/world/chunk/ChunkStatus::redirectBuildSurface [PREINJECT Applicator Phase -> imm_ptl_peripheral_mixins.json:common.altius_world.MixinChunkStatus -> Prepare Injections -> -> handler$zia000$redirectBuildSurface(Lnet/minecraft/world/server/ServerWorld;Lnet/minecraft/world/gen/ChunkGenerator;Ljava/util/List;Lnet/minecraft/world/chunk/IChunk;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare] [25Oct2021 17:15:16.835] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.injection.code.Injector.checkTargetModifiers(Injector.java:347) [25Oct2021 17:15:16.835] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.sanityCheck(CallbackInjector.java:387) [25Oct2021 17:15:16.835] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:237) [25Oct2021 17:15:16.835] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:421) [25Oct2021 17:15:16.835] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1319) [25Oct2021 17:15:16.836] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1042) [25Oct2021 17:15:16.836] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) [25Oct2021 17:15:16.836] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) [25Oct2021 17:15:16.836] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) [25Oct2021 17:15:16.836] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) [25Oct2021 17:15:16.836] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) [25Oct2021 17:15:16.836] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: ... 23 more  
    • Yes, post the debug log with empty mods folder. And please use the spoiler option of the editor or something like pastebin.
    • it still crashes after removing the fabric mod, wanna see the new log?  
    • I never said it was empty, i said it crashes if there is any mod in the folder
    • So your mods folder is not actually empty. You put a fabric mod there, which Forge will not load.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.