Jump to content

Не запусккается зборка


Recommended Posts

---- Отчет о крушении Minecraft ----
// Кто нас создал TNT?

Время: 27.03.2023, 15:30
Описание: Инициализация игры

java.lang.IllegalAccessError: класс net.minecraft.client.Options попытался получить доступ к закрытому полю net.minecraft.client.Minecraft.f_91036_ (net.minecraft.client.Options и net.minecraft.client.Minecraft находятся в модуле minecraft@1.18.2 загрузчика 'TRANSFORMER' @5dcd0cdf)
по адресу net.minecraft.client.Options.handler$zzp000$init_inject(Options.java:2883) ~[client-1.18.2-20220404.173914-srg.jar%23143!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:unionlib.mixins.json:client. OptionsMixin,pl:mixin:A}
at net.minecraft.client.Options.m_92145_(Options.java) ~[client-1.18.2-20220404.173914-srg.jar%23143!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:unionlib.mixins.json:client. OptionsMixin,pl:mixin:A}
at net.minecraft.client.Minecraft.<init>(Minecraft.java:461) ~[client-1.18.2-20220404.173914-srg.jar%23143!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:169) ~[client-1.18.2-20220404.173914-srg.jar%23143!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Собственный метод) ~[?:?] {}
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) ~[?:?] {}
по адресу net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.2.1.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!/:?] {}
по адресу cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?] {}
по адресу 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:?] {}


Подробное пошаговое руководство по ошибке, пути к ее коду и все известные сведения выглядит следующим образом:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
at net.minecraft.client.Options.handler$zzp000$init_inject(Options.java:2883) ~[client-1.18.2-20220404.173914-srg.jar%23143!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:unionlib.mixins.json:client. OptionsMixin,pl:mixin:A}
at net.minecraft.client.Options.m_92145_(Options.java) ~[client-1.18.2-20220404.173914-srg.jar%23143!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:unionlib.mixins.json:client. OptionsMixin,pl:mixin:A}
at net.minecraft.client.Minecraft.<init>(Minecraft.java:461) ~[client-1.18.2-20220404.173914-srg.jar%23143!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
--Инициализация--

Link to comment
Share on other sites

Try removing Optifine. It is usually the culprit of most rendering-related problems. 

Паспрабуйце выдаліць Optifine. Звычайна гэта з'яўляецца прычынай большасці праблем, звязаных з візуалізацыяй.

I'm not good at modding, but at least I can read a crash report (well enough). That's something, right?

Link to comment
Share on other sites

Не сработало удалить OptiFine. проблема связана с рендерингом?

Клиенту удалось запустится после удаления четверти модов, проблема связана с несовместимости каких-то модов, сейчас пробую найти

проблема заключалась в двух модах: AmbientSound5 и Quark

а теперь и из-за оптифайна крашит, а оптифайн нужен, что делать?)

Так же запуску оптифайн мешал мод Valhelsia core

 

Quote

It didn't work to uninstall OptiFine. Is the problem related to rendering? The client managed to start after removing a quarter of the mods, the problem is related to the incompatibility of some mods, now I'm trying to find the problem was in two mods: AmbientSound5 and Quark and now it crashes because of Optifine, but Optifine is needed, what should I do?) The Valhelsia core mod also interfered with the launch of Optifine

 

Link to comment
Share on other sites

1) Use English on these Forums

2) Remove Optifine, even if you think you need it, you don't.

3) When you remove mods, provide new log files so we can see the issues.

4) Don't spam bump your posts.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi, i want to add an item to player's inventory when specific event is fired, but i don't know how to do that
    • Try searching for the Shapeless Recipe in your workspace program's external libraries, which should have been downloaded along with the assets when you set up gradle for Forge. Looking at that file will show you how Minecraft sets it up and you can tinker with it in a custom file of your own from there. Additionally, take a look at how the crafting table handles the matching up of ingredients for shapeless recipes. You can also look at my two-slot fuel free furnace type that uses shapeless recipes. I did exactly as described above to design my custom recipe class and then built my entity class. https://github.com/toadie-odie/TodeCoins/blob/1.3.2/src/main/java/net/warrentode/todecoins/recipe/CoinPressRecipe.java https://github.com/toadie-odie/TodeCoins/blob/1.3.2/src/main/java/net/warrentode/todecoins/block/entity/CoinPressBlockEntity.java An alternative recipe check method can be looked at here:  https://github.com/toadie-odie/TodeVillagers/blob/master_03/src/main/java/net/warrentode/todevillagers/blocks/entity/GlassKilnBlockEntity.java I think maybe that the Glass Kiln one would be easier for you starting out, it was for me. In your case the points of interest are at lines 164 and 215.
    • I copied the Totem of Undying event for my coin charm, and as you can see in line 113 it has the method removeAllEffects in there, so if you're building a similar event, simply don't add the method to prevent it from removing effects. https://github.com/toadie-odie/TodeCoins/blob/1.3.2/src/main/java/net/warrentode/todecoins/event/ModEvents.java
    • Okay I got on the discord server and followed there steps and got it to start working, however the log is constantly being filled with this error code. It is creating additional copies of the config file, up to 5 copies.
    • I would like to force the pose of a living entity to a standing position (i.e. Pose.STANDING) when it is riding a certain vehicle. I have tried to call Entity#setPose every tick via LivingTickEvent, but the living entity remains in a sitting position. Here is my code: // I made it a low-priority event because I was wondering if the code should be executed at the end of each tick. @SubscribeEvent(priority = EventPriority.LOWEST) public static void livingTickEvent(LivingEvent.LivingTickEvent event) { LivingEntity livingEntity = event.getEntity(); if (!livingEntity.level.isClientSide && livingEntity.getVehicle() instanceof TheVehicle) { livingEntity.setPose(Pose.STANDING); } }   By the way, I am aware there is a setForcedPose method, but it's only for the Player class.
  • Topics

×
×
  • Create New...

Important Information

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