MFF

    Minecraft Forge France
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes
    • Forge Events
      • Automatique
      • Foncé
      • Clair
    • S'inscrire
    • Se connecter

    Rendu d'item avec un model techne

    Planifier Épinglé Verrouillé Déplacé Les items
    1.6.x
    137 Messages 24 Publieurs 50.5k Vues 1 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • kevin_68K Hors-ligne
      kevin_68 Moddeurs confirmés
      dernière édition par

      Dans ta classe principale tu peut enlever le “Assabody.” dans la déclaration de l’item pour l’EnumToolMaterial

      Dans la classe de ton item:
      Change ça:

      
      package assabody.jeje78660;
      
      import net.minecraft.creativetab.CreativeTabs;
      import net.minecraft.item.Item;
      import net.minecraft.item.ItemSword;
      
      public class ItemTutorial extends ItemSword
      {
      public ItemTutorial(int id)
      {
      super(id, Assabody.Arme1Assabody);
      this.setCreativeTab(CreativeTabs.tabMaterials);
      
      }
      }
      

      En ça:

      
      package assabody.jeje78660;
      
      import net.minecraft.creativetab.CreativeTabs;
      import net.minecraft.item.Item;
      import net.minecraft.item.ItemSword;
      
      public class ItemTutorial extends ItemSword
      {
      public ItemTutorial(int id, EnumToolMaterial toolMaterial)
      {
      super(id, toolMaterial);
      this.setCreativeTab(CreativeTabs.tabMaterials);
      
      }
      }
      

      Dans le clientproxy:
      L’enregistrement de l’item ce fait dans la classe principale donc tu déplace ça:

      GameRegistry.registerItem(Assabody.ItemTutorial, "ItemTutorial", "assabody");
      ``` dans ta classe principale


      Mettez à jours vers la dernière version stable (1.8.9 voir même…

      1 réponse Dernière réponse Répondre Citer 0
      • J Hors-ligne
        jeje78660
        dernière édition par

        Cette fois si, plus d’erreur sur Eclipse mais Minecraft crash toujours

        1 réponse Dernière réponse Répondre Citer 0
        • kevin_68K Hors-ligne
          kevin_68 Moddeurs confirmés
          dernière édition par

          Log?


          Mettez à jours vers la dernière version stable (1.8.9 voir même…

          1 réponse Dernière réponse Répondre Citer 0
          • J Hors-ligne
            jeje78660
            dernière édition par

            –-- 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
            
            1 réponse Dernière réponse Répondre Citer 0
            • robin4002R Hors-ligne
              robin4002 Moddeurs confirmés Rédacteurs Administrateurs
              dernière édition par

              =>

              @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.

              1 réponse Dernière réponse Répondre Citer 0
              • J Hors-ligne
                jeje78660
                dernière édition par

                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
                
                
                1 réponse Dernière réponse Répondre Citer 0
                • Superloup10S Hors-ligne
                  Superloup10 Modérateurs
                  dernière édition par

                  Envois la class Assabody

                  Si vous souhaitez me faire un don, il vous suffit de cliquer sur le bouton situé en dessous.

                  Je suis un membre apprécié et joueur, j'ai déjà obtenu 17 points de réputation.

                  1 réponse Dernière réponse Répondre Citer 0
                  • J Hors-ligne
                    jeje78660
                    dernière édition par

                    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
                    }
                    }
                    
                    
                    1 réponse Dernière réponse Répondre Citer 0
                    • Superloup10S Hors-ligne
                      Superloup10 Modérateurs
                      dernière édition par

                      Change ça:

                      GameRegistry.registerItem(Assabody.ItemTutorial, "ItemTutorial", "assabody");
                      

                      par ça:

                      GameRegistry.registerItem(ItemTutorial, "ItemTutorial", "assabody");
                      

                      Si vous souhaitez me faire un don, il vous suffit de cliquer sur le bouton situé en dessous.

                      Je suis un membre apprécié et joueur, j'ai déjà obtenu 17 points de réputation.

                      1 réponse Dernière réponse Répondre Citer 0
                      • J Hors-ligne
                        jeje78660
                        dernière édition par

                        Sa fait le mm crash

                        1 réponse Dernière réponse Répondre Citer 0
                        • robin4002R Hors-ligne
                          robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                          dernière édition par

                          Ron item est enregistrer deux fois, enlève celui dans init.

                          1 réponse Dernière réponse Répondre Citer 0
                          • J Hors-ligne
                            jeje78660
                            dernière édition par

                            Voila sa marche, merci 😃
                            Mais maintenant, je ne peut plus casser de blocks quand j’utilise l’épée

                            1 réponse Dernière réponse Répondre Citer 0
                            • Superloup10S Hors-ligne
                              Superloup10 Modérateurs
                              dernière édition par

                              C’est normal, c’est une spécificité de toutes les épées de Minecraft

                              Si vous souhaitez me faire un don, il vous suffit de cliquer sur le bouton situé en dessous.

                              Je suis un membre apprécié et joueur, j'ai déjà obtenu 17 points de réputation.

                              1 réponse Dernière réponse Répondre Citer 0
                              • J Hors-ligne
                                jeje78660
                                dernière édition par

                                Ah bon ? Bah a partir de la 1.6.4 ou de la 1.6.2 alors

                                1 réponse Dernière réponse Répondre Citer 0
                                • robin4002R Hors-ligne
                                  robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                                  dernière édition par

                                  Oui, depuis la 1.6.x

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • D Hors-ligne
                                    Derwaan
                                    dernière édition par

                                    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);

                                    1 réponse Dernière réponse Répondre Citer 0
                                    • jglrxavpokJ Hors-ligne
                                      jglrxavpok Modérateurs
                                      dernière édition par

                                      Tout dépend d’où tu appelles cette méthode ^^’
                                      Envoie nous ton code

                                      Et OUI, cette méthode est toujours d’actualité (heuresement ^^), elle provient d’OpenGL

                                      Modérateur sur MFF. 
                                      Mon Github: http://github.com/jglrxavpok
                                      Mon compte Steam si vous voulez jouer à CS:GO ou TF2 avec moi: https://steamcommunity.com/id/jglrxavpok/

                                      1 réponse Dernière réponse Répondre Citer 0
                                      • D Hors-ligne
                                        Derwaan
                                        dernière édition par

                                        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;
                                        }
                                        
                                        }
                                        
                                        
                                        1 réponse Dernière réponse Répondre Citer 0
                                        • GuguG Hors-ligne
                                          Gugu
                                          dernière édition par

                                          @‘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

                                          "If you have a comprehensive explanation for everything then it decreases uncertainty and anxiety and reduces your cognitive load. And if you can use that simplifying algorithm to put yourself on the side of moral virtue then you’re constantly a good person with a minimum of effort."
                                          ― Jordan B. Peterson

                                          1 réponse Dernière réponse Répondre Citer 0
                                          • D Hors-ligne
                                            Derwaan
                                            dernière édition par

                                            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…);

                                            1 réponse Dernière réponse Répondre Citer 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 7 / 7
                                            • Premier message
                                              Dernier message
                                            Design by Woryk
                                            ContactMentions Légales

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB