MFF

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

    Créer un item simple

    Planifier Épinglé Verrouillé Déplacé Les items
    1.8.x
    145 Messages 20 Publieurs 38.1k Vues 2 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.
    • SCAREXS Hors-ligne
      SCAREX
      dernière édition par

      Crées un sujet je pense car là il y a trop de problèmes et dedans envoies tous tes fichiers (pas en screen si possible).

      Dont :

      • classe principale
      • proxy client
      • tous les jsons en rapport avec le block
      • une hiérarchie des fichiers en screen

      Site web contenant mes scripts : http://SCAREXgaming.github.io

      Pas de demandes de support par MP ni par skype SVP.
      Je n'accepte sur skype que l…

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

        Sinon avec un zip de ton src

        Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

        AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

        Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
        Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

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

          Ok on passe à mon post “petit problème” 🙂

          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

            Est-ce qu’un correcteur peut repasser sur le tutoriel ? J’ai fais pas mal de modification pour être plus cohérent avec le tutoriel sur la base du mod et la vidéo qui va sortir demain.

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

              Une question toute bête, j’ai pas eu le temps de tester mais le tuto sur la creative tab en 1.7 fonctionne t’il toujours pour la 1.8 / 1.9 ?

              Twitter : @MVic2011

              A plus dans le bus !   ;) :P

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

                Oui, aucune modif.

                Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

                AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

                Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
                Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

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

                  bonjour à tous, 
                  je suis en train de crée un item simple, et j’en suis rendu au moment ou quand on lance le jeu normalement l’item 
                  devrait apparaitre mais sans texture, problème: 
                  la fonction   .[font=monospaceregisterItemsModels]font=monospace;dans ma classe indique une erreur et me dit de la changer en .[font=monospaceregisterItems();]

                  Que je laisse la fonction comme telle ou que je la change en [font=monospace.][font=monospaceregisterItems]font=monospace; mon minecraft crash
                  [font=monospacevoici les logs:]

                  [11:05:09] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized
                  
                  
                  
                  
                  
                  [11:05:09] [Client thread/INFO] [FML]: Replaced 204 ore recipies
                  [font=monospace]
                  [11:05:10] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                  [font=monospace]
                  [11:05:10] [Client thread/INFO] [FML]: Searching C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\mods for mods
                  [font=monospace]
                  [11:05:13] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                  [font=monospace]
                  [11:05:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at CLIENT
                  [font=monospace]
                  [11:05:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at SERVER
                  [font=monospace]
                  [11:05:15] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [FML]: Applying holder lookups
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [FML]: Holder lookups applied
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [FML]: Injecting itemstacks
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [FML]: Itemstack injection complete
                  [font=monospace]
                  [11:05:15] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
                  [font=monospace]
                  [11:05:15] [Client thread/ERROR] [FML]: 
                  [font=monospace]
                  States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                  [font=monospace]
                  UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
                  [font=monospace]
                  UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                  [font=monospace]
                  UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                  [font=monospace]
                  UCE wakfu{0.1} [Mod Minecraft] (bin) 
                  [font=monospace]
                  [11:05:15] [Client thread/ERROR] [FML]: The following problems were captured during this phase
                  [font=monospace]
                  [11:05:15] [Client thread/ERROR] [FML]: Caught exception from wakfu
                  [font=monospace]
                  java.lang.Error: Unresolved compilation problem: 
                  [font=monospace]
                  The method registerItemsModels() is undefined for the type ItemRubilax
                  [font=monospace]
                  
                  [font=monospace]
                  at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:20) ~[bin/:?]
                  [font=monospace]
                  at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33) ~[bin/:?]
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                  [font=monospace]
                  at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                  [font=monospace]
                  at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                  [font=monospace]
                  at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                  [font=monospace]
                  at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                  [font=monospace]
                  at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]
                  [font=monospace]
                  at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
                  [font=monospace]
                  at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
                  [font=monospace]
                  at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) [Minecraft.class:?]
                  [font=monospace]
                  at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
                  [font=monospace]
                  at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
                  [font=monospace]
                  at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                  [font=monospace]
                  at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                  [font=monospace]
                  at GradleStart.main(GradleStart.java:26) [start/:?]
                  [font=monospace]
                  [11:05:15] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: –-- Minecraft Crash Report ----
                  [font=monospace]
                  // Would you like a cupcake?
                  [font=monospace]
                  
                  [font=monospace]
                  Time: 16/06/16 11:05
                  [font=monospace]
                  Description: There was a severe problem during mod loading that has caused the game to fail
                  [font=monospace]
                  
                  [font=monospace]
                  net.minecraftforge.fml.common.LoaderException: java.lang.Error: Unresolved compilation problem: 
                  [font=monospace]
                  The method registerItemsModels() is undefined for the type ItemRubilax
                  [font=monospace]
                  
                  [font=monospace]
                  at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162)
                  [font=monospace]
                  at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559)
                  [font=monospace]
                  at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
                  [font=monospace]
                  at net.minecraft.client.Minecraft.startGame(Minecraft.java:451)
                  [font=monospace]
                  at net.minecraft.client.Minecraft.run(Minecraft.java:360)
                  [font=monospace]
                  at net.minecraft.client.main.Main.main(Main.java:116)
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  [font=monospace]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  [font=monospace]
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  [font=monospace]
                  at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
                  [font=monospace]
                  at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  [font=monospace]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  [font=monospace]
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  [font=monospace]
                  at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
                  [font=monospace]
                  at GradleStart.main(GradleStart.java:26)
                  [font=monospace]
                  Caused by: java.lang.Error: Unresolved compilation problem: 
                  [font=monospace]
                  The method registerItemsModels() is undefined for the type ItemRubilax
                  [font=monospace]
                  
                  [font=monospace]
                  at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:20)
                  [font=monospace]
                  at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33)
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  [font=monospace]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  [font=monospace]
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  [font=monospace]
                  at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  [font=monospace]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  [font=monospace]
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  [font=monospace]
                  at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
                  [font=monospace]
                  at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                  [font=monospace]
                  at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
                  [font=monospace]
                  at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  [font=monospace]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  [font=monospace]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                  [font=monospace]
                  at java.lang.reflect.Method.invoke(Unknown Source)
                  [font=monospace]
                  at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
                  [font=monospace]
                  at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                  [font=monospace]
                  at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                  [font=monospace]
                  at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
                  [font=monospace]
                  at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)
                  [font=monospace]
                  … 16 more
                  [font=monospace]
                  
                  [font=monospace]
                  
                  [font=monospace]
                  A detailed walkthrough of the error, its code path and all known details is as follows:
                  [font=monospace]
                  –-------------------------------------------------------------------------------------
                  [font=monospace]
                  
                  [font=monospace]
                  – System Details --
                  [font=monospace]
                  Details:
                  [font=monospace]
                  Minecraft Version: 1.8.9
                  [font=monospace]
                  Operating System: Windows 10 (amd64) version 10.0
                  [font=monospace]
                  Java Version: 1.8.0_91, Oracle Corporation
                  [font=monospace]
                  Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                  [font=monospace]
                  Memory: 885161272 bytes (844 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
                  [font=monospace]
                  JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                  [font=monospace]
                  IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                  [font=monospace]
                  FML: MCP 9.19 Powered by Forge 11.15.1.1722 4 mods loaded, 4 mods active
                  [font=monospace]
                  States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                  [font=monospace]
                  UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
                  [font=monospace]
                  UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                  [font=monospace]
                  UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                  [font=monospace]
                  UCE wakfu{0.1} [Mod Minecraft] (bin) 
                  [font=monospace]
                  Loaded coremods (and transformers): 
                  [font=monospace]
                  GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4331' Renderer: 'Intel(R) HD Graphics 4400'
                  [font=monospace]
                  [11:05:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\.\crash-reports\crash-2016-06-16_11.05.15-client.txt
                  Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                  

                  Modélisateur sur son temps libre.

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

                    Envoie ta classe, le crash dit seulement que ta fonction n’existe pas (et c’est quoi tout ces font et color ?)

                    1 réponse Dernière réponse Répondre Citer 1
                    • TristepinT Hors-ligne
                      Tristepin
                      dernière édition par

                      tiens voici la classe

                      package fr.premiermod.minecraft.items;
                      
                      import net.minecraft.creativetab.CreativeTabs;
                      import net.minecraft.item.Item;
                      import net.minecraftforge.fml.common.registry.GameRegistry;
                      
                      public class Wakfuitems 
                      {
                        public static final Item Rubilax = new ItemRubilax().setUnlocalizedName("Rubilax").setCreativeTab(CreativeTabs.tabMisc);
                      
                        public static void registerItems()
                        {
                       GameRegistry.registerItem(Rubilax, "rubilax_item");
                        }
                      }
                      

                      oh wait tu as raison c’était pas dans mes logs tout ça xD

                      [11:05:09] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized
                      [11:05:09] [Client thread/INFO] [FML]: Replaced 204 ore recipies
                      [11:05:10] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                      [11:05:10] [Client thread/INFO] [FML]: Searching C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\mods for mods
                      [11:05:13] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                      [11:05:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at CLIENT
                      [11:05:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at SERVER
                      [11:05:15] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft
                      [11:05:15] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                      [11:05:15] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
                      [11:05:15] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
                      [11:05:15] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
                      [11:05:15] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                      [11:05:15] [Client thread/INFO] [FML]: Applying holder lookups
                      [11:05:15] [Client thread/INFO] [FML]: Holder lookups applied
                      [11:05:15] [Client thread/INFO] [FML]: Injecting itemstacks
                      [11:05:15] [Client thread/INFO] [FML]: Itemstack injection complete
                      [11:05:15] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
                      [11:05:15] [Client thread/ERROR] [FML]: 
                      States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                      UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
                      UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                      UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                      UCE wakfu{0.1} [Mod Minecraft] (bin) 
                      [11:05:15] [Client thread/ERROR] [FML]: The following problems were captured during this phase
                      [11:05:15] [Client thread/ERROR] [FML]: Caught exception from wakfu
                      java.lang.Error: Unresolved compilation problem: 
                      The method registerItemsModels() is undefined for the type ItemRubilax
                      
                      at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:20) ~[bin/:?]
                      at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33) ~[bin/:?]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                      at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                      at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                      at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                      at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                      at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                      at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                      at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                      at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                      at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]
                      at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
                      at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
                      at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) [Minecraft.class:?]
                      at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
                      at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                      at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
                      at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                      at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                      at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                      at GradleStart.main(GradleStart.java:26) [start/:?]
                      [11:05:15] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
                      [11:05:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: –-- Minecraft Crash Report ----
                      // Would you like a cupcake?
                      
                      Time: 16/06/16 11:05
                      Description: There was a severe problem during mod loading that has caused the game to fail
                      
                      net.minecraftforge.fml.common.LoaderException: java.lang.Error: Unresolved compilation problem: 
                      The method registerItemsModels() is undefined for the type ItemRubilax
                      
                      at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162)
                      at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559)
                      at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
                      at net.minecraft.client.Minecraft.startGame(Minecraft.java:451)
                      at net.minecraft.client.Minecraft.run(Minecraft.java:360)
                      at net.minecraft.client.main.Main.main(Main.java:116)
                      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:135)
                      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                      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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
                      at GradleStart.main(GradleStart.java:26)
                      Caused by: java.lang.Error: Unresolved compilation problem: 
                      The method registerItemsModels() is undefined for the type ItemRubilax
                      
                      at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:20)
                      at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33)
                      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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
                      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.EventSubscriber.handleEvent(EventSubscriber.java:74)
                      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                      at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
                      at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
                      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.EventSubscriber.handleEvent(EventSubscriber.java:74)
                      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                      at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
                      at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)
                      ... 16 more
                      
                      A detailed walkthrough of the error, its code path and all known details is as follows:
                      ---------------------------------------------------------------------------------------
                      
                      -- System Details --
                      Details:
                      Minecraft Version: 1.8.9
                      Operating System: Windows 10 (amd64) version 10.0
                      Java Version: 1.8.0_91, Oracle Corporation
                      Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                      Memory: 885161272 bytes (844 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
                      JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                      IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                      FML: MCP 9.19 Powered by Forge 11.15.1.1722 4 mods loaded, 4 mods active
                      States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                      UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
                      UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                      UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                      UCE wakfu{0.1} [Mod Minecraft] (bin) 
                      Loaded coremods (and transformers): 
                      GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4331' Renderer: 'Intel(R) HD Graphics 4400'
                      [11:05:15] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\.\crash-reports\crash-2016-06-16_11.05.15-client.txt
                      Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                      

                      je pense que ce sera mieux comme ça 😉

                      Modélisateur sur son temps libre.

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

                        Le fonction dans la classe de ton item se nomme registerItems() alors pourquoi essayes-tu de mettre registerItemsModels() ? ça crash car tu appelle une fonction qui n’existe pas dans la classe de ton item.
                        Tu as dit que ça crash même quand tu mets registerItems() ? Envoie les logs après avoir mis cette fonction.

                        Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

                        AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

                        Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
                        Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

                        1 réponse Dernière réponse Répondre Citer 1
                        • TristepinT Hors-ligne
                          Tristepin
                          dernière édition par

                          En fait je met la fonction registerItemsModels simplement car elle est dans le tutoriel^^ mais je n’arrive pas à comprendre son utilité surtout si elle
                          me fait crash.

                          voici les logs:

                          [11:35:13] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized
                          [11:35:13] [Client thread/INFO] [FML]: Replaced 204 ore recipies
                          [11:35:14] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                          [11:35:14] [Client thread/INFO] [FML]: Searching C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\mods for mods
                          [11:35:18] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                          [11:35:20] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at CLIENT
                          [11:35:20] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wakfu] at SERVER
                          [11:35:23] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft
                          [11:35:24] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                          [11:35:24] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
                          [11:35:24] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
                          [11:35:24] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
                          [11:35:24] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                          [11:35:24] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
                          [11:35:24] [Client thread/INFO] [FML]: Applying holder lookups
                          [11:35:24] [Client thread/INFO] [FML]: Holder lookups applied
                          [11:35:24] [Client thread/INFO] [FML]: Injecting itemstacks
                          [11:35:24] [Client thread/INFO] [FML]: Itemstack injection complete
                          [11:35:24] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
                          [11:35:24] [Client thread/ERROR] [FML]: 
                          States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                          UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
                          UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                          UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                          UCE wakfu{0.1} [Mod Minecraft] (bin) 
                          [11:35:24] [Client thread/ERROR] [FML]: The following problems were captured during this phase
                          [11:35:24] [Client thread/ERROR] [FML]: Caught exception from wakfu
                          java.lang.IllegalArgumentException: The name minecraft:stone has been registered twice, for net.minecraft.item.ItemMultiTexture@47e60b71 and net.minecraft.item.ItemMultiTexture@27a57c66.
                          at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:455) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                          at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:195) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                          at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:29) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                          at net.minecraft.item.Item.registerItem(Item.java:1646) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                          at net.minecraft.item.Item.registerItemBlock(Item.java:1635) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                          at net.minecraft.item.Item.registerItems(Item.java:1180) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                          at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:18) ~[bin/:?]
                          at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33) ~[bin/:?]
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                          at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                          at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                          at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                          at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                          at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                          at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) ~[forgeSrc-1.8.9-11.15.1.1722.jar:?]
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                          at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                          at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                          at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                          at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]
                          at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) [Loader.class:?]
                          at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
                          at net.minecraft.client.Minecraft.startGame(Minecraft.java:451) [Minecraft.class:?]
                          at net.minecraft.client.Minecraft.run(Minecraft.java:360) [Minecraft.class:?]
                          at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                          at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
                          at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
                          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
                          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
                          at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                          at GradleStart.main(GradleStart.java:26) [start/:?]
                          [11:35:24] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: –-- Minecraft Crash Report ----
                          // Surprise! Haha. Well, this is awkward.
                          
                          Time: 16/06/16 11:35
                          Description: Initializing game
                          
                          java.lang.IllegalArgumentException: The name minecraft:stone has been registered twice, for net.minecraft.item.ItemMultiTexture@47e60b71 and net.minecraft.item.ItemMultiTexture@27a57c66.
                          at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:455)
                          at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:195)
                          at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:29)
                          at net.minecraft.item.Item.registerItem(Item.java:1646)
                          at net.minecraft.item.Item.registerItemBlock(Item.java:1635)
                          at net.minecraft.item.Item.registerItems(Item.java:1180)
                          at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:18)
                          at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33)
                          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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
                          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.EventSubscriber.handleEvent(EventSubscriber.java:74)
                          at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                          at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                          at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
                          at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
                          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.EventSubscriber.handleEvent(EventSubscriber.java:74)
                          at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                          at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                          at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
                          at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)
                          at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
                          at net.minecraft.client.Minecraft.startGame(Minecraft.java:451)
                          at net.minecraft.client.Minecraft.run(Minecraft.java:360)
                          at net.minecraft.client.main.Main.main(Main.java:116)
                          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:135)
                          at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                          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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
                          at GradleStart.main(GradleStart.java:26)
                          
                          A detailed walkthrough of the error, its code path and all known details is as follows:
                          ---------------------------------------------------------------------------------------
                          
                          -- Head --
                          Stacktrace:
                          at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:455)
                          at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:195)
                          at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:29)
                          at net.minecraft.item.Item.registerItem(Item.java:1646)
                          at net.minecraft.item.Item.registerItemBlock(Item.java:1635)
                          at net.minecraft.item.Item.registerItems(Item.java:1180)
                          at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:18)
                          at fr.premiermod.minecraft.ModMinecraft.preInit(ModMinecraft.java:33)
                          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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
                          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.EventSubscriber.handleEvent(EventSubscriber.java:74)
                          at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                          at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                          at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
                          at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
                          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.EventSubscriber.handleEvent(EventSubscriber.java:74)
                          at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                          at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                          at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
                          at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)
                          at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
                          at net.minecraft.client.Minecraft.startGame(Minecraft.java:451)
                          
                          -- Initialization --
                          Details:
                          Stacktrace:
                          at net.minecraft.client.Minecraft.run(Minecraft.java:360)
                          at net.minecraft.client.main.Main.main(Main.java:116)
                          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:135)
                          at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                          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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
                          at GradleStart.main(GradleStart.java:26)
                          
                          -- System Details --
                          Details:
                          Minecraft Version: 1.8.9
                          Operating System: Windows 10 (amd64) version 10.0
                          Java Version: 1.8.0_91, Oracle Corporation
                          Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                          Memory: 899417936 bytes (857 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
                          JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                          IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                          FML: MCP 9.19 Powered by Forge 11.15.1.1722 4 mods loaded, 4 mods active
                          States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                          UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
                          UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                          UCH Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) 
                          UCE wakfu{0.1} [Mod Minecraft] (bin) 
                          Loaded coremods (and transformers): 
                          GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4331' Renderer: 'Intel(R) HD Graphics 4400'
                          Launched Version: 1.8.9
                          LWJGL: 2.9.4
                          OpenGL: Intel(R) HD Graphics 4400 GL version 4.3.0 - Build 20.19.15.4331, Intel
                          GL Caps: Using GL 1.3 multitexturing.
                          Using GL 1.3 texture combiners.
                          Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
                          Shaders are available because OpenGL 2.1 is supported.
                          VBOs are available because OpenGL 1.5 is supported.
                          
                          Using VBOs: No
                          Is Modded: Definitely; Client brand changed to 'fml,forge'
                          Type: Client (map_client.txt)
                          Resource Packs: 
                          Current Language: English (US)
                          Profiler Position: N/A (disabled)
                          CPU: 4x Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
                          [11:35:24] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\stephanie\Documents\quentin\Modding\forge-1.8.9\run\.\crash-reports\crash-2016-06-16_11.35.24-client.txt
                          Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                          
                          

                          Modélisateur sur son temps libre.

                          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

                            java.lang.IllegalArgumentException: The name minecraft:stone has been registered twice, for net.minecraft.item.ItemMultiTexture@47e60b71 and net.minecraft.item.ItemMultiTexture@27a57c66.
                            at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:455)
                            at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:195)
                            at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.register(FMLControlledNamespacedRegistry.java:29)
                            at net.minecraft.item.Item.registerItem(Item.java:1646)
                            at net.minecraft.item.Item.registerItemBlock(Item.java:1635)
                            at net.minecraft.item.Item.registerItems(Item.java:1180)
                            at fr.premiermod.minecraft.client.PremierModClient.preInit(PremierModClient.java:18)
                            

                            Tu as quoi à la ligne 18 de PremierModClient ?

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

                              ItemRubilax.registerItems();

                              dans la fonction preinit

                              Modélisateur sur son temps libre.

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

                                Tu appelles la fonction statique de la classe Item qui permet d’enregistrer les items de minecraft, je pense que ce n’est pas ce que tu veux

                                Site web contenant mes scripts : http://SCAREXgaming.github.io

                                Pas de demandes de support par MP ni par skype SVP.
                                Je n'accepte sur skype que l…

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

                                  Il faut mettre Wakfuitems.registerItems();

                                  1 réponse Dernière réponse Répondre Citer 1
                                  • TristepinT Hors-ligne
                                    Tristepin
                                    dernière édition par

                                    Merci beaucoup pour votre aide ça marche maintenant 😉

                                    je fais une p’tite pause casse croute et je mis remet,

                                    Modélisateur sur son temps libre.

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

                                      Petit soucis la texture s’affiche pas je comprend pas…

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

                                        “Ça marche pas, je sais pas pourquoi, je vous donne pas plus d’informations, devinez par vous même”

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

                                          fichier json qui se situe dans wl/models/item:

                                          
                                          {
                                              "parent": "builtin/generated",
                                              "textures": {
                                                  "layer0": "wl:items/itemwater"
                                              },
                                              "display": {
                                                  "thirdperson": {
                                                      "rotation": [ 0, 90, -35 ],
                                                      "translation": [ 0, 1.25, -3.5 ],
                                                      "scale": [ 0.85, 0.85, 0.85 ]
                                                  },
                                                  "firstperson": {
                                                      "rotation": [ 0, -135, 25 ],
                                                      "translation": [ 0, 4, 2 ],
                                                      "scale": [ 1.7, 1.7, 1.7 ]
                                                  }
                                              }
                                          }
                                          
                                          

                                          Texture qui se situe dans: wl/textures/items

                                          Client proxy:

                                          
                                            }
                                          
                                              @Override
                                              public void registerRender() {
                                                  RenderItem registerMesher = Minecraft.getMinecraft().getRenderItem();
                                                  registerMesher.getItemModelMesher().register(WasteLandMod.INSTANCE.wastelandmoditems.itemwater, 0, new ModelResourceLocation(WasteLandMod.MODID + ":itemwater", "inventory"));
                                                  registerMesher.getItemModelMesher().register(WasteLandMod.INSTANCE.wastelandmoditems.trousseaoutils, 0, new ModelResourceLocation(WasteLandMod.MODID + ":trousseaoutils", "inventory"));
                                              }
                                          
                                              @Override
                                              public void registerTileEntityRender() {}
                                          
                                          

                                          Classe principale:

                                          public WasteLandModItems wastelandmoditems;
                                          
                                          @Instance
                                          public static WasteLandMod modInstance;
                                          
                                          //Register block and item:
                                          
                                          //*
                                          
                                          @EventHandler
                                          public void preInit(FMLPreInitializationEvent event){
                                          proxy.preInit(event);
                                          //Items:
                                          wastelandmoditems = new WasteLandModItems();
                                          //*
                                          
                                          //Blocks;
                                          
                                          //*
                                          
                                          //GameRegister:
                                          
                                          //*
                                          
                                          //network:
                                          network = NetworkRegistry.INSTANCE.newSimpleChannel("wl:");
                                          network.registerMessage(PacketGUIEquipe.Handler.class, PacketGUIEquipe.class, 0, Side.CLIENT);
                                          network.registerMessage(PacketCommandsBluFor.Handler.class, PacketCommandsBluFor.class, 1, Side.SERVER);
                                          network.registerMessage(PacketGUISpawnMaxwell.Handler.class, PacketGUISpawnMaxwell.class, 2, Side.SERVER);
                                          network.registerMessage(PacketGUIBluFor.Handler.class, PacketGUIBluFor.class, 3, Side.SERVER);
                                          network.registerMessage(PacketGUIOpFor.Handler.class, PacketGUIOpFor.class, 4, Side.SERVER);
                                          network.registerMessage(PacketCommandsOpFor.Handler.class, PacketCommandsOpFor.class, 5, Side.SERVER);
                                          network.registerMessage(PacketCommandsIndependant.Handler.class, PacketCommandsIndependant.class, 6, Side.SERVER);
                                          network.registerMessage(PacketGUIIndependant.Handler.class, PacketGUIIndependant.class, 7, Side.SERVER);
                                          network.registerMessage(PacketMoney.ClientHandler.class, PacketMoney.class, 8, Side.CLIENT);
                                          network.registerMessage(PacketMoney.ServerHandler.class, PacketMoney.class, 8, Side.SERVER);
                                          network.registerMessage(PacketWater.ClientHandler.class, PacketWater.class, 9, Side.CLIENT);
                                          network.registerMessage(PacketWater.ServerHandler.class, PacketWater.class, 9, Side.SERVER);
                                          network.registerMessage(PacketInv.ClientHandler.class, PacketInv.class, 10, Side.CLIENT);
                                          network.registerMessage(PacketInv.ServerHandler.class, PacketInv.class, 10, Side.SERVER);
                                          network.registerMessage(PacketOpenInv.Handler.class, PacketOpenInv.class, 11, Side.SERVER);
                                          
                                          //*
                                          }
                                          

                                          WasteLandModItems:

                                          public class WasteLandModItems {
                                          
                                          public Item trousseaoutils;
                                          public Item itemwater;
                                          
                                          public WasteLandModItems(){
                                          trousseaoutils = new Trousseaoutils();
                                          itemwater = new ItemWater();
                                          
                                          GameRegistry.registerItem(trousseaoutils, "trousseaoutils");
                                          GameRegistry.registerItem(itemwater, "itemwater");
                                          }
                                          
                                          }
                                          
                                          

                                          Et bien sûr les deux class (trousseaoutils et itemwater) sont extends Item.

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

                                            Quand tu dis que les jsons sont dans " wl/models/item", c’est qu’ils sont dans “src/main/resources/assets/ wl/models/item”, c’est ça ?

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

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB