Rendu d'item avec un model techne
-
Cette fois si, plus d’erreur sur Eclipse mais Minecraft crash toujours
-
Log?
-
–-- Minecraft Crash Report ---- // Why is it breaking :( Time: 23/11/13 16:53 Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:75) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105) at cpw.mods.fml.common.Loader.loadMods(Loader.java:509) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183) at net.minecraft.client.Minecraft.startGame(Minecraft.java:472) at net.minecraft.client.Minecraft.run(Minecraft.java:807) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) Caused by: cpw.mods.fml.common.LoaderException at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:68) ... 33 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.6.4 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_45, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 773810656 bytes (737 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v8.11 FML v6.4.20.916 Minecraft Forge 9.11.1.916 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{6.4.20.916} [Forge Mod Loader] (bin) Unloaded->Constructed Forge{9.11.1.916} [Minecraft Forge] (bin) Unloaded->Constructed assabody{1.0} [assabody] (bin) Unloaded->Errored
-
=>
@SidedProxy(clientSide = "assabody.jeje78660.proxy.AssabodyClientProxy", serverSide = "assabody.jeje78660.proxy.AssabodyCommonProxy") public static AssabodyCommonProxy proxy; public static EnumToolMaterial Arme1Assabody = EnumHelper.addToolMaterial("Arme1Assabody", 3, 2500, 8.0F, 3, 10);
L’annotation @SidedProxy DOIT se trouve au dessus du field du proxy.
-
Maintenant, il me met une autre erreur :
2013-11-23 17:21:26 [INFO] [ForgeModLoader] Forge Mod Loader version 6.4.20.916 for Minecraft 1.6.4 loading 2013-11-23 17:21:26 [INFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_45, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7 2013-11-23 17:21:26 [INFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2013-11-23 17:21:26 [INFO] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg 2013-11-23 17:21:26 [INFO] [STDOUT] Loaded 109 rules from AccessTransformer config file forge_at.cfg 2013-11-23 17:21:26 [SEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2013-11-23 17:21:27 [INFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker 2013-11-23 17:21:27 [INFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker 2013-11-23 17:21:27 [INFO] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main} 2013-11-23 17:21:28 [INFO] [Minecraft-Client] Setting user: Player140 2013-11-23 17:21:28 [INFO] [Minecraft-Client] (Session ID is null) 2013-11-23 17:21:28 [INFO] [Minecraft-Client] LWJGL Version: 2.9.0 2013-11-23 17:21:28 [INFO] [STDERR] javax.imageio.IIOException: Can't read input file! 2013-11-23 17:21:28 [INFO] [STDERR] at javax.imageio.ImageIO.read(Unknown Source) 2013-11-23 17:21:28 [INFO] [STDERR] at net.minecraft.client.Minecraft.readImage(Minecraft.java:557) 2013-11-23 17:21:28 [INFO] [STDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:419) 2013-11-23 17:21:28 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:807) 2013-11-23 17:21:28 [INFO] [STDERR] at net.minecraft.client.main.Main.main(Main.java:93) 2013-11-23 17:21:28 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-23 17:21:28 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-23 17:21:28 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-23 17:21:28 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-23 17:21:28 [INFO] [STDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2013-11-23 17:21:28 [INFO] [STDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2013-11-23 17:21:29 [INFO] [Minecraft-Client] Reloading ResourceManager: Default 2013-11-23 17:21:29 [INFO] [STDOUT] 2013-11-23 17:21:29 [INFO] [STDOUT] Starting up SoundSystem… 2013-11-23 17:21:29 [INFO] [MinecraftForge] Attempting early MinecraftForge initialization 2013-11-23 17:21:29 [INFO] [STDOUT] MinecraftForge v9.11.1.916 Initialized 2013-11-23 17:21:29 [INFO] [ForgeModLoader] MinecraftForge v9.11.1.916 Initialized 2013-11-23 17:21:29 [INFO] [STDOUT] Initializing LWJGL OpenAL 2013-11-23 17:21:29 [INFO] [STDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-11-23 17:21:29 [INFO] [STDOUT] Replaced 101 ore recipies 2013-11-23 17:21:29 [INFO] [MinecraftForge] Completed early MinecraftForge initialization 2013-11-23 17:21:29 [INFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Jerome\Documents\Modding Minecraft\forge 1.6.4 9.11.1.916\forge\mcp\jars\config\logging.properties 2013-11-23 17:21:29 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2013-11-23 17:21:29 [INFO] [STDOUT] OpenAL initialized. 2013-11-23 17:21:29 [INFO] [ForgeModLoader] Searching C:\Users\Jerome\Documents\Modding Minecraft\forge 1.6.4 9.11.1.916\forge\mcp\jars\mods for mods 2013-11-23 17:21:30 [INFO] [STDOUT] 2013-11-23 17:21:31 [INFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2013-11-23 17:21:31 [INFO] [mcp] Activating mod mcp 2013-11-23 17:21:31 [INFO] [FML] Activating mod FML 2013-11-23 17:21:31 [INFO] [Forge] Activating mod Forge 2013-11-23 17:21:31 [INFO] [assabody] Activating mod assabody 2013-11-23 17:21:31 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2013-11-23 17:21:31 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2013-11-23 17:21:31 [WARNING] [assabody] Mod assabody is missing a pack.mcmeta file, things may not work well 2013-11-23 17:21:31 [INFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:assabody 2013-11-23 17:21:31 [INFO] [STDOUT] 2013-11-23 17:21:31 [INFO] [STDOUT] SoundSystem shutting down… 2013-11-23 17:21:31 [INFO] [STDOUT] Author: Paul Lamb, www.paulscode.com 2013-11-23 17:21:31 [INFO] [STDOUT] 2013-11-23 17:21:31 [INFO] [STDOUT] 2013-11-23 17:21:31 [INFO] [STDOUT] Starting up SoundSystem… 2013-11-23 17:21:31 [INFO] [ForgeModLoader] Registering Forge Packet Handler 2013-11-23 17:21:31 [INFO] [ForgeModLoader] Succeeded registering Forge Packet Handler 2013-11-23 17:21:31 [INFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2013-11-23 17:21:32 [INFO] [STDOUT] Initializing LWJGL OpenAL 2013-11-23 17:21:32 [INFO] [STDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-11-23 17:21:32 [INFO] [STDOUT] OpenAL initialized. 2013-11-23 17:21:32 [INFO] [STDOUT] 2013-11-23 17:21:32 [SEVERE] [ForgeModLoader] The mod FMLMod:assabody{1.0} is attempting to redefine the item at id 2242 with a non-unique name (assabody.ItemTutorial) 2013-11-23 17:21:32 [SEVERE] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue 2013-11-23 17:21:32 [SEVERE] [ForgeModLoader] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{6.4.20.916} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized Forge{9.11.1.916} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized assabody{1.0} [assabody] (bin) Unloaded->Constructed->Pre-initialized->Errored 2013-11-23 17:21:32 [SEVERE] [ForgeModLoader] The following problems were captured during this phase 2013-11-23 17:21:32 [SEVERE] [ForgeModLoader] Caught exception from assabody cpw.mods.fml.common.LoaderException at cpw.mods.fml.common.registry.ItemData.setName(ItemData.java:161) at cpw.mods.fml.common.registry.GameData.setName(GameData.java:256) at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:151) at assabody.jeje78660.Assabody.Init(Assabody.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:696) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249) at net.minecraft.client.Minecraft.startGame(Minecraft.java:508) at net.minecraft.client.Minecraft.run(Minecraft.java:807) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2013-11-23 17:21:32 [INFO] [STDOUT] –-- Minecraft Crash Report ---- 2013-11-23 17:21:32 [INFO] [STDOUT] // I let you down. Sorry :( 2013-11-23 17:21:32 [INFO] [STDOUT] 2013-11-23 17:21:32 [INFO] [STDOUT] Time: 23/11/13 17:21 2013-11-23 17:21:32 [INFO] [STDOUT] Description: There was a severe problem during mod loading that has caused the game to fail 2013-11-23 17:21:32 [INFO] [STDOUT] 2013-11-23 17:21:32 [INFO] [STDOUT] cpw.mods.fml.common.LoaderException 2013-11-23 17:21:32 [INFO] [STDOUT] at cpw.mods.fml.common.registry.ItemData.setName(ItemData.java:161) 2013-11-23 17:21:32 [INFO] [STDOUT] at cpw.mods.fml.common.registry.GameData.setName(GameData.java:256) 2013-11-23 17:21:32 [INFO] [STDOUT] at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:151) 2013-11-23 17:21:32 [INFO] [STDOUT] at assabody.jeje78660.Assabody.Init(Assabody.java:49) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-11-23 17:21:32 [INFO] [STDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-11-23 17:21:32 [INFO] [STDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2013-11-23 17:21:32 [INFO] [STDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-11-23 17:21:32 [INFO] [STDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-11-23 17:21:32 [INFO] [STDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194) 2013-11-23 17:21:32 [INFO] [STDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-11-23 17:21:32 [INFO] [STDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-11-23 17:21:32 [INFO] [STDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2013-11-23 17:21:32 [INFO] [STDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-11-23 17:21:32 [INFO] [STDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-11-23 17:21:32 [INFO] [STDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105) 2013-11-23 17:21:32 [INFO] [STDOUT] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:696) 2013-11-23 17:21:32 [INFO] [STDOUT] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249) 2013-11-23 17:21:32 [INFO] [STDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:508) 2013-11-23 17:21:32 [INFO] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:807) 2013-11-23 17:21:32 [INFO] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2013-11-23 17:21:32 [INFO] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2013-11-23 17:21:32 [INFO] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2013-11-23 17:21:32 [INFO] [STDOUT] 2013-11-23 17:21:32 [INFO] [STDOUT] 2013-11-23 17:21:32 [INFO] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows: 2013-11-23 17:21:32 [INFO] [STDOUT] –------------------------------------------------------------------------------------- 2013-11-23 17:21:32 [INFO] [STDOUT] 2013-11-23 17:21:32 [INFO] [STDOUT] – System Details -- 2013-11-23 17:21:32 [INFO] [STDOUT] Details: 2013-11-23 17:21:32 [INFO] [STDOUT] Minecraft Version: 1.6.4 2013-11-23 17:21:32 [INFO] [STDOUT] Operating System: Windows 8 (amd64) version 6.2 2013-11-23 17:21:32 [INFO] [STDOUT] Java Version: 1.7.0_45, Oracle Corporation 2013-11-23 17:21:32 [INFO] [STDOUT] Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation 2013-11-23 17:21:32 [INFO] [STDOUT] Memory: 919867712 bytes (877 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) 2013-11-23 17:21:32 [INFO] [STDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M 2013-11-23 17:21:32 [INFO] [STDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used 2013-11-23 17:21:32 [INFO] [STDOUT] Suspicious classes: FML and Forge are installed 2013-11-23 17:21:32 [INFO] [STDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 2013-11-23 17:21:32 [INFO] [STDOUT] FML: MCP v8.11 FML v6.4.20.916 Minecraft Forge 9.11.1.916 4 mods loaded, 4 mods active 2013-11-23 17:21:32 [INFO] [STDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized 2013-11-23 17:21:32 [INFO] [STDOUT] FML{6.4.20.916} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized 2013-11-23 17:21:32 [INFO] [STDOUT] Forge{9.11.1.916} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized 2013-11-23 17:21:32 [INFO] [STDOUT] assabody{1.0} [assabody] (bin) Unloaded->Constructed->Pre-initialized->Errored 2013-11-23 17:21:32 [INFO] [STDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Jerome\Documents\Modding Minecraft\forge 1.6.4 9.11.1.916\forge\mcp\jars\.\crash-reports\crash-2013-11-23_17.21.32-client.txt AL lib: (EE) alc_cleanup: 1 device not closed
-
Envois la class Assabody
-
package assabody.jeje78660; import net.minecraftforge.common.EnumHelper; import net.minecraft.item.EnumToolMaterial; import net.minecraft.item.Item; import assabody.jeje78660.proxy.AssabodyCommonProxy; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; @Mod(modid = "assabody", name="assabody", version="1.0") @NetworkMod(clientSideRequired = true, serverSideRequired = false) public class Assabody { // this.func_110628_a => Minecraft.getMinecraft().renderEngine.bindTexture // .func_111206_d("modid:textureditem") -> .setTextureName("modid:textureditem") // .func_111022_d("modid:texturedebloc") -> .setTextureName("modid:texturedebloc") // mc.func_110434_K().func_110577_a(resourcelocation) -> mc.getTextureManager().bindTexture(resourcelocation) @SidedProxy(clientSide = "assabody.jeje78660.proxy.AssabodyClientProxy", serverSide = "assabody.jeje78660.proxy.AssabodyCommonProxy") public static AssabodyCommonProxy proxy; public static EnumToolMaterial Arme1Assabody = EnumHelper.addToolMaterial("Arme1Assabody", 3, 2500, 8.0F, 3, 10); @Instance("assabody") public static Assabody instance; public static Item ItemTutorial; @EventHandler public void PreInit(FMLPreInitializationEvent event) { //Block, Items, Achievements, Configurations // ID de l'Item + 256 ItemTutorial = new ItemTutorial(1986, Arme1Assabody).setUnlocalizedName("ItemTutorial").setTextureName("assabody:cd1"); GameRegistry.registerItem(ItemTutorial, "ItemTutorial", "assabody"); } @EventHandler public void Init(FMLInitializationEvent event) { //Mobs, Render, NetWork, Recipe proxy.registerRender(); GameRegistry.registerItem(Assabody.ItemTutorial, "ItemTutorial", "assabody"); } @EventHandler public void PostInit(FMLPostInitializationEvent event) { //Recettes, Cuisson, Languages } }
-
Change ça:
GameRegistry.registerItem(Assabody.ItemTutorial, "ItemTutorial", "assabody");
par ça:
GameRegistry.registerItem(ItemTutorial, "ItemTutorial", "assabody");
-
Sa fait le mm crash
-
Ron item est enregistrer deux fois, enlève celui dans init.
-
Voila sa marche, merci
Mais maintenant, je ne peut plus casser de blocks quand j’utilise l’épée -
C’est normal, c’est une spécificité de toutes les épées de Minecraft
-
Ah bon ? Bah a partir de la 1.6.4 ou de la 1.6.2 alors
-
Oui, depuis la 1.6.x
-
Salut, pas moyen de modifier la rotation de mon rendu avec GL11.glRotatef(float angle, float x, float y, float z);
Cette méthode est toujours d’actualité ?
PS: de même avec GL11.glTranslatef(float x, float y, float z);
-
Tout dépend d’où tu appelles cette méthode ^^’
Envoie nous ton codeEt OUI, cette méthode est toujours d’actualité (heuresement ^^), elle provient d’OpenGL
-
J’ai directement placé les deux méthodes entre l’ouverture et la fermeture du flux GL11. Lui-même étant dans un switch qui se trouve être dans la fonction renderItem(ItemRenderType type, ItemStack item, Object… data);
#Le code(Le code)
@Override public void renderItem(ItemRenderType type, ItemStack item, Object... data) { switch(type) { case EQUIPPED: { GL11.glPushMatrix(); GL11.glRotatef(1F, 0.0F, 0.0F, 1.0F); //La méthode de rotation GL11.glTranslatef(1.0F, 2.0F, 1.5F); // La méthode de translation Minecraft.getMinecraft().renderEngine.bindTexture(texture); model.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); GL11.glPopMatrix(); } default: break; } }
-
@‘Derwaan’:
J’ai directement placé les deux méthodes entre l’ouverture et la fermeture du flux GL11. Lui-même étant dans un switch qui se trouve être dans la fonction renderItem(ItemRenderType type, ItemStack item, Object… data);
#Le code(Le code)
@Override public void renderItem(ItemRenderType type, ItemStack item, Object... data) { switch(type) { case EQUIPPED: { GL11.glPushMatrix(); GL11.glRotatef(1F, 0.0F, 0.0F, 1.0F); //La méthode de rotation GL11.glTranslatef(1.0F, 2.0F, 1.5F); // La méthode de translation Minecraft.getMinecraft().renderEngine.bindTexture(texture); model.render((Entity)data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); GL11.glPopMatrix(); } default: break; } }
La ligne de GL11.glRotatef prend ceci comme paramètres :
GL11.glRotatef(ANGLE(float), (Multiplicateur X)0.0F, (Multiplicateur Y)0.0F, (Multiplicateur Z)1.0F);
En gros, pour une rotation de 90° sur l’axe Z :
GL11.glRotatef(90, 0.0F, 0.0F, 1.0F);
Pourquoi ? Car on affecte l’axe Z de 1 fois l’angle, soit 1*90 soit 90°
Si on mettais 1.0F a l’axe X et 0.5F a l’axe Y, on affecterais de 90° l’axe X, puis de 45° l’axe Y
-
Malgré cela pas moyen de faire tourner l’objet tenu en main. Il reste dans sa position par défaut. Idem avec GL11.glTranslatef(coord…);
-
Attention, tu dans la case EQUIPPED, c’est à dire en 3ème personne.
Et tu n’as pas mis de break; dans la case