• S'inscrire
    • Se connecter
    • Recherche
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes

    Résolu Mod qui crash

    Support pour les utilisateurs
    2
    6
    280
    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.
    • V
      vinvin40220 dernière édition par robin4002

      salut, j’ai crée un mod avec éclipse, mais quand j’appuis sur le bouton pour lancer le jeu sa marche pas voici le rapport de crash :

      ---- Minecraft Crash Report ----
      // I let you down. Sorry :(
      
      Time: 16/06/19 17:17
      Description: Initializing game
      
      java.lang.NullPointerException: Can't add null-object to the registry, name rhodium:speed_upgrade.
      	at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
      	at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849)
      	at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812)
      	at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149)
      	at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)
      	at fr.vinvin40220.Rhodium.init.ItemMod.registrer(ItemMod.java:107)
      	at fr.vinvin40220.Rhodium.ModRhodium.preinit(ModRhodium.java:42)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
      	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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
      	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
      	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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
      	at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
      	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
      	at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
      	at net.minecraft.client.Minecraft.run(Minecraft.java:942)
      	at net.minecraft.client.main.Main.main(Main.java:164)
      	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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
      	at GradleStart.main(Unknown Source)
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- Head --
      Stacktrace:
      	at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:384)
      	at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849)
      	at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812)
      	at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149)
      	at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137)
      	at fr.vinvin40220.Rhodium.init.ItemMod.registrer(ItemMod.java:107)
      	at fr.vinvin40220.Rhodium.ModRhodium.preinit(ModRhodium.java:42)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
      	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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
      	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
      	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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
      	at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
      	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
      	at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
      
      -- Initialization --
      Details:
      Stacktrace:
      	at net.minecraft.client.Minecraft.run(Minecraft.java:942)
      	at net.minecraft.client.main.Main.main(Main.java:164)
      	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 net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
      	at GradleStart.main(Unknown Source)
      
      -- System Details --
      Details:
      	Minecraft Version: 1.7.10
      	Operating System: Windows 10 (amd64) version 10.0
      	Java Version: 1.8.0_181, Oracle Corporation
      	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
      	Memory: 819860864 bytes (781 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
      	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
      	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      	FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 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.05} [Minecraft Coder Pack] (minecraft.jar) 
      	UCH	FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
      	UCH	Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
      	UCE	rhodium{1.0.0} [Rhodium] (bin) 
      	GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.4835' Renderer: 'Intel(R) HD Graphics 5500'
      	Launched Version: 1.7.10
      	LWJGL: 2.9.1
      	OpenGL: Intel(R) HD Graphics 5500 GL version 4.4.0 - Build 20.19.15.4835, Intel
      	GL Caps: Using GL 1.3 multitexturing.
      Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
      Anisotropic filtering is supported and maximum anisotropy is 16.
      Shaders are available because OpenGL 2.1 is supported.
      
      	Is Modded: Definitely; Client brand changed to 'fml,forge'
      	Type: Client (map_client.txt)
      	Resource Packs: []
      	Current Language: Français (France)
      	Profiler Position: N/A (disabled)
      	Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      	Anisotropic Filtering: Off (1)
      

      C'est en faisant des erreurs qu'on apprend, alors ne vous moquez pas de moi svp !!!

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

        Donc en effet ce n’est jamais initialisé, il n’y a pas de ligne speed_upgrade = new ....

        Merci de mettre la balise code à l’avenir pour des questions de lisibilité.

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

          Salut,
          L’item que tu essais d’enregistrer n’est jamais initialisé.
          Envoies ta classe ItemMod

          1 réponse Dernière réponse Répondre Citer 0
          • V
            vinvin40220 dernière édition par robin4002

            package fr.vinvin40220.Rhodium.init;
            
            import cpw.mods.fml.common.registry.GameRegistry;
            import fr.vinvin40220.Rhodium.ModRhodium;
            import fr.vinvin40220.Rhodium.Reference;
            import fr.vinvin40220.Rhodium.items.ItemArmorNightVision;
            import fr.vinvin40220.Rhodium.items.ItemArmorRhodium;
            import fr.vinvin40220.Rhodium.items.ItemArmorSpeed;
            import fr.vinvin40220.Rhodium.items.ItemAxeRhodium;
            import fr.vinvin40220.Rhodium.items.ItemChestRadar;
            import fr.vinvin40220.Rhodium.items.ItemFoodRhodium;
            import fr.vinvin40220.Rhodium.items.ItemHeal;
            import fr.vinvin40220.Rhodium.items.ItemPickaxeRhodium;
            import fr.vinvin40220.Rhodium.items.ItemSeedMod;
            import fr.vinvin40220.Rhodium.items.ItemSpadeRhodium;
            import fr.vinvin40220.Rhodium.items.ItemSpeed;
            import fr.vinvin40220.Rhodium.items.ItemSwordRhodium;
            import fr.vinvin40220.Rhodium.items.pioche;
            import net.minecraft.init.Blocks;
            import net.minecraft.item.Item;
            import net.minecraft.item.Item.ToolMaterial;
            import net.minecraft.item.ItemArmor.ArmorMaterial;
            import net.minecraftforge.common.util.EnumHelper;
            
            public class ItemMod
            {
            public static Item Rhodium_item, Rhodium_pioche, Rhodium_epe, Rhodium_pelle, Rhodium_hache, Rhodium_casque, Rhodium_plastron, Rhodium_legings, Rhodium_boots,
            malachite_item, malachite_epe, malachite_pioche, malachite_hache, malachite_pelle, malachite_casque, malachite_plastron, malachite_leggins, malachite_boots,
            speed_stick, heal_stick, diamond_stick, hammer_Rhodium, Rhodium_apple,UnclaimeFinder, malachite_seed, malachite_negget,rhodium_negget,rhodium_seed,plaque_rhodium,
            unclaim_finder,hammer_Rhodiumspeed1,speed_upgrade, hammer_Rhodiumspeed2, Rhodium_compresse;
                public static ToolMaterial MalachiteTool = EnumHelper.addToolMaterial("MalachiteTool", 3, 3000, 13, 5, 20);
                public static ToolMaterial HammerTool = EnumHelper.addToolMaterial("HammerTool", 4, 1999, 3, 6, 20);
                public static ToolMaterial HammerToolspeed1 = EnumHelper.addToolMaterial("HammerToolspeed1", 4, 2999, 5, 6, 20);
                public static ToolMaterial HammerToolspeed2 = EnumHelper.addToolMaterial("HammerToolspeed1", 4, 3999, 7, 6, 20);
                public static ToolMaterial RhodiumTool = EnumHelper.addToolMaterial("RhodiumTool", 4, 4000, 15, 6, 20);
                public static ArmorMaterial Rhodium_armor = EnumHelper.addArmorMaterial("Rhodium_armor", 40, new int[]{4,9,7,4}, 20);
                public static ArmorMaterial Malachite_armor = EnumHelper.addArmorMaterial("Rhodium_armor", 35, new int[]{3,8,6,3}, 20);
                
            public static void init()
            {
                Rhodium_item = new Item().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_item").setUnlocalizedName("Rhodium_item"); 
                Rhodium_epe = new ItemSwordRhodium(RhodiumTool).setUnlocalizedName("Rhodium_epe").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_epe");
                Rhodium_pioche = new ItemPickaxeRhodium(RhodiumTool).setUnlocalizedName("Rhodium_pioche").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_pioche");
                Rhodium_pelle = new ItemSpadeRhodium(RhodiumTool).setUnlocalizedName("Rhodium_pelle").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_pelle");
                Rhodium_hache = new ItemAxeRhodium(RhodiumTool).setUnlocalizedName("Rhodium_hache").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_hache");
                Rhodium_casque = new ItemArmorNightVision(Rhodium_armor, 0).setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_casque").setUnlocalizedName("Rhodium_casque");
                Rhodium_plastron = new ItemArmorRhodium(Rhodium_armor, 1).setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_plastron").setUnlocalizedName("Rhodium_plastron");
                Rhodium_legings = new ItemArmorRhodium(Rhodium_armor, 2).setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_legings").setUnlocalizedName("Rhodium_legings");
                Rhodium_boots = new ItemArmorSpeed(Rhodium_armor, 3).setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_boots").setUnlocalizedName("Rhodium_boots");
                malachite_item = new Item().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_item").setUnlocalizedName("malachite_item"); 
                malachite_epe = new ItemSwordRhodium(RhodiumTool).setUnlocalizedName("malachite_epe").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_epe");
                malachite_pioche = new ItemPickaxeRhodium(RhodiumTool).setUnlocalizedName("malachite_pioche").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_pioche");
                malachite_pelle = new ItemSpadeRhodium(RhodiumTool).setUnlocalizedName("malachite_pelle").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_pelle");
                malachite_hache = new ItemAxeRhodium(RhodiumTool).setUnlocalizedName("malachite_hache").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_hache");
                malachite_casque = new ItemArmorRhodium(Rhodium_armor, 0).setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_casque").setUnlocalizedName("malachite_casque");
                malachite_plastron = new ItemArmorRhodium(Rhodium_armor, 1).setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_plastron").setUnlocalizedName("malachite_plastron");
                malachite_leggins = new ItemArmorRhodium(Rhodium_armor, 2).setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_leggins").setUnlocalizedName("malachite_leggins");
                malachite_boots = new ItemArmorRhodium(Rhodium_armor, 3).setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_boots").setUnlocalizedName("malachite_boots");
                speed_stick = new ItemSpeed().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":speed_stick").setUnlocalizedName("speed_stick").setMaxDamage(10); 
                heal_stick = new ItemHeal().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":heal_stick").setUnlocalizedName("heal_stick").setMaxDamage(10);
                diamond_stick = new Item().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":diamond_stick").setUnlocalizedName("diamond_stick");
                hammer_Rhodium = new pioche(HammerTool).setUnlocalizedName("hammer_Rhodium").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":hammer_Rhodium");
                hammer_Rhodiumspeed1 = new pioche(HammerToolspeed1).setUnlocalizedName("hammer_Rhodiumspeed1").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":hammer_Rhodiumspeed1");
                hammer_Rhodiumspeed2 = new pioche(HammerToolspeed2).setUnlocalizedName("hammer_Rhodiumspeed2").setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":hammer_Rhodiumspeed2");
                Rhodium_apple = new ItemFoodRhodium(8, 15.0F, false).setAlwaysEdible().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_apple").setUnlocalizedName("Rhodium_apple"); 
                malachite_seed = new ItemSeedMod(BlockMod.malachite_plante, Blocks.farmland).setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_seed").setUnlocalizedName("malachite_seed");
                malachite_negget = new Item().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":malachite_negget").setUnlocalizedName("malachite_negget");
                rhodium_negget = new Item().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":rhodium_negget").setUnlocalizedName("rhodium_negget");
                rhodium_seed = new ItemSeedMod(BlockMod.rhodium_plante, Blocks.farmland).setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":rhodium_seed").setUnlocalizedName("rhodium_seed");
                plaque_rhodium = new Item().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":plaque_rhodium").setUnlocalizedName("plaque_rhodium");
                unclaim_finder = new Item().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":speed_upgrade").setUnlocalizedName("speed_upgrade"); 
                Rhodium_compresse = new Item().setCreativeTab(ModRhodium.TabsRhodium).setTextureName(Reference.MOD_ID + ":Rhodium_compresse").setUnlocalizedName("Rhodium_compresse"); 
            }
            
            
            public static void registrer()
            {
              GameRegistry.registerItem(Rhodium_item, "Rhodium_item");
              GameRegistry.registerItem(Rhodium_epe, "Rhodium_epe");
              GameRegistry.registerItem(Rhodium_pioche, "Rhodium_pioche");
              GameRegistry.registerItem(Rhodium_pelle, "Rhodium_pelle");
              GameRegistry.registerItem(Rhodium_hache, "Rhodium_hache");
              GameRegistry.registerItem(Rhodium_casque, "Rhodium_casque");
              GameRegistry.registerItem(Rhodium_plastron, "Rhodium_plastron");
              GameRegistry.registerItem(Rhodium_legings, "Rhodium_legings");
              GameRegistry.registerItem(Rhodium_boots, "Rhodium_boots");
              GameRegistry.registerItem(malachite_item, "malachite_item");
              GameRegistry.registerItem(malachite_epe, "malachite_epe");
              GameRegistry.registerItem(malachite_pioche, "malachite_pioche");
              GameRegistry.registerItem(malachite_pelle, "malachite_pelle");
              GameRegistry.registerItem(malachite_hache, "malachite_hache");
              GameRegistry.registerItem(malachite_casque, "malachite_casque");
              GameRegistry.registerItem(malachite_plastron, "malachite_plastron");
              GameRegistry.registerItem(malachite_leggins, "malachite_leggins");
              GameRegistry.registerItem(malachite_boots, "malachite_boots");
              GameRegistry.registerItem(speed_stick, "speed_stick");
              GameRegistry.registerItem(heal_stick, "heal_stick");
              GameRegistry.registerItem(diamond_stick, "diamond_stick");
              GameRegistry.registerItem(hammer_Rhodium, "hammer_Rhodium");
              GameRegistry.registerItem(Rhodium_apple, "Rhodium_apple");
              GameRegistry.registerItem(malachite_seed, "malachite_seed");
              GameRegistry.registerItem(malachite_negget, "malachite_negget");
              GameRegistry.registerItem(rhodium_negget, "rhodium_negget");
              GameRegistry.registerItem(rhodium_seed, "rhodium_seed");
              GameRegistry.registerItem(plaque_rhodium, "plaque_rhodium");
              GameRegistry.registerItem(unclaim_finder, "unclaim_finder");
              GameRegistry.registerItem(speed_upgrade, "speed_upgrade");
              GameRegistry.registerItem(hammer_Rhodiumspeed1, "hammer_Rhodiumspeed1");
              GameRegistry.registerItem(hammer_Rhodiumspeed2, "hammer_Rhodiumspeed2");
              GameRegistry.registerItem(Rhodium_compresse, "Rhodium_compresse");
            }
            }
            

            C'est en faisant des erreurs qu'on apprend, alors ne vous moquez pas de moi svp !!!

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

              Donc en effet ce n’est jamais initialisé, il n’y a pas de ligne speed_upgrade = new ....

              Merci de mettre la balise code à l’avenir pour des questions de lisibilité.

              1 réponse Dernière réponse Répondre Citer 0
              • V
                vinvin40220 dernière édition par vinvin40220

                et maintenant mon item est en double dans ma CreativeTab sauf il y en a un avec lequel les craft marche et l’autre non, j’ai vérifier que je ne l’avais pas déclaré deux fois mais non pourtant

                C'est en faisant des erreurs qu'on apprend, alors ne vous moquez pas de moi svp !!!

                1 réponse Dernière réponse Répondre Citer 0
                • V
                  vinvin40220 dernière édition par

                  c’est bon problème réglé

                  C'est en faisant des erreurs qu'on apprend, alors ne vous moquez pas de moi svp !!!

                  1 réponse Dernière réponse Répondre Citer 0
                  • 1 / 1
                  • Premier message
                    Dernier message
                  Design by Woryk
                  Contact / Mentions Légales

                  MINECRAFT FORGE FRANCE © 2018

                  Powered by NodeBB