Приветствую читателей данной темы! Без лишней инфы сразу к проблеме:
Собрал сборку майна, хотел подключить на сервер Cardboard для поддержки плагинов. Без модов Cardboard запускается спокойно, но включив этот мод в сборку он перестает работать и выдает следующую ошибку (крашлог прикрепил ниже). Не совсем понял как исправить эту ошибку и заставить Cardboard работать в паре с модами из сборки. Буду рад любой помощи. Заранее, спасибо!Сам мод: https://modrinth.com/mod/cardboard
Крашлог:
---------------------------------------------------------------------------------------------------------------
Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.ExceptionInInitializerError
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:464)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23)
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69)
at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69)
Caused by: java.lang.ExceptionInInitializerError
at net.minecraft.class_1802.(class_1802.java:21)
at net.mehvahdjukaar.moonlight.api.fluids.FoodProvider.(FoodProvider.java:33)
at net.mehvahdjukaar.moonlight.api.fluids.SoftFluid$Builder.(SoftFluid.java:244)
at net.mehvahdjukaar.moonlight.api.fluids.fabric.SoftFluidRegistryImpl.getDefaultValue(SoftFluidRegistryImpl.java:81)
at net.minecraft.class_5458.method_44104(class_5458.java:98)
at net.minecraft.class_5458.method_30566(class_5458.java:105)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
at net.minecraft.class_5458.(class_5458.java:104)
at net.minecraft.class_2378.(class_2378.java:326)
at net.minecraft.class_2966.method_12851(class_2966.java:50)
at net.minecraft.server.Main.main(Main.java:98)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:462)
... 4 more
Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_1718 failed
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:427)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at net.minecraft.class_2246.(class_2246.java:388)
... 16 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422)
... 21 more
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [musuen.mixins.json:DemonicEnchantingTableLogicMixin$DemonicEnchantmentScreenHandler from mod musuen] from phase [DEFAULT] in config [musuen.mixins.json] FAILED during APPLY
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:638)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:589)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:379)
... 24 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/class_1718::takeHealthFromNearbyEntities with priority 1000 cannot inject into net/minecraft/class_1718::method_7604(Lnet/minecraft/class_1657;I)Z merged by org.cardboardpowered.mixin.screen.MixinEnchantmentScreenHandler with priority 1000 [PREINJECT Applicator Phase -> musuen.mixins.json:DemonicEnchantingTableLogicMixin$DemonicEnchantmentScreenHandler from mod musuen -> Prepare Injections -> -> handler$fhj000$musuen$takeHealthFromNearbyEntities(Lnet/minecraft/class_1657;ILorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V -> Prepare]
at org.spongepowered.asm.mixin.injection.code.Injector.findTargetNodes(Injector.java:305)
at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:240)
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:421)
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1338)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1053)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:327)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
... 24 more
Надеюсь, только у меня текст темы поехали куда-то
В общем на всякий залью крашлог на гугл диск.
Суть: заставить Cardboard работать со сборкой модов
https://drive.google.com/file/d/1TZzVRPS3BXTk-tO3U4l8pYMo7K7q709h/view?usp=shari
ng
Сообщение отредактировал 3 мая 2023 - 16:14