MC百科社群

标题: 1.12.2加了JEI,一按E就崩溃 [打印本页]

作者: QQ酱981479    时间: 2025-1-18 17:06
标题: 1.12.2加了JEI,一按E就崩溃
本帖最后由 QQ酱981479 于 2025-1-19 20:40 编辑

mdk版本1.12.2-14.23.5.2860,JEI版本4.14.3.238
crash-2025-01-18_12.04.46-client.txt (10.92 KB, 下载次数: 2)

PS:其他版本JEI甚至会Could not find method(deobfCompile,deobfProvided都不行,用compileOnly fg.deobf会在差不多加载完的时候崩溃QAQ); 以及mapping那里我留着原来的mappings channel: 'snapshot', version: '20171003-1.12'没改,这个有影响嘛
作者: QQ酱558632    时间: 2025-1-19 18:16
把jei升版本到jei_1.12.2-4.15.0.268.jar这个版本试试?
作者: QQ酱981479    时间: 2025-1-19 19:32
QQ酱558632 发表于 2025-1-19 18:16
把jei升版本到jei_1.12.2-4.15.0.268.jar这个版本试试?

连maven库老抽风,然后换了compileOnly(files("./libs/jei_1.12.2-4.15.0.268.jar"));runtimeOnly(files("./libs/jei_1.12.2-4.15.0.268.jar")),结果甚至启动都启动不起来,出现了两个报错:net.minecraft.util.ReportedException: Registering texture,java.lang.IllegalAccessError: tried to access method net.minecraft.client.renderer.texture.TextureMap.initMissingImage()V from class mezz.jei.gui.textures.JeiTextureMap
作者: QQ酱981479    时间: 2025-1-19 19:40
QQ酱981479 发表于 2025-1-19 19:32
连maven库老抽风,然后换了compileOnly(files("./libs/jei_1.12.2-4.15.0.268.jar"));runtimeOnly(files ...

[spoiler=错误报告]
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Just Enough Items (jei)
Caused by: net.minecraft.util.ReportedException: Registering texture
        at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:95)
        at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:52)
Caused by: net.minecraft.util.ReportedException: Registering texture

        at mezz.jei.startup.ProxyCommonClient.init(ProxyCommonClient.java:114)
        at mezz.jei.JustEnoughItems.init(JustEnoughItems.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:639)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
        at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
        at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
        at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
        at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
        at com.google.common.eventbus.EventBus.post(EventBus.java:217)
        at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
        at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
        at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
        at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
        at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
        at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
        at com.google.common.eventbus.EventBus.post(EventBus.java:217)
        at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
        at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:749)
        at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
        at net.minecraft.client.Minecraft.init(Minecraft.java:535)
        at net.minecraft.client.Minecraft.run(Minecraft.java:378)
        at net.minecraft.client.main.Main.main(Main.java:118)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at net.minecraftforge.legacydev.Main.start(Main.java:86)
        at net.minecraftforge.legacydev.MainClient.main(MainClient.java:29)
Caused by: java.lang.IllegalAccessError: tried to access method net.minecraft.client.renderer.texture.TextureMap.initMissingImage()V from class mezz.jei.gui.textures.JeiTextureMap
        at mezz.jei.gui.textures.JeiTextureMap.loadTexture(JeiTextureMap.java:43)
        at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:69)
        ... 50 more
Caused by: java.lang.IllegalAccessError: tried to access method net.minecraft.client.renderer.texture.TextureMap.initMissingImage()V from class mezz.jei.gui.textures.JeiTextureMap
[/spoiler]




欢迎光临 MC百科社群 (https://bbs.mcmod.cn/) MC百科|最大的MineCraft中文模组百科