MFF

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

    Une armure

    Planifier Épinglé Verrouillé Déplacé Les items
    1.6.x
    78 Messages 18 Publieurs 32.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.
    • robin4002R Hors-ligne
      robin4002 Moddeurs confirmés Rédacteurs Administrateurs
      dernière édition par

      if(stack.itemID == modtutoriel.TutorialLeggings.itemID)
      {
      return "modtutoriel:textures/models/armor/tutorial_layer_2.png";
      }
      else
      {
      return "modtutoriel:textures/models/armor/tutorial_layer_1.png";
      }
      

      Comme ça. Le else n’accepte pas d’argument.

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

        Merci beaucoup pour ton aide

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

          Salut, mon jeux crash au démarrage !

          Erreur :

          mars 13, 2014 3:40:45 PM net.minecraft.launchwrapper.LogWrapper log
          Infos: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
          mars 13, 2014 3:40:45 PM net.minecraft.launchwrapper.LogWrapper log
          Infos: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
          mars 13, 2014 3:40:45 PM net.minecraft.launchwrapper.LogWrapper log
          Infos: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
          2014-03-13 15:40:45 [Infos] [ForgeModLoader] Forge Mod Loader version 6.4.45.953 for Minecraft 1.6.4 loading
          2014-03-13 15:40:45 [Infos] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_51, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
          2014-03-13 15:40:45 [Infos] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
          2014-03-13 15:40:45 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
          2014-03-13 15:40:45 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
          2014-03-13 15:40:45 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
          2014-03-13 15:40:45 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
          2014-03-13 15:40:45 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
          2014-03-13 15:40:46 [Infos] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg
          2014-03-13 15:40:46 [Grave] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!
          2014-03-13 15:40:51 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
          2014-03-13 15:40:51 [Infos] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg
          2014-03-13 15:40:51 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
          2014-03-13 15:40:52 [Infos] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}
          2014-03-13 15:41:00 [Infos] [Minecraft-Client] Setting user: Player473
          2014-03-13 15:41:05 [Infos] [Minecraft-Client] LWJGL Version: 2.9.0
          2014-03-13 15:41:08 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, Faithful for AlphisPVP
          2014-03-13 15:41:15 [Infos] [MinecraftForge] Attempting early MinecraftForge initialization
          2014-03-13 15:41:15 [Infos] [STDOUT] MinecraftForge v9.11.1.953 Initialized
          2014-03-13 15:41:15 [Infos] [ForgeModLoader] MinecraftForge v9.11.1.953 Initialized
          2014-03-13 15:41:16 [Infos] [STDOUT] Replaced 112 ore recipies
          2014-03-13 15:41:16 [Infos] [MinecraftForge] Completed early MinecraftForge initialization
          2014-03-13 15:41:16 [Infos] [ForgeModLoader] Reading custom logging properties from C:\Users\VoltikHD\Desktop\AlphisMOD\Modding\forge\mcp\jars\config\logging.properties
          2014-03-13 15:41:16 [Désactivé] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
          2014-03-13 15:41:16 [Infos] [ForgeModLoader] Searching C:\Users\VoltikHD\Desktop\AlphisMOD\Modding\forge\mcp\jars\mods for mods
          2014-03-13 15:41:33 [Infos] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
          2014-03-13 15:41:33 [Infos] [mcp] Activating mod mcp
          2014-03-13 15:41:33 [Infos] [FML] Activating mod FML
          2014-03-13 15:41:33 [Infos] [Forge] Activating mod Forge
          2014-03-13 15:41:33 [Infos] [AlphisMOD] Activating mod AlphisMOD
          2014-03-13 15:41:33 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
          2014-03-13 15:41:33 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
          2014-03-13 15:41:33 [Avertissement] [AlphisMOD] Mod AlphisMOD is missing a pack.mcmeta file, things may not work well
          2014-03-13 15:41:33 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:AlphisMOD, Faithful for AlphisPVP
          2014-03-13 15:41:34 [Infos] [ForgeModLoader] Registering Forge Packet Handler
          2014-03-13 15:41:34 [Infos] [ForgeModLoader] Succeeded registering Forge Packet Handler
          2014-03-13 15:41:35 [Infos] [ForgeModLoader] Configured a dormant chunk cache size of 0
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.item1 with ID 10257 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.item2 with ID 10258 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.item3 with ID 10259 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.item20 with ID 10260 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.sword20 with ID 10261 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.pickaxe20 with ID 10262 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.axe20 with ID 10263 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.shovel20 with ID 10264 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.hoe20 with ID 10265 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.sword4 with ID 10266 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.pickaxe4 with ID 10267 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.axe4 with ID 10268 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.shovel4 with ID 10269 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.hoe4 with ID 10270 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.sword1 with ID 10271 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.pickaxe1 with ID 10272 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.axe1 with ID 10273 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.shovel1 with ID 10274 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.items.hoe1 with ID 10275 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.armors.ItemEmeraldArmor with ID 12258 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.armors.ItemEmeraldArmor with ID 12259 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.armors.ItemEmeraldArmor with ID 12260 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:35 [Grave] [ForgeModLoader] Found anonymous item of class alphis.armors.ItemEmeraldArmor with ID 12261 owned by mod AlphisMOD, this item will NOT survive a 1.7 upgrade!
          2014-03-13 15:41:40 [Grave] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
          2014-03-13 15:41:40 [Grave] [ForgeModLoader]
          mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
          FML{6.4.45.953} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized
          Forge{9.11.1.953} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized
          AlphisMOD{1.0.0} [AlphisMOD] (bin) Unloaded->Constructed->Pre-initialized->Errored
          2014-03-13 15:41:40 [Grave] [ForgeModLoader] The following problems were captured during this phase
          2014-03-13 15:41:40 [Grave] [ForgeModLoader] Caught exception from AlphisMOD
          java.lang.NullPointerException
          at cpw.mods.fml.common.registry.ItemData.setName(ItemData.java:158)
          at cpw.mods.fml.common.registry.GameData.setName(GameData.java:257)
          at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:151)
          at alphis.common.AlphisMOD.Init(AlphisMOD.java:186)
          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:201)
          at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
          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:112)
          at cpw.mods.fml.common.Loader.initializeMods(Loader.java:699)
          at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249)
          at net.minecraft.client.Minecraft.startGame(Minecraft.java:509)
          at net.minecraft.client.Minecraft.run(Minecraft.java:808)
          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)
          2014-03-13 15:41:40 [Infos] [STDOUT] –-- Minecraft Crash Report ----
          2014-03-13 15:41:40 [Infos] [STDOUT] // Oh - I know what I did wrong!
          2014-03-13 15:41:40 [Infos] [STDOUT]
          2014-03-13 15:41:40 [Infos] [STDOUT] Time: 13/03/14 15:41
          2014-03-13 15:41:40 [Infos] [STDOUT] Description: Initializing game
          2014-03-13 15:41:40 [Infos] [STDOUT]
          2014-03-13 15:41:40 [Infos] [STDOUT] java.lang.NullPointerException
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.registry.ItemData.setName(ItemData.java:158)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.registry.GameData.setName(GameData.java:257)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:151)
          2014-03-13 15:41:40 [Infos] [STDOUT] at alphis.common.AlphisMOD.Init(AlphisMOD.java:186)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:699)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249)
          2014-03-13 15:41:40 [Infos] [STDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:509)
          2014-03-13 15:41:40 [Infos] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808)
          2014-03-13 15:41:40 [Infos] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
          2014-03-13 15:41:40 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
          2014-03-13 15:41:40 [Infos] [STDOUT]
          2014-03-13 15:41:40 [Infos] [STDOUT]
          2014-03-13 15:41:40 [Infos] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
          2014-03-13 15:41:40 [Infos] [STDOUT] –-------------------------------------------------------------------------------------
          2014-03-13 15:41:40 [Infos] [STDOUT]
          2014-03-13 15:41:40 [Infos] [STDOUT] – Head --
          2014-03-13 15:41:40 [Infos] [STDOUT] Stacktrace:
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.registry.ItemData.setName(ItemData.java:158)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.registry.GameData.setName(GameData.java:257)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:151)
          2014-03-13 15:41:40 [Infos] [STDOUT] at alphis.common.AlphisMOD.Init(AlphisMOD.java:186)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
          2014-03-13 15:41:40 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:699)
          2014-03-13 15:41:40 [Infos] [STDOUT] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249)
          2014-03-13 15:41:40 [Infos] [STDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:509)
          2014-03-13 15:41:40 [Infos] [STDOUT]
          2014-03-13 15:41:40 [Infos] [STDOUT] – Initialization --
          2014-03-13 15:41:40 [Infos] [STDOUT] Details:
          2014-03-13 15:41:40 [Infos] [STDOUT] Stacktrace:
          2014-03-13 15:41:40 [Infos] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808)
          2014-03-13 15:41:40 [Infos] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
          2014-03-13 15:41:40 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
          2014-03-13 15:41:40 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
          2014-03-13 15:41:40 [Infos] [STDOUT]
          2014-03-13 15:41:40 [Infos] [STDOUT] – System Details --
          2014-03-13 15:41:40 [Infos] [STDOUT] Details:
          2014-03-13 15:41:40 [Infos] [STDOUT] Minecraft Version: 1.6.4
          2014-03-13 15:41:40 [Infos] [STDOUT] Operating System: Windows 7 (amd64) version 6.1
          2014-03-13 15:41:40 [Infos] [STDOUT] Java Version: 1.7.0_51, Oracle Corporation
          2014-03-13 15:41:40 [Infos] [STDOUT] Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
          2014-03-13 15:41:40 [Infos] [STDOUT] Memory: 866521048 bytes (826 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
          2014-03-13 15:41:40 [Infos] [STDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
          2014-03-13 15:41:40 [Infos] [STDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
          2014-03-13 15:41:40 [Infos] [STDOUT] Suspicious classes: FML and Forge are installed
          2014-03-13 15:41:40 [Infos] [STDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
          2014-03-13 15:41:40 [Infos] [STDOUT] FML: MCP v8.11 FML v6.4.45.953 Minecraft Forge 9.11.1.953 4 mods loaded, 4 mods active
          2014-03-13 15:41:40 [Infos] [STDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
          2014-03-13 15:41:40 [Infos] [STDOUT] FML{6.4.45.953} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized
          2014-03-13 15:41:40 [Infos] [STDOUT] Forge{9.11.1.953} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized
          2014-03-13 15:41:40 [Infos] [STDOUT] AlphisMOD{1.0.0} [AlphisMOD] (bin) Unloaded->Constructed->Pre-initialized->Errored
          2014-03-13 15:41:40 [Infos] [STDOUT] Launched Version: 1.6
          2014-03-13 15:41:40 [Infos] [STDOUT] LWJGL: 2.9.0
          2014-03-13 15:41:40 [Infos] [STDOUT] OpenGL: Intel(R) HD Graphics GL version 2.1.0 - Build 8.15.10.2125, Intel
          2014-03-13 15:41:40 [Infos] [STDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge'
          2014-03-13 15:41:40 [Infos] [STDOUT] Type: Client (map_client.txt)
          2014-03-13 15:41:40 [Infos] [STDOUT] Resource Pack: Faithful for AlphisPVP
          2014-03-13 15:41:40 [Infos] [STDOUT] Current Language: Français (France)
          2014-03-13 15:41:40 [Infos] [STDOUT] Profiler Position: N/A (disabled)
          2014-03-13 15:41:40 [Infos] [STDOUT] Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
          2014-03-13 15:41:40 [Infos] [STDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\VoltikHD\Desktop\AlphisMOD\Modding\forge\mcp\jars\.\crash-reports\crash-2014-03-13_15.41.40-client.txt
          
          

          Classe principale :

          package alphis.common;
          
          import net.minecraft.block.Block;
          import net.minecraft.item.EnumArmorMaterial;
          import net.minecraft.item.EnumToolMaterial;
          import net.minecraft.item.Item;
          import net.minecraft.item.ItemStack;
          import net.minecraftforge.common.EnumHelper;
          import net.minecraftforge.common.MinecraftForge;
          import alphis.armors.ItemEmeraldArmor;
          import alphis.blocks.block1;
          import alphis.blocks.block20;
          import alphis.blocks.blockore1;
          import alphis.blocks.blockore2;
          import alphis.blocks.blockore3;
          import alphis.items.axe1;
          import alphis.items.axe20;
          import alphis.items.axe4;
          import alphis.items.hoe1;
          import alphis.items.hoe20;
          import alphis.items.hoe4;
          import alphis.items.item1;
          import alphis.items.item2;
          import alphis.items.item20;
          import alphis.items.item3;
          import alphis.items.pickaxe1;
          import alphis.items.pickaxe20;
          import alphis.items.pickaxe4;
          import alphis.items.shovel1;
          import alphis.items.shovel20;
          import alphis.items.shovel4;
          import alphis.items.sword1;
          import alphis.items.sword20;
          import alphis.items.sword4;
          import alphis.proxy.AlphisCommonProxy;
          import alphis.worldgen.WorldGeneratorCopper;
          import alphis.worldgen.WorldGeneratorRuby;
          import alphis.worldgen.WorldGeneratorSapphire;
          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 = "AlphisMOD", name = "AlphisMOD", version = "1.0.0", acceptedMinecraftVersions = "[1.6.4,)")
          @NetworkMod(clientSideRequired = true, serverSideRequired = false)
          
          public class AlphisMOD
          {
          @SidedProxy(clientSide = "alphis.proxy.AlphisClientProxy", serverSide = "alphis.proxy.AlphisCommonProxy")
          public static AlphisCommonProxy proxy;
          
          @Instance("AlphisMOD")
          public static AlphisMOD instance;
          
          // Copper-Cuivre
          public static Block block1;
          public static Item item1;
          public static Block blockore1;
          public static Item sword1;
          public static Item pickaxe1;
          public static Item axe1;
          public static Item shovel1;
          public static Item hoe1;
          static EnumToolMaterial Material1 = EnumHelper.addToolMaterial("Copper", 1, 200, 5.5F, 1.5F, 14);
          
          // Sapphire-Saphir
          public static Block block2;
          public static Item item2;
          public static Block blockore2;
          
          // Ruby-Rubis
          public static Block block3;
          public static Item item3;
          public static Block blockore3;
          
          // Obsidian-Obsidienne
          public static Item item20;
          public static Block block20;
          public static Item sword20;
          public static Item pickaxe20;
          public static Item axe20;
          public static Item shovel20;
          public static Item hoe20;
          static EnumToolMaterial Material20 = EnumHelper.addToolMaterial("Obsidian", 3, 5000, 10.0F, 4, 5);
          
          // Emerald-Emeraude
          public static Item sword4;
          public static Item pickaxe4;
          public static Item axe4;
          public static Item shovel4;
          public static Item hoe4;
          static EnumToolMaterial Material4 = EnumHelper.addToolMaterial("Emerald", 3, 2000, 8.5F, 3.5F, 8);
          public static Item helmet4;
          public static Item chestplate4;
          public static Item leggings4;
          public static Item boots4;
          static EnumArmorMaterial EmeraldArmor = EnumHelper.addArmorMaterial("Emerald", 35, new int[]{3, 9, 5, 3}, 8);
          @EventHandler
          public void PreInit(FMLPreInitializationEvent event)
          {
          //Configuration
          
          // Bloc/item/outil/armure - copper
          block1 = new block1(2001).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundMetalFootstep).setUnlocalizedName("CopperBlock").setTextureName("alphismod:copper_block");
          item1 = new item1(10001).setUnlocalizedName("CopperIngot").setTextureName("alphismod:copper_ingot");
          blockore1 = new blockore1(2004).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("CopperOre").setTextureName("alphismod:copper_ore");
          sword1 = new sword1(10015, Material1).setUnlocalizedName("CopperSword").setTextureName("alphismod:copper_sword");
          pickaxe1 = new pickaxe1(10016, Material1).setUnlocalizedName("CopperPickaxe").setTextureName("alphismod:copper_pickaxe");
          axe1 = new axe1(10017, Material1).setUnlocalizedName("CopperAxe").setTextureName("alphismod:copper_axe");
          shovel1 = new shovel1(10018, Material1).setUnlocalizedName("CopperShovel").setTextureName("alphismod:copper_shovel");
          hoe1 = new hoe1(10019, Material1).setUnlocalizedName("CopperHoe").setTextureName("alphismod:copper_hoe");
          
          // Bloc/item/outil/armure - sapphire
          block2 = new alphis.blocks.block2(2002).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundMetalFootstep).setUnlocalizedName("SapphireBlock").setTextureName("alphismod:sapphire_block");
          item2 = new item2(10002).setUnlocalizedName("Sapphire").setTextureName("alphismod:sapphire");
          blockore2 = new blockore2(2005).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("SapphireOre").setTextureName("alphismod:sapphire_ore");
          
          // Bloc/item/outil/armure - ruby
          block3 = new alphis.blocks.block3(2003).setHardness(5.0F).setResistance(10.0F).setStepSound(Block.soundMetalFootstep).setUnlocalizedName("RubyBlock").setTextureName("alphismod:ruby_block");
          item3 = new item3(10003).setUnlocalizedName("Ruby").setTextureName("alphismod:ruby");
          blockore3 = new blockore3(2006).setHardness(3.0F).setResistance(5.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("RubyOre").setTextureName("alphismod:ruby_ore");
          
          // Bloc/item/outil/armure - obsidian
          item20 = new item20(10004).setUnlocalizedName("ObsidianIngot").setTextureName("alphismod:obsidian_ingot");
          block20 = new block20(2007).setHardness(8.0F).setResistance(5.0F).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("MoltenObsidian").setTextureName("alphismod:molten_obsidian");
          sword20 = new sword20(10005, Material20).setUnlocalizedName("ObsidianSword").setTextureName("alphismod:obsidian_sword");
          pickaxe20 = new pickaxe20(10006, Material20).setUnlocalizedName("ObsidianPickaxe").setTextureName("alphismod:obsidian_pickaxe");
          axe20 = new axe20(10007, Material20).setUnlocalizedName("ObsidianAxe").setTextureName("alphismod:obsidian_axe");
          shovel20 = new shovel20(10008, Material20).setUnlocalizedName("ObsidianShovel").setTextureName("alphismod:obsidian_shovel");
          hoe20 = new hoe20(10009, Material20).setUnlocalizedName("ObsidianHoe").setTextureName("alphismod:obsidian_hoe");
          
          // outil/armure - Emerald
          sword4 = new sword4(10010, Material4).setUnlocalizedName("EmeraldSword").setTextureName("alphismod:emerald_sword");
          pickaxe4 = new pickaxe4(10011, Material4).setUnlocalizedName("EmeraldPickaxe").setTextureName("alphismod:emerald_pickaxe");
          axe4 = new axe4(10012, Material4).setUnlocalizedName("EmeraldAxe").setTextureName("alphismod:emerald_axe");
          shovel4 = new shovel4(10013, Material4).setUnlocalizedName("EmeraldShovel").setTextureName("alphismod:emerald_shovel");
          hoe4 = new hoe4(10014, Material4).setUnlocalizedName("EmeraldHoe").setTextureName("alphismod:emerald_hoe");
          helmet4 = new ItemEmeraldArmor(12002, EmeraldArmor, 0,0).setUnlocalizedName("EmeraldHelmet").setTextureName("alphismod:emerald_helmet");
          chestplate4 = new ItemEmeraldArmor(12003, EmeraldArmor, 0, 1).setUnlocalizedName("EmeraldChestPlate").setTextureName("alphismod:emerald_chestplate");
          leggings4 = new ItemEmeraldArmor(12004, EmeraldArmor, 0, 2).setUnlocalizedName("EmeraldLeggings").setTextureName("alphismod:emerald_leggings");
          boots4 = new ItemEmeraldArmor(12005, EmeraldArmor, 0, 3).setUnlocalizedName("EmeraldBoots").setTextureName("alphismod:emerald_boots");
          
          //Achievements
          }
          
          @EventHandler
          public void Init(FMLInitializationEvent event)
          {
          //Registry
          GameRegistry.registerBlock(block1, "block1");
          GameRegistry.registerItem(item1, "item1", "AlphisMOD");
          GameRegistry.registerBlock(blockore1, "blockore1");
          GameRegistry.registerItem(sword1, "sword1", "AlphisMOD");
          GameRegistry.registerItem(pickaxe1, "pickaxe1", "AlphisMOD");
          GameRegistry.registerItem(axe1, "axe1", "AlphisMOD");
          GameRegistry.registerItem(shovel1, "shovel1", "AlphisMOD");
          GameRegistry.registerItem(hoe1, "hoe1", "AlphisMOD");
          
          GameRegistry.registerBlock(block2, "block2");
          GameRegistry.registerItem(item2, "item2", "AlphisMOD");
          GameRegistry.registerBlock(blockore2, "blockore2");
          
          GameRegistry.registerBlock(block3, "block3");
          GameRegistry.registerItem(item3, "item3", "AlphisMOD");
          GameRegistry.registerBlock(blockore3, "blockore3");
          
          GameRegistry.registerItem(item20, "item20", "AlphisMOD");
          GameRegistry.registerBlock(block20, "block20");
          GameRegistry.registerItem(sword20, "sword20", "AlphisMOD");
          GameRegistry.registerItem(pickaxe20, "pickaxe20", "AlphisMOD");
          GameRegistry.registerItem(axe20, "axe20", "AlphisMOD");
          GameRegistry.registerItem(shovel20, "shovel20", "AlphisMOD");
          GameRegistry.registerItem(hoe20, "hoe20", "AlphisMOD");
          
          GameRegistry.registerItem(sword4, "sword4", "AlphisMOD");
          GameRegistry.registerItem(pickaxe4, "pickaxe4", "AlphisMOD");
          GameRegistry.registerItem(axe4, "axe4", "AlphisMOD");
          GameRegistry.registerItem(shovel4, "shovel4", "AlphisMOD");
          GameRegistry.registerItem(hoe4, "hoe4", "AlphisMOD");
          GameRegistry.registerItem(helmet4, "helmet4", "AlphidMOD");
          GameRegistry.registerItem(chestplate4, "chestplate4", "AlphidMOD");
          GameRegistry.registerItem(leggings4, "leggings4", "AlphidMOD");
          GameRegistry.registerItem(boots4, "boots4", "AlphidMOD");
          
          //WorldGenerator
          GameRegistry.registerWorldGenerator(new WorldGeneratorCopper());
          GameRegistry.registerWorldGenerator(new WorldGeneratorSapphire());
          GameRegistry.registerWorldGenerator(new WorldGeneratorRuby());
          
          //MinecraftForge
          MinecraftForge.setBlockHarvestLevel(block1, 0, "pickaxe", 1);
          MinecraftForge.setBlockHarvestLevel(blockore1, 0, "pickaxe", 1);
          
          MinecraftForge.setBlockHarvestLevel(block2, 0, "pickaxe", 2);
          MinecraftForge.setBlockHarvestLevel(blockore2, 0, "pickaxe", 2);
          
          MinecraftForge.setBlockHarvestLevel(block3, 0, "pickaxe", 2);
          MinecraftForge.setBlockHarvestLevel(blockore3, 0, "pickaxe", 2);
          
          MinecraftForge.setBlockHarvestLevel(block20, 0, "pickaxe", 3);
          MinecraftForge.setToolClass(pickaxe20, "pickaxe", 3);
          MinecraftForge.setToolClass(axe20, "axe", 3);
          MinecraftForge.setToolClass(shovel20, "shovel", 3);
          
          MinecraftForge.setToolClass(pickaxe4, "pickaxe", 3);
          MinecraftForge.setToolClass(axe4, "axe", 3);
          MinecraftForge.setToolClass(shovel4, "shovel", 3);
          
          //Recipes
          GameRegistry.addRecipe(new ItemStack(sword1, 1), new Object[]{" X ", " X ", " Y ", 'X', item1, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(pickaxe1, 1), new Object[]{"XXX", " Y ", " Y ", 'X', item1, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(axe1, 1), new Object[]{"XX ", "XY ", " Y ", 'X', item1, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(shovel1, 1), new Object[]{" X ", " Y ", " Y ", 'X', item1, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(hoe1, 1), new Object[]{"XX ", " Y ", " Y ", 'X', item1, 'Y', Item.stick});
          
          GameRegistry.addRecipe(new ItemStack(item20, 2), new Object[]{" X ", "XYX", " X ", 'X', block20, 'Y', Item.bucketWater});
          GameRegistry.addRecipe(new ItemStack(sword20, 1 ), new Object[]{" X ", " X ", " Y ", 'X', item20, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(pickaxe20, 1), new Object[]{"XXX", " Y ", " Y ", 'X', item20, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(axe20, 1), new Object[]{"XX ", "XY ", " Y ", 'X', item20, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(shovel20, 1), new Object[]{" X ", " Y ", " Y ", 'X', item20, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(hoe20, 1), new Object[]{"XX ", " Y ", " Y ", 'X', item20, 'Y', Item.stick});
          
          GameRegistry.addRecipe(new ItemStack(sword4, 1), new Object[]{" X ", " X ", " Y ", 'X', Item.emerald, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(pickaxe4, 1), new Object[]{"XXX", " Y ", " Y ", 'X', Item.emerald, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(axe4, 1), new Object[]{"XX ", "XY ", " Y ", 'X', Item.emerald, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(shovel4, 1), new Object[]{" X ", " Y ", " Y ", 'X', Item.emerald, 'Y', Item.stick});
          GameRegistry.addRecipe(new ItemStack(hoe4, 1), new Object[]{"XX ", " Y ", " Y ", 'X', Item.emerald, 'Y', Item.stick});
          
          //Smelting
          GameRegistry.addSmelting(blockore1.blockID, new ItemStack(item1, 1), 0.7F);
          GameRegistry.addSmelting(blockore2.blockID, new ItemStack(item2, 1), 1.0F);
          GameRegistry.addSmelting(blockore3.blockID, new ItemStack(item3, 1), 1.0F);
          GameRegistry.addSmelting(Block.obsidian.blockID, new ItemStack(block20, 1), 1.0F);
          
          //Mobs
          
          //Render
          proxy.registerRender();
          //NetWork
          
          }
          
          @EventHandler
          public void PostInit(FMLPostInitializationEvent event)
          {
          //Integration avec les autres mods
          
          }
          }
          
          

          Classe ItemEmeraldArmor :

          package alphis.armors;
          
          import alphis.common.AlphisMOD;
          import net.minecraft.entity.Entity;
          import net.minecraft.item.EnumArmorMaterial;
          import net.minecraft.item.Item;
          import net.minecraft.item.ItemArmor;
          import net.minecraft.item.ItemStack;
          
          public class ItemEmeraldArmor extends ItemArmor
          {
          public ItemEmeraldArmor(int id, EnumArmorMaterial armorMaterial, int type, int layer)
          {
          super(id, armorMaterial, type, layer);
          }
          public String getArmorTexture(ItemStack stack, Entity entity, int slot, int layer)
          {
          if(stack.itemID == AlphisMOD.leggings4.itemID)
          {
          return "alphismod:textures/models/armor/emeraldlayer_2.png";
          }
          else
          {
          return "alphismod:textures/models/armor/emerald_layer_1.png";
          }
          }
          public boolean getIsRepairable(ItemStack stack, ItemStack repairItem)
          {
          if(stack.getItem().equals(this) && repairItem.getItem().itemID == Item.emerald.itemID)
          return true;
          return false;
          }
          }
          
          

          Si vous avez besoin de plus faites le moi savoir !

          Bye !!

          
          ~~~~~~~~/ Novice dans le modding forge !…
          1 réponse Dernière réponse Répondre Citer 0
          • isadorI Hors-ligne
            isador Moddeurs confirmés Modérateurs
            dernière édition par

            normal il ne marche pas en 1.7 il faut les upgrade pour la 1.7

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

              @‘isador34’:

              normal il ne marche pas en 1.7 il faut les upgrade pour la 1.7

              Je ne suis pas en 1.7 justement

              
              ~~~~~~~~/ Novice dans le modding forge !…
              1 réponse Dernière réponse Répondre Citer 0
              • isadorI Hors-ligne
                isador Moddeurs confirmés Modérateurs
                dernière édition par

                enleve acceptedMinecraftVersions = “[1.6.4,)” et retest

                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

                  GameRegistry.registerItem(helmet4, "helmet4", "AlphidMOD");
                  GameRegistry.registerItem(chestplate4, "chestplate4", "AlphidMOD");
                  GameRegistry.registerItem(leggings4, "leggings4", "AlphidMOD");
                  GameRegistry.registerItem(boots4, "boots4", "AlphidMOD");
                  

                  Tu as écrit AlphidMOD à la place de Alphi%(#FF0000)MOD

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

                    Owiii 🙂 Merci robin !!

                    
                    ~~~~~~~~/ Novice dans le modding forge !…
                    1 réponse Dernière réponse Répondre Citer 0
                    • S Hors-ligne
                      sisidney
                      dernière édition par

                      Salut !
                      Je voudrai savoir si il était possible de mettre un modele techne en armure ?

                      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.
                        https://github.com/FFMT/nanotech_mod/blob/master/common/fr/mcnanotech/kevin_68/nanotechmod/main/items/ItemCrazyGlasses.java#L41-L46

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

                          Merci ! 🙂

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

                            Sur les bottes que j’ai creer, j’ai ajouté la fonction public ```java
                            void onArmorTickUpdate(World world, EntityPlayer player, ItemStack stack)

                            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

                              Tu as prit le code dans le tutoriel 1.7 ?
                              Il suffit juste d’enlever la condition player.isSprinting() et voila, rien de compliqué…

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

                                J’ai testé le code de la 1.7 :

                                onArmorTick
                                

                                et cela ne marchait pas du coup j’ai remonter les commentaires ici et j’ai trouvé

                                onArmorTickUpdate
                                

                                Sinon merci bien de ton aide que tu m’a apporté depuis le début.

                                Volario

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

                                MINECRAFT FORGE FRANCE © 2024

                                Powered by NodeBB