Résolu Problème NEI/code chicken core
-
@SCAREX Quand je l’ai écris je me suis demandé si le setupDecompWorkspace était vraiment utile mais je me suis dis que au pire ça ne changerai rien
-
le setupDecompWorkspace sert juste à décompiler la version de minecraft avec forge il faut donc le faire à chaque changement de version de forge mais le gradle eclipse ne fait qu’importer les fichiers et les mettre dans le classpath, c’est celui qui nous intéresse
-
Ok, c’est bon à savoir merci
-
AAAAh j’ai compris! Ton tuto rajoute juste NEI quand on lance son jeu de manière a avoir plus facile.
Moi j’aimerais bien développé le truc pour que quand je fasse r avec u des objets de ma machine ça affiche le craft et donc j’ai installé les truc au build path mais ça crashait…
Mais maintenant que j’ai installé ces trucs là, tu crois que ça fonctionnera? -
Maintenant que tu as NEI dans ton espace de dev, il doit sûrement y avoir une API ou des messages IMC à envoyer
-
@‘BrokenSwing’:
Maintenant que tu as NEI dans ton espace de dev, il doit sûrement y avoir une API ou des messages IMC à envoyer
Il y a une api dans le tuto que j’avais mis dans la description , il demande de télécharger CCC et nEI et de les ajoutés au build path puis apres c’est compliqué mais on peut fair les apparences. Mais ce qui se passait c’est que comme il est ecrit dans le crsh report, il faut aller dans le fichier codechicken/lib mais il n’existait pas par contre il était dans l’archive CCL donc je l’ai déplacé dedans mais ca mettait un nouveau crash que j’ai aussi pubié et la j’ai pas testé avec l’environement si ca marchait a ton avis ca va le faire?
Le crash enjendré par la dernier solution:[16:48:19] [main/INFO] [GradleStart]: Extra: [] [16:48:19] [main/INFO] [GradleStart]: Found and added coremod: codechicken.nei.asm.NEICorePlugin [16:48:19] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/antoine/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [16:48:19] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:48:19] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:48:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [16:48:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [16:48:19] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading [16:48:19] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91 [16:48:19] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [16:48:19] [main/INFO] [FML]: Found a command line coremod : codechicken.nei.asm.NEICorePlugin [16:48:20] [main/WARN] [FML]: The coremod codechicken.nei.asm.NEICorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [16:48:20] [main/WARN] [FML]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [16:48:20] [main/WARN] [FML]: The coremod codechicken.nei.asm.NEICorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [16:48:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [16:48:20] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [16:48:20] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [16:48:20] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.core.asm.MCPDeobfuscationTransformer.LoadPlugin [16:48:20] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.nei.asm.NEICorePlugin [16:48:20] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.core.launch.CodeChickenCorePlugin [16:48:20] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.nei.asm.NEICorePlugin [16:48:20] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:48:20] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:48:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [16:48:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:48:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:48:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:48:21] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [16:48:25] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [16:48:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:48:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:48:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:48:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:48:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:48:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:48:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [16:48:29] [main/INFO] [GradleStart]: Remapping AccessTransformer rules… [16:48:29] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [16:48:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [16:48:29] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [16:48:34] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/inventory/GuiInventory at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?] … 8 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.inventory.GuiInventory at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?] … 8 more Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/InventoryEffectRenderer at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?] … 8 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.InventoryEffectRenderer at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?] … 8 more Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/inventory/GuiContainer at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?] … 8 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.inventory.GuiContainer at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?] … 8 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Error transforming method: [net/minecraft/client/gui/inventory/GuiContainer.drawScreen(IIF)V] at codechicken.nei.asm.NEITransformer.transform(NEITransformer.java:242) ~[NotEnoughItems-1.7.10-1.0.5.120-dev.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?] … 8 more Caused by: java.lang.RuntimeException: Error transforming method: [net/minecraft/client/gui/inventory/GuiContainer.drawScreen(IIF)V] at codechicken.lib.asm.ModularASMTransformer$MethodTransformer.transform(ModularASMTransformer.java:90) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?] at codechicken.lib.asm.ModularASMTransformer$ClassNodeTransformerList.transform(ModularASMTransformer.java:36) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?] at codechicken.lib.asm.ModularASMTransformer.transform(ModularASMTransformer.java:283) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?] at codechicken.nei.asm.NEITransformer.transform(NEITransformer.java:240) ~[NotEnoughItems-1.7.10-1.0.5.120-dev.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?] … 8 more Caused by: java.lang.RuntimeException: Needle not found in Haystack: ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager; INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.preDraw ()V L0 LINENUMBER 189 L0 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager; INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.preDraw ()V L1 LINENUMBER 90 L1 ALOAD 0 INVOKEVIRTUAL net/minecraft/client/gui/inventory/GuiContainer.drawDefaultBackground ()V L2 LINENUMBER 91 L2 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.guiLeft : I ISTORE 4 L3 LINENUMBER 92 L3 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.guiTop : I ISTORE 5 L4 LINENUMBER 93 L4 ALOAD 0 FLOAD 3 ILOAD 1 ILOAD 2 INVOKEVIRTUAL net/minecraft/client/gui/inventory/GuiContainer.drawGuiContainerBackgroundLayer (FII)V L5 LINENUMBER 94 L5 LDC 32826 INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V L6 LINENUMBER 95 L6 INVOKESTATIC net/minecraft/client/renderer/RenderHelper.disableStandardItemLighting ()V L7 LINENUMBER 96 L7 SIPUSH 2896 INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V L8 LINENUMBER 97 L8 SIPUSH 2929 INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V L9 LINENUMBER 98 L9 ALOAD 0 ILOAD 1 ILOAD 2 FLOAD 3 INVOKESPECIAL net/minecraft/client/gui/GuiScreen.drawScreen (IIF)V L10 LINENUMBER 99 L10 INVOKESTATIC net/minecraft/client/renderer/RenderHelper.enableGUIStandardItemLighting ()V L11 LINENUMBER 100 L11 INVOKESTATIC org/lwjgl/opengl/GL11.glPushMatrix ()V L12 LINENUMBER 101 L12 ILOAD 4 I2F ILOAD 5 I2F FCONST_0 INVOKESTATIC org/lwjgl/opengl/GL11.glTranslatef (FFF)V L13 LINENUMBER 102 L13 FCONST_1 FCONST_1 FCONST_1 FCONST_1 INVOKESTATIC org/lwjgl/opengl/GL11.glColor4f (FFFF)V L14 LINENUMBER 103 L14 LDC 32826 INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V L15 LINENUMBER 104 L15 ALOAD 0 ACONST_NULL PUTFIELD net/minecraft/client/gui/inventory/GuiContainer.theSlot : Lnet/minecraft/inventory/Slot; L16 LINENUMBER 105 L16 SIPUSH 240 ISTORE 6 L17 LINENUMBER 106 L17 SIPUSH 240 ISTORE 7 L18 LINENUMBER 107 L18 GETSTATIC net/minecraft/client/renderer/OpenGlHelper.lightmapTexUnit : I ILOAD 6 I2F FCONST_1 FDIV ILOAD 7 I2F FCONST_1 FDIV INVOKESTATIC net/minecraft/client/renderer/OpenGlHelper.setLightmapTextureCoords (IFF)V L19 LINENUMBER 108 L19 FCONST_1 FCONST_1 FCONST_1 FCONST_1 INVOKESTATIC org/lwjgl/opengl/GL11.glColor4f (FFFF)V L20 LINENUMBER 111 L20 ICONST_0 ISTORE 8 L21 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I I] [] ILOAD 8 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.inventorySlots : Lnet/minecraft/inventory/Container; GETFIELD net/minecraft/inventory/Container.inventorySlots : Ljava/util/List; INVOKEINTERFACE java/util/List.size ()I IF_ICMPGE L22 L23 LINENUMBER 113 L23 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.inventorySlots : Lnet/minecraft/inventory/Container; GETFIELD net/minecraft/inventory/Container.inventorySlots : Ljava/util/List; ILOAD 8 INVOKEINTERFACE java/util/List.get (I)Ljava/lang/Object; CHECKCAST net/minecraft/inventory/Slot ASTORE 9 L24 LINENUMBER 114 L24 ALOAD 0 ALOAD 9 INVOKESPECIAL net/minecraft/client/gui/inventory/GuiContainer.func_146977_a (Lnet/minecraft/inventory/Slot;)V L25 LINENUMBER 116 L25 ALOAD 0 ALOAD 9 ILOAD 1 ILOAD 2 INVOKESPECIAL net/minecraft/client/gui/inventory/GuiContainer.isMouseOverSlot (Lnet/minecraft/inventory/Slot;II)Z IFEQ L26 ALOAD 9 INVOKEVIRTUAL net/minecraft/inventory/Slot.func_111238_b ()Z IFEQ L26 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager; ILOAD 1 ILOAD 2 INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.objectUnderMouse (II)Z IFNE L26 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager; ILOAD 1 ILOAD 2 INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.objectUnderMouse (II)Z IFNE L26 L27 LINENUMBER 118 L27 ALOAD 0 ALOAD 9 PUTFIELD net/minecraft/client/gui/inventory/GuiContainer.theSlot : Lnet/minecraft/inventory/Slot; L28 LINENUMBER 119 L28 SIPUSH 2896 INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V L29 LINENUMBER 120 L29 SIPUSH 2929 INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V L30 LINENUMBER 121 L30 ALOAD 9 GETFIELD net/minecraft/inventory/Slot.xDisplayPosition : I ISTORE 10 L31 LINENUMBER 122 L31 ALOAD 9 GETFIELD net/minecraft/inventory/Slot.yDisplayPosition : I ISTORE 11 L32 LINENUMBER 123 L32 ICONST_1 ICONST_1 ICONST_1 ICONST_0 INVOKESTATIC org/lwjgl/opengl/GL11.glColorMask (ZZZZ)V L33 LINENUMBER 124 L33 ALOAD 0 ILOAD 10 ILOAD 11 ILOAD 10 BIPUSH 16 IADD ILOAD 11 BIPUSH 16 IADD LDC -2130706433 LDC -2130706433 INVOKEVIRTUAL net/minecraft/client/gui/inventory/GuiContainer.drawGradientRect (IIIIII)V L34 LINENUMBER 125 L34 ICONST_1 ICONST_1 ICONST_1 ICONST_1 INVOKESTATIC org/lwjgl/opengl/GL11.glColorMask (ZZZZ)V L35 LINENUMBER 126 L35 SIPUSH 2896 INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V L36 LINENUMBER 127 L36 SIPUSH 2929 INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V L26 LINENUMBER 111 L26 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I I net/minecraft/inventory/Slot] [] IINC 8 1 GOTO L21 L22 LINENUMBER 133 L22 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I I] [] SIPUSH 2896 INVOKESTATIC org/lwjgl/opengl/GL11.glDisable (I)V L37 LINENUMBER 134 L37 ALOAD 0 ILOAD 1 ILOAD 2 INVOKEVIRTUAL net/minecraft/client/gui/inventory/GuiContainer.drawGuiContainerForegroundLayer (II)V L38 LINENUMBER 135 L38 SIPUSH 2896 INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager; ILOAD 1 ILOAD 2 INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.renderObjects (II)V ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager; ILOAD 1 ILOAD 2 INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.renderObjects (II)V L39 LINENUMBER 136 L39 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.mc : Lnet/minecraft/client/Minecraft; GETFIELD net/minecraft/client/Minecraft.thePlayer : Lnet/minecraft/client/entity/EntityClientPlayerMP; GETFIELD net/minecraft/client/entity/EntityClientPlayerMP.inventory : Lnet/minecraft/entity/player/InventoryPlayer; ASTORE 8 L40 LINENUMBER 137 L40 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.draggedStack : Lnet/minecraft/item/ItemStack; IFNONNULL L41 ALOAD 8 INVOKEVIRTUAL net/minecraft/entity/player/InventoryPlayer.getItemStack ()Lnet/minecraft/item/ItemStack; GOTO L42 L41 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer] [] ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.draggedStack : Lnet/minecraft/item/ItemStack; L42 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer] [net/minecraft/item/ItemStack] ASTORE 9 L43 LINENUMBER 139 L43 ALOAD 9 IFNULL L44 L45 LINENUMBER 141 L45 BIPUSH 8 ISTORE 10 L46 LINENUMBER 142 L46 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.draggedStack : Lnet/minecraft/item/ItemStack; IFNONNULL L47 BIPUSH 8 GOTO L48 L47 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack I] [] BIPUSH 16 L48 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack I] * ISTORE 11 L49 LINENUMBER 143 L49 ACONST_NULL ASTORE 12 L50 LINENUMBER 145 L50 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.draggedStack : Lnet/minecraft/item/ItemStack; IFNULL L51 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.isRightMouseClick : Z IFEQ L51 L52 LINENUMBER 147 L52 ALOAD 9 INVOKEVIRTUAL net/minecraft/item/ItemStack.copy ()Lnet/minecraft/item/ItemStack; ASTORE 9 L53 LINENUMBER 148 L53 ALOAD 9 ALOAD 9 GETFIELD net/minecraft/item/ItemStack.stackSize : I I2F FCONST_2 FDIV INVOKESTATIC net/minecraft/util/MathHelper.ceiling_float_int (F)I PUTFIELD net/minecraft/item/ItemStack.stackSize : I GOTO L54 L51 LINENUMBER 150 L51 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack I I N] [] ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147007_t : Z IFEQ L54 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147008_s : Ljava/util/Set; INVOKEINTERFACE java/util/Set.size ()I ICONST_1 IF_ICMPLE L54 L55 LINENUMBER 152 L55 ALOAD 9 INVOKEVIRTUAL net/minecraft/item/ItemStack.copy ()Lnet/minecraft/item/ItemStack; ASTORE 9 L56 LINENUMBER 153 L56 ALOAD 9 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_146996_I : I PUTFIELD net/minecraft/item/ItemStack.stackSize : I L57 LINENUMBER 155 L57 ALOAD 9 GETFIELD net/minecraft/item/ItemStack.stackSize : I IFNE L54 L58 LINENUMBER 157 L58 NEW java/lang/StringBuilder DUP INVOKESPECIAL java/lang/StringBuilder. <init>()V LDC "" INVOKEVIRTUAL java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder; GETSTATIC net/minecraft/util/EnumChatFormatting.YELLOW : Lnet/minecraft/util/EnumChatFormatting; INVOKEVIRTUAL java/lang/StringBuilder.append (Ljava/lang/Object;)Ljava/lang/StringBuilder; LDC "0" INVOKEVIRTUAL java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder; INVOKEVIRTUAL java/lang/StringBuilder.toString ()Ljava/lang/String; ASTORE 12 L54 LINENUMBER 161 L54 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack I I java/lang/String] [] ALOAD 0 ALOAD 9 ILOAD 1 ILOAD 4 ISUB ILOAD 10 ISUB ILOAD 2 ILOAD 5 ISUB ILOAD 11 ISUB ALOAD 12 INVOKESPECIAL net/minecraft/client/gui/inventory/GuiContainer.drawItemStack (Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V L44 LINENUMBER 164 L44 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack] [] ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStack : Lnet/minecraft/item/ItemStack; IFNULL L59 L60 LINENUMBER 166 L60 INVOKESTATIC net/minecraft/client/Minecraft.getSystemTime ()J ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStackTime : J LSUB L2F LDC 100.0 FDIV FSTORE 10 L61 LINENUMBER 168 L61 FLOAD 10 FCONST_1 FCMPL IFLT L62 L63 LINENUMBER 170 L63 FCONST_1 FSTORE 10 L64 LINENUMBER 171 L64 ALOAD 0 ACONST_NULL PUTFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStack : Lnet/minecraft/item/ItemStack; L62 LINENUMBER 174 L62 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack F] [] ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStackDestSlot : Lnet/minecraft/inventory/Slot; GETFIELD net/minecraft/inventory/Slot.xDisplayPosition : I ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147011_y : I ISUB ISTORE 11 L65 LINENUMBER 175 L65 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStackDestSlot : Lnet/minecraft/inventory/Slot; GETFIELD net/minecraft/inventory/Slot.yDisplayPosition : I ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147010_z : I ISUB ISTORE 12 L66 LINENUMBER 176 L66 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147011_y : I ILOAD 11 I2F FLOAD 10 FMUL F2I IADD ISTORE 13 L67 LINENUMBER 177 L67 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.field_147010_z : I ILOAD 12 I2F FLOAD 10 FMUL F2I IADD ISTORE 14 L68 LINENUMBER 178 L68 ALOAD 0 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.returningStack : Lnet/minecraft/item/ItemStack; ILOAD 13 ILOAD 14 ACONST_NULL CHECKCAST java/lang/String INVOKESPECIAL net/minecraft/client/gui/inventory/GuiContainer.drawItemStack (Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V L59 LINENUMBER 181 L59 FRAME FULL [net/minecraft/client/gui/inventory/GuiContainer I I F I I I I net/minecraft/entity/player/InventoryPlayer net/minecraft/item/ItemStack] [] INVOKESTATIC org/lwjgl/opengl/GL11.glPopMatrix ()V ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.manager : Lcodechicken/nei/guihook/GuiContainerManager; ILOAD 1 ILOAD 2 INVOKEVIRTUAL codechicken/nei/guihook/GuiContainerManager.renderToolTips (II)V SIPUSH 2896 INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V L69 LINENUMBER 190 L69 SIPUSH 2929 INVOKESTATIC org/lwjgl/opengl/GL11.glEnable (I)V L70 LINENUMBER 191 L70 INVOKESTATIC net/minecraft/client/renderer/RenderHelper.enableStandardItemLighting ()V L71 LINENUMBER 192 L71 RETURN L72 ALOAD 8 INVOKEVIRTUAL net/minecraft/entity/player/InventoryPlayer.getItemStack ()Lnet/minecraft/item/ItemStack; IFNONNULL L0 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.theSlot : Lnet/minecraft/inventory/Slot; IFNULL L0 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.theSlot : Lnet/minecraft/inventory/Slot; INVOKEVIRTUAL net/minecraft/inventory/Slot.getHasStack ()Z IFEQ L0 ALOAD 0 GETFIELD net/minecraft/client/gui/inventory/GuiContainer.theSlot : Lnet/minecraft/inventory/Slot; INVOKEVIRTUAL net/minecraft/inventory/Slot.getStack ()Lnet/minecraft/item/ItemStack; ASTORE 10 ALOAD 0 ALOAD 10 ILOAD 1 ILOAD 2 INVOKEVIRTUAL net/minecraft/client/gui/inventory/GuiContainer.renderToolTip (Lnet/minecraft/item/ItemStack;II)V L0 at codechicken.lib.asm.InsnComparator.findN(InsnComparator.java:181) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?] at codechicken.lib.asm.InsnComparator.findN(InsnComparator.java:187) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?] at codechicken.lib.asm.ModularASMTransformer$MethodReplacer.transform(ModularASMTransformer.java:234) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?] at codechicken.lib.asm.ModularASMTransformer$MethodTransformer.transform(ModularASMTransformer.java:88) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?] at codechicken.lib.asm.ModularASMTransformer$ClassNodeTransformerList.transform(ModularASMTransformer.java:36) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?] at codechicken.lib.asm.ModularASMTransformer.transform(ModularASMTransformer.java:283) ~[CodeChickenLib-1.7.10-1.1.1.99-dev.jar:?] at codechicken.nei.asm.NEITransformer.transform(NEITransformer.java:240) ~[NotEnoughItems-1.7.10-1.0.5.120-dev.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91] at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91] at net.minecraft.client.main.Main.main(Main.java:79) ~[Main.class:?] … 8 more Exception in thread "main" [16:48:34] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: cpw.mods.fml.relauncher.FMLSecurityManager$ExitTrappedException [16:48:34] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at cpw.mods.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:25) [16:48:34] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.SecurityManager.checkExit(Unknown Source) [16:48:34] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.Runtime.exit(Unknown Source) [16:48:34] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.lang.System.exit(Unknown Source) [16:48:34] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138) [16:48:34] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [16:48:34] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [16:48:34] [main/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at GradleStart.main(Unknown Source) Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release ```</init>
-
Quelle méthode utilises-tu ? Si tu utilises la mienne tu ne devrais rien avoir dans ton dossier libs et mods.
En revanche il semble qu’il te manque toujours des classes côté client, as-tu fait un setup de forge correct ?
-
La classe existe bien, le problème c’est que code chicken core doit la patcher et le patch échoue, du-coup la classe se retrouve corrompu.
-
@‘SCAREX’:
Quelle méthode utilises-tu ? Si tu utilises la mienne tu ne devrais rien avoir dans ton dossier libs et mods.
En revanche il semble qu’il te manque toujours des classes côté client, as-tu fait un setup de forge correct ?
J’utilise ta méthode je vais essayer maintenant e voir si ca fonctionne pour ma machine
EDIT: Ca ne crash plus, il me reste juste à passer en résolu