Jump to content

Better foilage causing crash but i don't know why


Duran

Recommended Posts

Log:

[05Feb2022 23:49:21.069] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, DuranMC, --version, 1.16.5-forge-36.2.26, --gameDir, C:\Users\Administrator\AppData\Roaming\.minecraft, --assetsDir, C:\Users\Administrator\AppData\Roaming\.minecraft\assets, --assetIndex, 1.16, --uuid, 592a17050bf34796a6e06d019e2fcc6e, --accessToken, ????????, --userType, msa, --versionType, release, --width, 1366, --height, 768, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.26, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550]
[05Feb2022 23:49:21.073] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 1.8.0_51 by Oracle Corporation
[05Feb2022 23:49:21.093] [main/WARN] [cpw.mods.modlauncher.SecureJarHandler/]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED
[05Feb2022 23:49:21.459] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[05Feb2022 23:49:21.494] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/Administrator/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=CLIENT
[05Feb2022 23:49:23.631] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [vazkii.patchouli.common.MixinConnector]
[05Feb2022 23:49:23.633] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [mods.betterfoliage.MixinConnector]
[05Feb2022 23:49:23.639] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.16.5-forge-36.2.26, --gameDir, C:\Users\Administrator\AppData\Roaming\.minecraft, --assetsDir, C:\Users\Administrator\AppData\Roaming\.minecraft\assets, --uuid, 592a17050bf34796a6e06d019e2fcc6e, --username, DuranMC, --assetIndex, 1.16, --accessToken, ????????, --userType, msa, --versionType, release, --width, 1366, --height, 768]
[05Feb2022 23:49:23.662] [main/INFO] [Sodium/]: Loaded configuration file for Sodium: 24 options available, 0 override(s) found
[05Feb2022 23:49:26.489] [pool-3-thread-1/FATAL] [mixin/]: Mixin apply failed betterfoliage.common.mixins.json:MixinClientWorld -> net.minecraft.client.world.ClientWorld: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException @At("INVOKE") on net/minecraft/client/world/ClientWorld::onAnimateTick with priority 1000 cannot inject into net/minecraft/client/world/ClientWorld::func_184153_a(IIIILjava/util/Random;ZLnet/minecraft/util/math/BlockPos$Mutable;)V merged by me.jellysquid.mods.sodium.mixin.features.world_ticking.MixinClientWorld with priority 1000 [PREINJECT Applicator Phase -> betterfoliage.common.mixins.json:MixinClientWorld -> Prepare Injections ->  -> handler$zhd000$onAnimateTick(IIIILjava/util/Random;ZLnet/minecraft/util/math/BlockPos$Mutable;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/client/world/ClientWorld::onAnimateTick with priority 1000 cannot inject into net/minecraft/client/world/ClientWorld::func_184153_a(IIIILjava/util/Random;ZLnet/minecraft/util/math/BlockPos$Mutable;)V merged by me.jellysquid.mods.sodium.mixin.features.world_ticking.MixinClientWorld with priority 1000 [PREINJECT Applicator Phase -> betterfoliage.common.mixins.json:MixinClientWorld -> Prepare Injections ->  -> handler$zhd000$onAnimateTick(IIIILjava/util/Random;ZLnet/minecraft/util/math/BlockPos$Mutable;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare]
    at org.spongepowered.asm.mixin.injection.code.Injector.findTargetNodes(Injector.java:305) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]
    at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:240) ~[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.1.3.jar:8.1.3+8.1.3+main-8.1.x.c94d18ec]
    at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) [modlauncher-8.1.3.jar:?]
    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) [modlauncher-8.1.3.jar:?]
    at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) [modlauncher-8.1.3.jar:?]
    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) [modlauncher-8.1.3.jar:?]
    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [modlauncher-8.1.3.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_51]
    at me.jellysquid.mods.sodium.client.gui.options.storage.MinecraftOptionsStorage.<init>(MinecraftOptionsStorage.java:13) [?:1.5]
    at net.minecraft.block.LeavesBlock.<clinit>(LeavesBlock.java:24) [?:?]
    at net.minecraft.block.Blocks.func_235433_b_(Blocks.java:911) [?:?]
    at net.minecraft.block.Blocks.<clinit>(Blocks.java:91) [?:?]
    at net.minecraft.world.gen.surfacebuilders.SurfaceBuilder.<clinit>(SurfaceBuilder.java:12) [?:?]
    at net.minecraft.world.gen.surfacebuilders.ConfiguredSurfaceBuilders.<clinit>(SourceFile:11) [?:?]
    at net.minecraft.util.registry.WorldGenRegistries.func_243674_g(WorldGenRegistries.java:33) [?:?]
    at net.minecraft.util.registry.WorldGenRegistries$$Lambda$668/885765319.get(Unknown Source) [?:?]
    at net.minecraft.util.registry.WorldGenRegistries.func_243668_a(WorldGenRegistries.java:89) [?:?]
    at net.minecraft.util.registry.WorldGenRegistries$$Lambda$676/1460628567.accept(Unknown Source) [?:?]
    at java.util.LinkedHashMap.forEach(LinkedHashMap.java:676) [?:1.8.0_51]
    at net.minecraft.util.registry.WorldGenRegistries.<clinit>(WorldGenRegistries.java:88) [?:?]
    at net.minecraft.util.registry.Registry.<clinit>(Registry.java:464) [?:?]
    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$617/1026134931.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]
[05Feb2022 23:49:26.544] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.Launcher.run(Launcher.java:82)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: java.lang.reflect.InvocationTargetException
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at java.lang.reflect.Method.invoke(Method.java:497)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$507/268490061.call(Unknown Source)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[05Feb2022 23:49:26.545] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     ... 4 more
[05Feb2022 23:49:26.546] [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
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at net.minecraftforge.fml.loading.BackgroundWaiter.runAndTick(BackgroundWaiter.java:43)
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at net.minecraft.client.main.Main.main(Main.java:123)
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     ... 11 more
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]: Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250)
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131)
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131)
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154)
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85)
[05Feb2022 23:49:26.546] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at me.jellysquid.mods.sodium.client.gui.options.storage.MinecraftOptionsStorage.<init>(MinecraftOptionsStorage.java:13)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.block.LeavesBlock.<clinit>(LeavesBlock.java:24)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.block.Blocks.func_235433_b_(Blocks.java:911)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.block.Blocks.<clinit>(Blocks.java:91)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.world.gen.surfacebuilders.SurfaceBuilder.<clinit>(SurfaceBuilder.java:12)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.world.gen.surfacebuilders.ConfiguredSurfaceBuilders.<clinit>(SourceFile:11)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.util.registry.WorldGenRegistries.func_243674_g(WorldGenRegistries.java:33)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.util.registry.WorldGenRegistries$$Lambda$668/885765319.get(Unknown Source)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.util.registry.WorldGenRegistries.func_243668_a(WorldGenRegistries.java:89)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.util.registry.WorldGenRegistries$$Lambda$676/1460628567.accept(Unknown Source)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at java.util.LinkedHashMap.forEach(LinkedHashMap.java:676)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.util.registry.WorldGenRegistries.<clinit>(WorldGenRegistries.java:88)
[05Feb2022 23:49:26.547] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.util.registry.Registry.<clinit>(Registry.java:464)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.util.registry.Bootstrap.func_151354_b(Bootstrap.java:38)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.client.main.Main.lambda$main$0(Main.java:123)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at net.minecraft.client.main.Main$$Lambda$617/1026134931.run(Unknown Source)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:667]:     at java.lang.Thread.run(Thread.java:745)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [betterfoliage.common.mixins.json:MixinClientWorld] from phase [DEFAULT] in config [betterfoliage.common.mixins.json] FAILED during APPLY
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:636)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:588)
[05Feb2022 23:49:26.548] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:379)
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     ... 31 more
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]: Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/client/world/ClientWorld::onAnimateTick with priority 1000 cannot inject into net/minecraft/client/world/ClientWorld::func_184153_a(IIIILjava/util/Random;ZLnet/minecraft/util/math/BlockPos$Mutable;)V merged by me.jellysquid.mods.sodium.mixin.features.world_ticking.MixinClientWorld with priority 1000 [PREINJECT Applicator Phase -> betterfoliage.common.mixins.json:MixinClientWorld -> Prepare Injections ->  -> handler$zhd000$onAnimateTick(IIIILjava/util/Random;ZLnet/minecraft/util/math/BlockPos$Mutable;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare]
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.injection.code.Injector.findTargetNodes(Injector.java:305)
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:240)
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:421)
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1319)
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1042)
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393)
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325)
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383)
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365)
[05Feb2022 23:49:26.549] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
[05Feb2022 23:49:26.550] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:709]:     ... 31 more
 

 

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I have a problem, I am trying to put two different effects to two different armors but when I run it only the emerald armor effect works. This is the code public class ModArmorItem extends ArmorItem{ private static final Map<ArmorMaterial, MobEffectInstance> MATERIAL_TO_EFFECT_MAP = (new ImmutableMap.Builder<ArmorMaterial, MobEffectInstance>()) .put(ModArmorMaterials.EMERALD, new MobEffectInstance(MobEffects.HERO_OF_THE_VILLAGE,200, 1,false,false, true)) .put(ModArmorMaterials.OBSIDIAN, new MobEffectInstance(MobEffects.FIRE_RESISTANCE,200, 1,false,false, true)).build(); public ModArmorItem(ArmorMaterial pMaterial, Type pType, Properties pProperties) { super(pMaterial, pType, pProperties); } @Override public void onArmorTick(ItemStack stack, Level world, Player player){ if (!world.isClientSide()) { if (hasFullSuitOfArmorOn(player)) { evaluateArmorEffects(player); } } } private void evaluateArmorEffects(Player player) { for (Map.Entry<ArmorMaterial,MobEffectInstance> entry : MATERIAL_TO_EFFECT_MAP.entrySet()){ ArmorMaterial mapArmorMaterial = entry.getKey(); MobEffectInstance mapStatusEffect = entry.getValue(); if (hasCorrectArmorOn(mapArmorMaterial, player)) { addStatusEffectForMaterial(player, mapArmorMaterial, mapStatusEffect); } } } private void addStatusEffectForMaterial(Player player, ArmorMaterial mapArmorMaterial, MobEffectInstance mapStatusEffect) { boolean hasPlayerEffect = player.hasEffect(mapStatusEffect.getEffect()); if (hasCorrectArmorOn(mapArmorMaterial, player) && !hasPlayerEffect) { player.addEffect(new MobEffectInstance(mapStatusEffect)); } } private boolean hasCorrectArmorOn(ArmorMaterial material, Player player) { for (ItemStack armorStack : player.getInventory().armor){ if (!(armorStack.getItem() instanceof ArmorItem)) { return false; } } ArmorItem helmet = ((ArmorItem)player.getInventory().getArmor(3).getItem()); ArmorItem breastplace = ((ArmorItem)player.getInventory().getArmor(2).getItem()); ArmorItem leggins = ((ArmorItem)player.getInventory().getArmor(1).getItem()); ArmorItem boots = ((ArmorItem)player.getInventory().getArmor(0).getItem()); return helmet.getMaterial() == material && breastplace.getMaterial() == material && leggins.getMaterial() == material && boots.getMaterial() == material; } private boolean hasFullSuitOfArmorOn(Player player){ ItemStack helmet = player.getInventory().getArmor(3); ItemStack breastplace = player.getInventory().getArmor(2); ItemStack leggins = player.getInventory().getArmor(1); ItemStack boots = player.getInventory().getArmor(0); return !helmet.isEmpty() && !breastplace.isEmpty() && !leggins.isEmpty() && !boots.isEmpty(); } } Also when I place two effects on the same armor, the game crashes. Here is the crash file. The code is the same, only this part is different   private static final Map<ArmorMaterial, MobEffectInstance> MATERIAL_TO_EFFECT_MAP = (new ImmutableMap.Builder<ArmorMaterial, MobEffectInstance>()) .put(ModArmorMaterials.EMERALD, new MobEffectInstance(MobEffects.HERO_OF_THE_VILLAGE,200, 1,false,false, true)) .put(ModArmorMaterials.EMERALD, new MobEffectInstance(MobEffects.FIRE_RESISTANCE,200, 1,false,false, true)).build(); I hope you guys can help me. Thanks.
    • I removed all related embeddium and oculus mods, i just tested it by disconnecting and the error happened again. heres the report https://pastebin.com/1kcR5wAt   EDIT: i tried removing xaeros and also smoothboot thinking there may be an issue there, nothing, heres that report too. https://pastebin.com/zQS7i9rM
    • Hi, I need suggestions. I am a beginner in Minecraft Modding. I would like to apply custom effects to some armors, something like: more chance to drop seeds, change zombie awareness, drop more pieces of wood when chopping logs, and things like that. How would you recommend me to do it, is there any library that has something similar and which ones would you recommend me?.
    • "downloading minecraft server failed, invalid Checksum. try again, or manually place server.jar to skip download"    
    • You have to create an Entity class called PlayerPart and use multiple of them to make the different parts of the player. See EnderDragonPart.java source code. The green hitboxes of the dragon are all EnderDragonParts
  • Topics

×
×
  • Create New...

Important Information

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