repletsin5 / VanillaIcecreamFix

Other
1 stars 0 forks source link

The optimization of the anvil in this module will conflict with other mods. #17

Closed Xing-C closed 1 year ago

Xing-C commented 1 year ago

debuglog:

[0711��2023 07:02:48.732] [pool-4-thread-1/DEBUG] [mixin/]: Mixing MixinAnvilMenu from propertymodifier.mixins.json into net.minecraft.world.inventory.AnvilMenu
[0711��2023 07:02:48.732] [pool-4-thread-1/DEBUG] [mixin/]: Mixing AnvilMenuMixin from ae2.mixins.json into net.minecraft.world.inventory.AnvilMenu
[0711��2023 07:02:48.733] [pool-4-thread-1/DEBUG] [mixin/]: ae2.mixins.json:AnvilMenuMixin: Class version 61 required is higher than the class version supported by the current version of Mixin (JAVA_11 supports class version 55)
[0711��2023 07:02:48.733] [pool-4-thread-1/DEBUG] [mixin/]: Mixing MixinAnvilMenu from mixins.ipnext.json into net.minecraft.world.inventory.AnvilMenu
[0711��2023 07:02:48.734] [pool-4-thread-1/DEBUG] [mixin/]: Mixing AnvilScreenHandlerMixin from vanillafix.other.mixins.json into net.minecraft.world.inventory.AnvilMenu
[0711��2023 07:02:48.747] [pool-4-thread-1/FATAL] [mixin/]: Mixin apply failed propertymodifier.mixins.json:MixinAnvilMenu -> net.minecraft.world.inventory.AnvilMenu: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException @At("INVOKE") on net/minecraft/world/inventory/AnvilMenu::mixinIsValidRepairItem with priority 1000 cannot inject into net/minecraft/world/inventory/AnvilMenu::m_6640_()V merged by me.replet.client.other.AnvilScreenHandlerMixin with priority 1001 [PREINJECT Applicator Phase -> propertymodifier.mixins.json:MixinAnvilMenu -> Prepare Injections ->  -> wrapOperation$zod000$mixinIsValidRepairItem(Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;Lcom/llamalad7/mixinextras/injector/wrapoperation/Operation;)Z -> Prepare]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/world/inventory/AnvilMenu::mixinIsValidRepairItem with priority 1000 cannot inject into net/minecraft/world/inventory/AnvilMenu::m_6640_()V merged by me.replet.client.other.AnvilScreenHandlerMixin with priority 1001 [PREINJECT Applicator Phase -> propertymodifier.mixins.json:MixinAnvilMenu -> Prepare Injections ->  -> wrapOperation$zod000$mixinIsValidRepairItem(Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;Lcom/llamalad7/mixinextras/injector/wrapoperation/Operation;)Z -> Prepare]
    at org.spongepowered.asm.mixin.injection.code.Injector.findTargetNodes(Injector.java:305) ~[mixin-0.8.5.jar%23152!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:240) ~[mixin-0.8.5.jar%23152!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:421) ~[mixin-0.8.5.jar%23152!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at com.llamalad7.mixinextras.injector.wrapoperation.WrapOperationInjectionInfo.prepare(WrapOperationInjectionInfo.java:40) ~[MixinExtras-0.2.1-beta.2.jar%23671!/:?]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1319) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1042) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
    at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156) ~[modlauncher-10.0.9.jar:10.0.9+10.0.9+main.dcd20f30]
    at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.9.jar:?]
    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.9.jar:?]
    at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar:?]
    at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.10.jar:?]
    at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.10.jar:?]
    at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.10.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
    at net.minecraft.world.level.block.Blocks.<clinit>(Blocks.java:505) ~[client-1.20.1-20230612.114412-srg.jar%23582!/:?]
    at net.minecraft.world.level.block.FireBlock.m_53484_(FireBlock.java:301) ~[client-1.20.1-20230612.114412-srg.jar%23582!/:?]
    at net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:46) ~[client-1.20.1-20230612.114412-srg.jar%23582!/:?]
    at net.minecraft.client.main.Main.lambda$main$0(Main.java:151) ~[client-1.20.1-20230612.114412-srg.jar%23582!/:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]

NeoForge 1.20.1 And, I've solved the problem.

forge\src\main\java\me\replet\client\other\AnvilLevelMaxMixin.java

- @Mixin(net.minecraft.client.gui.screen.ingame.AnvilScreen.class)
+ @Mixin(value = net.minecraft.client.gui.screen.ingame.AnvilScreen.class, priority = 900 )
forge\src\main\java\me\replet\client\other\AnvilScreenHandlerMixin.java

- @Mixin(AnvilScreenHandler.class)
+ @Mixin(value = AnvilScreenHandler.class, priority = 900 )
repletsin5 commented 1 year ago

Thank you for this but im aware. ive responded back in #10