MFF

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

    Les recettes

    Planifier Épinglé Verrouillé Déplacé Les bases
    1.6.x
    91 Messages 27 Publieurs 45.4k 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.
    • Superloup10S Hors-ligne
      Superloup10 Modérateurs
      dernière édition par

      Remplace java GameRegistry.addShapedRecipe par ```java
      GameRegistry.addRecipe

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

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

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

        Non SuperLoup, le problème ne vient pas de là.
        Le problème est ici :
        public void Init(FMLPreInitializationEvent event){
        ça devrait être :
        public void Init(FMLInitializationEvent event){
        Actuellement la recette est chargé avant le bloc, d’où le NPE.

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

          Merci beaucoup… Erreur un peu stupide 😕 De plus, dans un autre mod-test mes recettes marchaient et là je ne comprenait vraiment pas pourquoi… Merci encore 😄

          #Merci pour l'aide !(Merci pour l'aide !)

          Jimkick3v :D

          Ma chaîne Youtube : http://youtube.com/user/Jimkick3v

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

            Salut, pour ceux qui ont besoin de créer une recette avec des outils, comme par exemple, un outil amélioré, vous pouvez remarquer que si l’outil est endommagé, la recette ne fonctionne plus. Pour remédier à cela :

            
            GameRegistry.addRecipe(new ItemStack(ItemAmeliore), new Object[]{"X", "X", "Y", 'X', Items.cookie,
            'Y', new ItemStack(Item, 1, Short.MAX_VALUE)});
            
            

            System.crash(); //Petite instruction marrante  :D

            Développeur de : RemoveHUDbut…

            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

              Short.MAX_VALUE est en effet utilisé pour désigner tout les métadatas, et l’usure des outils passent par les metadatas.

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

                ce tuto marche pour la 1.7 ?

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

                  Oui 🙂

                  Moddeur à la retraite et développeur de trucs en Java.

                  J'aide les gens comme je peux, alors si mon message v…

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

                    merci:)

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

                      Salut, je ne comprend pas, je fait mes recettes, toute marche, sauf une qui me fait crasher minecraft…

                           GameRegistry.addRecipe(new ItemStack(StuffAnneauBouftou), new Object[]{"XYZ", 'X', ModDofus.ItemOeilBoufton, //Ligne 424
                      
                               'Y', ModDofus.ItemOeilBouftou, 'Z', ModDofus.ItemDentChefGuerre});
                      

                      Je ne comprend pas pourquoi ELLE, toute les autres sont sur la même base…

                      at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:236)
                      at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244)
                      at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:239)
                      at com.google.moddofus.core.ModDofus.init(ModDofus.java:424)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:483)
                      at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:483)
                      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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
                      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:483)
                      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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
                      at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
                      at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
                      at net.minecraft.client.Minecraft.startGame(Minecraft.java:586)
                      
                      

                      >! Bonjour/Bonsoir,
                      >! Vous désirez un Modèle ou une Texture pour votre Mod ? Vous pouvez faire un…

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

                        @‘UnknowOrigin’:

                        Salut, je ne comprend pas, je fait mes recettes, toute marche, sauf une qui me fait crasher minecraft…

                             GameRegistry.addRecipe(new ItemStack(StuffAnneauBouftou), new Object[]{"XYZ", 'X', ModDofus.ItemOeilBoufton, //Ligne 424
                        
                                 'Y', ModDofus.ItemOeilBouftou, 'Z', ModDofus.ItemDentChefGuerre});
                        

                        Je ne comprend pas pourquoi ELLE, toute les autres sont sur la même base…

                        at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:236)
                        at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244)
                        at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:239)
                        at com.google.moddofus.core.ModDofus.init(ModDofus.java:424)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        at java.lang.reflect.Method.invoke(Method.java:483)
                        at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        at java.lang.reflect.Method.invoke(Method.java:483)
                        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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
                        at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        at java.lang.reflect.Method.invoke(Method.java:483)
                        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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
                        at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
                        at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
                        at net.minecraft.client.Minecraft.startGame(Minecraft.java:586)
                        
                        

                        Il n’y a qu’une seule ligne de ton craft, rajoute les 3.

                        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
                        • KujarothK Hors-ligne
                          Kujaroth
                          dernière édition par

                          Même avec les trois ça ne se lance pas, et pas obliger de mettre les 3 lignes, là ça veux dire que tu peux mettre les 3 ressources a la suite horizontalement, peut importe la ligne où le craft est fait.

                          >! Bonjour/Bonsoir,
                          >! Vous désirez un Modèle ou une Texture pour votre Mod ? Vous pouvez faire un…

                          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

                            Le crash est incomplet, il manque l’exception …

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

                              [16:39:19] [Client thread/ERROR] [FML]: Caught exception from moddofus
                              java.lang.NullPointerException
                              at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:236) ~[forgeSrc-1.7.10-10.13.2.1291.jar:?]
                              at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244) ~[forgeSrc-1.7.10-10.13.2.1291.jar:?]
                              at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:239) ~[forgeSrc-1.7.10-10.13.2.1291.jar:?]
                              at com.google.moddofus.core.ModDofus.init(ModDofus.java:424) ~[bin/:?]
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31]
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_31]
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_31]
                              at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_31]
                              at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[forgeSrc-1.7.10-10.13.2.1291.jar:?]
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31]
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_31]
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_31]
                              at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_31]
                              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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[forgeSrc-1.7.10-10.13.2.1291.jar:?]
                              at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[forgeSrc-1.7.10-10.13.2.1291.jar:?]
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31]
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_31]
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_31]
                              at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_31]
                              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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]
                              at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691) [Loader.class:?]
                              at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288) [FMLClientHandler.class:?]
                              at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]
                              at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
                              at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31]
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_31]
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_31]
                              at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_31]
                              at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
                              at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
                              at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
                              at GradleStart.main(GradleStart.java:45) [start/:?]
                              [16:39:19] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
                              // But it works on my machine.
                              
                              Time: 08/03/15 16:39
                              Description: Initializing game
                              
                              java.lang.NullPointerException: Initializing game
                              at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:236)
                              at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244)
                              at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:239)
                              at com.google.moddofus.core.ModDofus.init(ModDofus.java:424)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.lang.reflect.Method.invoke(Method.java:483)
                              at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.lang.reflect.Method.invoke(Method.java:483)
                              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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
                              at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.lang.reflect.Method.invoke(Method.java:483)
                              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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
                              at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
                              at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
                              at net.minecraft.client.Minecraft.startGame(Minecraft.java:586)
                              at net.minecraft.client.Minecraft.run(Minecraft.java:931)
                              at net.minecraft.client.main.Main.main(Main.java:164)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.lang.reflect.Method.invoke(Method.java:483)
                              at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
                              at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                              at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
                              at GradleStart.main(GradleStart.java:45)
                              
                              A detailed walkthrough of the error, its code path and all known details is as follows:
                              ---------------------------------------------------------------------------------------
                              
                              -- Head --
                              Stacktrace:
                              at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:236)
                              at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244)
                              at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:239)
                              at com.google.moddofus.core.ModDofus.init(ModDofus.java:424)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.lang.reflect.Method.invoke(Method.java:483)
                              at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.lang.reflect.Method.invoke(Method.java:483)
                              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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
                              at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.lang.reflect.Method.invoke(Method.java:483)
                              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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
                              at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
                              at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
                              at net.minecraft.client.Minecraft.startGame(Minecraft.java:586)
                              
                              -- Initialization --
                              Details:
                              Stacktrace:
                              at net.minecraft.client.Minecraft.run(Minecraft.java:931)
                              at net.minecraft.client.main.Main.main(Main.java:164)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.lang.reflect.Method.invoke(Method.java:483)
                              at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
                              at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                              at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
                              at GradleStart.main(GradleStart.java:45)
                              

                              Voilà ^^’

                              >! Bonjour/Bonsoir,
                              >! Vous désirez un Modèle ou une Texture pour votre Mod ? Vous pouvez faire un…

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

                                Donne la ligne 424 de ModDofus

                                Moddeur à la retraite et développeur de trucs en Java.

                                J'aide les gens comme je peux, alors si mon message v…

                                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 un NPE, donc un des items que tu utilises dans la recette est null.

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

                                    Effectivement, merci, c’etait l’oeil de bouftou ><

                                    >! Bonjour/Bonsoir,
                                    >! Vous désirez un Modèle ou une Texture pour votre Mod ? Vous pouvez faire un…

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

                                      suite a ton tuto, si on veut prendre le stick pour faire le manche d’une épée, il faut creer le stick ? ou faut importer ? si oui, importer quelle bibliothèque ?

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

                                        importer des bibliothèques ?! Toutes les libraries dont tu as besoin sont incluses, si tu veux faire un craft avec des sticks, il faut juste faire Items.stick et importer net.minecraft.init.Items, mais çà eclipse le fait tout seul.

                                        Exemple :
                                        GameRegistry.addRecipe(new ItemStack(tonEpee), “I”, “I”, “X”, ‘I’, tonItem, ‘X’, Items.stick) et c’est bon.

                                        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
                                        • S Hors-ligne
                                          sventus
                                          dernière édition par

                                          J’ai du mal écrire alors je pense car il me semblait que c’est ce que j’avais fait

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

                                            GameRegistry.addRecipe(new ItemStack(swordrubis), new Object[]{" X ", " X ", " Y ", ‘X’, new ItemStack(itemrubis), ‘Y’, ItemStack(Items.stick)});

                                            le .stick reste sous ligné et si j’import net.minecraft.init.Items

                                            j’ai une erreur au niveau de setUnlocalizedName

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

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB