• Je revient vers vous pour un problème jai continuer mon mod sauf que la il fait tout crasher en boucle donc j’ai virer le plus gros de mes modif mais sa continue pourriez vous svp me dire d’ou cela vient

    Voila ma classe principale:

    ps: bon courage pour tout lire

    ​package net.empirecraft.common;
    
    import javax.swing.text.AbstractDocument.Content;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.init.Items;
    import net.minecraft.item.Item;
    import net.minecraft.item.Item.ToolMaterial;
    import net.minecraft.item.ItemArmor.ArmorMaterial;
    import net.minecraft.item.ItemStack;
    import net.minecraft.item.crafting.CraftingManager;
    import net.minecraftforge.common.util.EnumHelper;
    import net.minecraftforge.oredict.ShapedOreRecipe;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.EventHandler;
    import cpw.mods.fml.common.Mod.Instance;
    import cpw.mods.fml.common.SidedProxy;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPostInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.registry.GameRegistry;
    
    @Mod(modid = "ModTutoriel", name = "ModEmpirecraft", version = "2.7.7")
    
    public class ModEmpire
    {
        @Instance("modempire")
        public static ModEmpire instance;
    
        public static final String MODID = "modempire";
    
        @SidedProxy(clientSide = "net.empirecraft.client.ClientProxy", serverSide = "net.empirecraft.common.CommonProxy")
            public static CommonProxy proxy;
    
        public static Item ruby, saphire, obsidian, opal, citrine, acier, platine, painite, obsi, uhrite, cenalium, meteore;
    
        public static Block ruby_block, saphire_block, obsidian_block, opal_block, citrine_block, acier_block, platine_block, painite_block, uhrite_block, cenalium_block, meteore_block;
    
        public static Item swordRU, pickaxeRU, axeRU, shovelRU, hoeRU;
        public static Item swordSA, pickaxeSA, axeSA, shovelSA, hoeSA;
        public static Item swordOB, pickaxeOB, axeOB, shovelOB, hoeOB;
        public static Item swordOP, pickaxeOP, axeOP, shovelOP, hoeOP;
        public static Item swordPL, pickaxePL, axePL, shovelPL, hoePL;
        public static Item swordPA, pickaxePA, axePA, shovelPA, hoePA;
        public static Item swordCI, pickaxeCI, axeCI, shovelCI, hoeCI;
        public static Item swordAC, pickaxeAC, axeAC, shovelAC, hoeAC;
        public static Item swordUH, pickaxeUH, axeUH, shovelUH, hoeUH;
    
        public static Item helmetEME, chestPlateEME, leggingsEME, bootsEME;
        public static Item helmetSA, chestPlateSA, leggingsSA, bootsSA;
        public static Item helmetOP, chestPlateOP, leggingsOP, bootsOP;
        public static Item helmetPL, chestPlatePL, leggingsPL, bootsPL;
        public static Item helmetPA, chestPlatePA, leggingsPA, bootsPA;
        public static Item helmetCI, chestPlateCI, leggingsCI, bootsCI;
        public static Item helmetAC, chestPlateAC, leggingsAC, bootsAC;
        public static Item helmetOB, chestPlateOB, leggingsOB, bootsOB;
        public static Item helmetUH, chestPlateUH, leggingsUH, bootsUH;
    
        public static ToolMaterial toolTuto = EnumHelper.addToolMaterial("emeraude1", 2, 854, 12.0F, 4.0F, 18);
        public static ToolMaterial toolTuto2 = EnumHelper.addToolMaterial("emeraude2", 2, 854, 12.0F, 4.0F, 18);
        public static ToolMaterial toolTuto3 = EnumHelper.addToolMaterial("emeraude3", 2, 854, 12.0F, 4.0F, 18);
        public static ToolMaterial toolTuto4 = EnumHelper.addToolMaterial("emeraude4", 2, 854, 12.0F, 4.0F, 18);
        public static ToolMaterial toolTuto5 = EnumHelper.addToolMaterial("emeraude5", 2, 854, 12.0F, 4.0F, 18);
        public static ToolMaterial toolTuto6 = EnumHelper.addToolMaterial("emeraude6", 2, 854, 12.0F, 4.0F, 18);
        public static ToolMaterial toolTuto7 = EnumHelper.addToolMaterial("emeraude7", 2, 854, 12.0F, 4.0F, 18);
        public static ToolMaterial toolTuto8 = EnumHelper.addToolMaterial("emeraude8", 2, 854, 12.0F, 4.0F, 18);
        public static ToolMaterial toolTuto9 = EnumHelper.addToolMaterial("emeraude9", 2, 854, 12.0F, 4.0F, 18);
    
        public static ArmorMaterial armorEME = EnumHelper.addArmorMaterial("armorEME1", 23, new int[] {4, 6, 5, 4}, 23);
        public static ArmorMaterial armorSA = EnumHelper.addArmorMaterial("armorEME2", 23, new int[] {4, 6, 5, 4}, 23);
        public static ArmorMaterial armorOP = EnumHelper.addArmorMaterial("armorEME3", 10, new int[] {4, 6, 5, 4}, 23);
        public static ArmorMaterial armorPL = EnumHelper.addArmorMaterial("armorEME4", 10, new int[] {4, 6, 5, 4}, 23);
        public static ArmorMaterial armorPA = EnumHelper.addArmorMaterial("armorEME5", 10, new int[] {4, 6, 5, 4}, 23);
        public static ArmorMaterial armorCI = EnumHelper.addArmorMaterial("armorEME6", 10, new int[] {4, 6, 5, 4}, 23);
        public static ArmorMaterial armorAC = EnumHelper.addArmorMaterial("armorEME7", 10, new int[] {4, 6, 5, 4}, 23);
        public static ArmorMaterial armorOB = EnumHelper.addArmorMaterial("armorEME8", 10, new int[] {4, 6, 5, 4}, 23);
        public static ArmorMaterial armorUH = EnumHelper.addArmorMaterial("armorEME10", 10, new int[] {4, 6, 5, 4}, 23);
    
        @EventHandler
        public void preInit(FMLPreInitializationEvent event)
        {
    
        }
    
            @EventHandler
            public void init(FMLInitializationEvent event)
            {
                proxy.registerRender();
    
                //Gem
                ruby = new Simple().setUnlocalizedName("ruby_ingot").setTextureName(MODID + ":rubis").setCreativeTab(CreativeTabs.tabMaterials);;   //
                saphire = new Simple().setUnlocalizedName("saphire_ingot").setTextureName(MODID + ":titacythe_ingot").setCreativeTab(CreativeTabs.tabMaterials);; //
                platine = new Simple().setUnlocalizedName("platine_ingot").setTextureName(MODID + ":platine").setCreativeTab(CreativeTabs.tabMaterials);; //
                painite = new Simple().setUnlocalizedName("painite_gem").setTextureName(MODID + ":painite").setCreativeTab(CreativeTabs.tabMaterials);; //
                citrine = new Simple().setUnlocalizedName("citrine_rod").setTextureName(MODID + ":citrine").setCreativeTab(CreativeTabs.tabMaterials);;  //
                obsi = new Simple().setUnlocalizedName("obsi_rod").setTextureName(MODID + ":obsi").setCreativeTab(CreativeTabs.tabMaterials);; //
                uhrite = new Simple().setUnlocalizedName("uhrite_rod").setTextureName(MODID + ":uhrite").setCreativeTab(CreativeTabs.tabMaterials);;
    
                CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe(ruby_block, true, new Object[]{
                        "XXX", "XXX", "XXX", Character.valueOf('X'), "ruby"}));
                CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe(saphire_block, true, new Object[]{
                        "XXX", "XXX", "XXX", Character.valueOf('X'), "saphire"}));
                CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe(platine_block, true, new Object[]{
                        "XXX", "XXX", "XXX", Character.valueOf('X'), "platine"}));
                CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe(painite_block, true, new Object[]{
                        "XXX", "XXX", "XXX", Character.valueOf('X'), "painite"}));
                CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe(citrine_block, true, new Object[]{
                        "XXX", "XXX", "XXX", Character.valueOf('X'), "citrine"}));
                CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe(uhrite_block, true, new Object[]{
                        "XXX", "XXX", "XXX", Character.valueOf('X'), "uhrite"}));
    
                //OUTILS EN RUBIS
    
                swordRU = new Itememesword(toolTuto2).setUnlocalizedName("rubysword").setTextureName(MODID + ":rubis_sword").setCreativeTab(CreativeTabs.tabMaterials);
                pickaxeRU = new Itememepick(toolTuto2).setUnlocalizedName("rubypickaxe").setTextureName(MODID + ":rubis_pickaxe").setCreativeTab(CreativeTabs.tabMaterials);
                axeRU = new Itememeaxe(toolTuto2).setUnlocalizedName("rubyaxe").setTextureName(MODID + ":rubis_axe").setCreativeTab(CreativeTabs.tabMaterials);
                shovelRU = new Itememeshovel(toolTuto2).setUnlocalizedName("rubyshovel").setTextureName(MODID + ":rubis_shovel").setCreativeTab(CreativeTabs.tabMaterials);
                hoeRU = new Itememehoe(toolTuto2).setUnlocalizedName("rubyhoe").setTextureName(MODID + ":rubis_hoe").setCreativeTab(CreativeTabs.tabMaterials);
    
                helmetEME = new ItemTutoArmor(armorEME, 0).setUnlocalizedName("helmetTuto").setTextureName(MODID + ":rubis_helmet").setCreativeTab(CreativeTabs.tabMaterials);
                chestPlateEME = new ItemTutoArmor(armorEME, 1).setUnlocalizedName("chestPlateTuto").setTextureName(MODID + ":rubis_chestplate").setCreativeTab(CreativeTabs.tabMaterials);
                leggingsEME = new ItemTutoArmor(armorEME, 2).setUnlocalizedName("leggingsTuto").setTextureName(MODID + ":rubis_leggings").setCreativeTab(CreativeTabs.tabMaterials);
                bootsEME = new ItemTutoArmor(armorEME, 3).setUnlocalizedName("bootsTuto").setTextureName(MODID + ":rubis_boots").setCreativeTab(CreativeTabs.tabMaterials);
    
                //OUTILS EN SAPHIRE
    
                swordSA = new Itememesword(toolTuto2).setUnlocalizedName("saphiresword").setTextureName(MODID + ":titacythe_sword").setCreativeTab(CreativeTabs.tabMaterials);
                pickaxeSA = new Itememepick(toolTuto2).setUnlocalizedName("saphirepickaxe").setTextureName(MODID + ":titacythe_pickaxe").setCreativeTab(CreativeTabs.tabMaterials);
                axeSA = new Itememeaxe(toolTuto2).setUnlocalizedName("saphireaxe").setTextureName(MODID + ":titacythe_axe").setCreativeTab(CreativeTabs.tabMaterials);
                shovelSA = new Itememeshovel(toolTuto2).setUnlocalizedName("saphireshovel").setTextureName(MODID + ":titacythe_shovel").setCreativeTab(CreativeTabs.tabMaterials);
                hoeSA = new Itememehoe(toolTuto2).setUnlocalizedName("saphirehoe").setTextureName(MODID + ":titacythe_hoe").setCreativeTab(CreativeTabs.tabMaterials);
    
                helmetSA = new itemarmorsa(armorSA, 0).setUnlocalizedName("helmetTuto2").setTextureName(MODID + ":titacythe_helmet").setCreativeTab(CreativeTabs.tabMaterials);
                chestPlateSA = new itemarmorsa(armorSA, 1).setUnlocalizedName("chestPlateTuto2").setTextureName(MODID + ":titacythe_chestplate").setCreativeTab(CreativeTabs.tabMaterials);
                leggingsSA = new itemarmorsa(armorSA, 2).setUnlocalizedName("leggingsTuto2").setTextureName(MODID + ":titacythe_leggings").setCreativeTab(CreativeTabs.tabMaterials);
                bootsSA = new itemarmorsa(armorSA, 3).setUnlocalizedName("bootsTuto2").setTextureName(MODID + ":titacythe_boots").setCreativeTab(CreativeTabs.tabMaterials);
    
                //OUTILS EN OBSI
    
                swordOB = new Itememesword(toolTuto3).setUnlocalizedName("obsisword").setTextureName(MODID + ":obsidian_sword").setCreativeTab(CreativeTabs.tabMaterials);
                pickaxeOB = new Itememepick(toolTuto3).setUnlocalizedName("obsipickaxe").setTextureName(MODID + ":obsidienne_pickaxe").setCreativeTab(CreativeTabs.tabMaterials);
                axeOB = new Itememeaxe(toolTuto3).setUnlocalizedName("obsiaxe").setTextureName(MODID + ":obsidian_axe").setCreativeTab(CreativeTabs.tabMaterials);
                shovelOB = new Itememeshovel(toolTuto3).setUnlocalizedName("obsishovel").setTextureName(MODID + ":obsidian_shovel").setCreativeTab(CreativeTabs.tabMaterials);
                hoeOB = new Itememehoe(toolTuto3).setUnlocalizedName("obsihoe").setTextureName(MODID + ":obsidian_hoe").setCreativeTab(CreativeTabs.tabMaterials);
    
                helmetOB = new itemarmorOB(armorOB, 0).setUnlocalizedName("helmetTuto9").setTextureName(MODID + ":obsidian_helmet").setCreativeTab(CreativeTabs.tabMaterials);
                chestPlateOB = new itemarmorOB(armorOB, 1).setUnlocalizedName("chestPlateTuto9").setTextureName(MODID + ":obsidian_chestplate").setCreativeTab(CreativeTabs.tabMaterials);
                leggingsOB = new itemarmorOB(armorOB, 2).setUnlocalizedName("leggingsTuto9").setTextureName(MODID + ":obsidian_leggings").setCreativeTab(CreativeTabs.tabMaterials);
                bootsOB = new itemarmorOB(armorOB, 3).setUnlocalizedName("bootsTuto9").setTextureName(MODID + ":obsidian_boots").setCreativeTab(CreativeTabs.tabMaterials);
    
                //OUTILS EN platine
    
                swordPL = new Itememesword(toolTuto5).setUnlocalizedName("platinesword").setTextureName(MODID + ":platine_sword").setCreativeTab(CreativeTabs.tabMaterials);
                pickaxePL = new Itememepick(toolTuto5).setUnlocalizedName("platinepickaxe").setTextureName(MODID + ":platine_pickaxe").setCreativeTab(CreativeTabs.tabMaterials);
                axePL = new Itememeaxe(toolTuto5).setUnlocalizedName("platineaxe").setTextureName(MODID + ":platine_axe").setCreativeTab(CreativeTabs.tabMaterials);
                shovelPL = new Itememeshovel(toolTuto5).setUnlocalizedName("platineshovel").setTextureName(MODID + ":platine_shovel").setCreativeTab(CreativeTabs.tabMaterials);
                hoePL = new Itememehoe(toolTuto5).setUnlocalizedName("platinehoe").setTextureName(MODID + ":platine_hoe").setCreativeTab(CreativeTabs.tabMaterials);
    
                helmetPL = new itemarmorPL(armorPL, 0).setUnlocalizedName("helmetTuto5").setTextureName(MODID + ":platine_helmet").setCreativeTab(CreativeTabs.tabMaterials);
                chestPlatePL = new itemarmorPL(armorPL, 1).setUnlocalizedName("chestPlateTuto5").setTextureName(MODID + ":platine_chestplate").setCreativeTab(CreativeTabs.tabMaterials);
                leggingsPL = new itemarmorPL(armorPL, 2).setUnlocalizedName("leggingsTuto5").setTextureName(MODID + ":platine_leggings").setCreativeTab(CreativeTabs.tabMaterials);
                bootsPL = new itemarmorPL(armorPL, 3).setUnlocalizedName("bootsTuto5").setTextureName(MODID + ":platine_boots").setCreativeTab(CreativeTabs.tabMaterials);
    
               //OUTILS EN painite
    
                swordPA = new Itememesword(toolTuto6).setUnlocalizedName("painitesword").setTextureName(MODID + ":painite_sword").setCreativeTab(CreativeTabs.tabMaterials);
                pickaxePA = new Itememepick(toolTuto6).setUnlocalizedName("painitepickaxe").setTextureName(MODID + ":painite_pickaxe").setCreativeTab(CreativeTabs.tabMaterials);
                axePA = new Itememeaxe(toolTuto6).setUnlocalizedName("painiteaxe").setTextureName(MODID + ":painite_axe").setCreativeTab(CreativeTabs.tabMaterials);
                shovelPA = new Itememeshovel(toolTuto6).setUnlocalizedName("painiteshovel").setTextureName(MODID + ":painite_shovel").setCreativeTab(CreativeTabs.tabMaterials);
                hoePA = new Itememehoe(toolTuto6).setUnlocalizedName("painitehoe").setTextureName(MODID + ":painite_hoe").setCreativeTab(CreativeTabs.tabMaterials);
    
                helmetPA = new itemarmorPA(armorPA, 0).setUnlocalizedName("helmetTuto6").setTextureName(MODID + ":painite_helmet").setCreativeTab(CreativeTabs.tabMaterials);
                chestPlatePA = new itemarmorPA(armorPA, 1).setUnlocalizedName("chestPlateTuto6").setTextureName(MODID + ":painite_chestplate").setCreativeTab(CreativeTabs.tabMaterials);
                leggingsPA = new itemarmorPA(armorPA, 2).setUnlocalizedName("leggingsTuto6").setTextureName(MODID + ":painite_leggings").setCreativeTab(CreativeTabs.tabMaterials);
                bootsPA = new itemarmorPA(armorPA, 3).setUnlocalizedName("bootsTuto6").setTextureName(MODID + ":painite_boots").setCreativeTab(CreativeTabs.tabMaterials);
    
                  //OUTILS EN citrine
    
                swordCI = new Itememesword(toolTuto7).setUnlocalizedName("citrinesword").setTextureName(MODID + ":citrine_sword").setCreativeTab(CreativeTabs.tabMaterials);
                pickaxeCI = new Itememepick(toolTuto7).setUnlocalizedName("citrinepickaxe").setTextureName(MODID + ":citrine_pickaxe").setCreativeTab(CreativeTabs.tabMaterials);
                axeCI = new Itememeaxe(toolTuto7).setUnlocalizedName("citrineaxe").setTextureName(MODID + ":citrine_axe").setCreativeTab(CreativeTabs.tabMaterials);
                shovelCI = new Itememeshovel(toolTuto7).setUnlocalizedName("citrineshovel").setTextureName(MODID + ":citrine_shovel").setCreativeTab(CreativeTabs.tabMaterials);
                hoeCI = new Itememehoe(toolTuto7).setUnlocalizedName("citrinehoe").setTextureName(MODID + ":citrine_hoe").setCreativeTab(CreativeTabs.tabMaterials);
    
                helmetCI = new itemarmorCI(armorCI, 0).setUnlocalizedName("helmetTuto7").setTextureName(MODID + ":citrine_helmet").setCreativeTab(CreativeTabs.tabMaterials);
                chestPlateCI = new itemarmorCI(armorCI, 1).setUnlocalizedName("chestPlateTuto7").setTextureName(MODID + ":citrine_chestplate").setCreativeTab(CreativeTabs.tabMaterials);
                leggingsCI = new itemarmorCI(armorCI, 2).setUnlocalizedName("leggingsTuto7").setTextureName(MODID + ":citrine_leggings").setCreativeTab(CreativeTabs.tabMaterials);
                bootsCI = new itemarmorCI(armorCI, 3).setUnlocalizedName("bootsTuto7").setTextureName(MODID + ":citrine_boots").setCreativeTab(CreativeTabs.tabMaterials);
    
                /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    
                //gem
    
                GameRegistry.registerItem(ruby, "item_rubis_item");
                GameRegistry.registerItem(saphire, "item_saphire_item");
                GameRegistry.registerItem(platine, "item_platine_item");
                GameRegistry.registerItem(citrine, "item_citrine_item");
                GameRegistry.registerItem(painite, "item_painite_item");
                GameRegistry.registerItem(acier, "item_acier_item");
                GameRegistry.registerItem(obsi, "item_obsi_item");
                GameRegistry.registerItem(uhrite, "item_uhrite_item");
    
                //OUTILS EN RUBIS
    
                  GameRegistry.registerItem(swordRU, "item_ruby_sword");
                    GameRegistry.registerItem(pickaxeRU, "item_ruby_pickaxe");
                    GameRegistry.registerItem(axeRU, "item_ruby_axe");
                    GameRegistry.registerItem(shovelRU, "item_ruby_shovel");
                    GameRegistry.registerItem(hoeRU, "item_ruby_hoe");
    
                     GameRegistry.registerItem(helmetEME, "item_rubis_helmet");
                        GameRegistry.registerItem(chestPlateEME, "item_rubis_chestplate");
                        GameRegistry.registerItem(leggingsEME, "item_rubis_leggings");
                        GameRegistry.registerItem(bootsEME, "item_rubis_boots");
    
                //OUTILS EN SAPHIRE
    
                        GameRegistry.registerItem(swordSA, "item_saphire_sword");
                        GameRegistry.registerItem(pickaxeSA, "item_saphire_pickaxe");
                        GameRegistry.registerItem(axeSA, "item_saphire_axe");
                        GameRegistry.registerItem(shovelSA, "item_saphire_shovel");
                        GameRegistry.registerItem(hoeSA, "item_saphire_hoe");
    
                        GameRegistry.registerItem(helmetSA, "item_saphire_helmet");
                        GameRegistry.registerItem(chestPlateSA, "item_saphire_chestplate");
                        GameRegistry.registerItem(leggingsSA, "item_saphire_leggings");
                        GameRegistry.registerItem(bootsSA, "item_saphire_boots");
    
                        //OUTILS EN OBSI
    
                         GameRegistry.registerItem(swordOB, "item_obsidian_sword");
                            GameRegistry.registerItem(pickaxeOB, "item_obsidian_pickaxe");
                            GameRegistry.registerItem(axeOB, "item_obsidian_axe");
                            GameRegistry.registerItem(shovelOB, "item_obsidian_shovel");
                            GameRegistry.registerItem(hoeOB, "item_obsidian_hoe");
    
                        GameRegistry.registerItem(helmetOB, "item_obsidian_helmet");
                         GameRegistry.registerItem(chestPlateOB, "item_obsidian_chestplate");
                         GameRegistry.registerItem(leggingsOB, "item_obsidian_leggings");
                         GameRegistry.registerItem(bootsOB, "item_obsidian_boots");
    
                        //OUTILS EN platine
    
                         GameRegistry.registerItem(swordPL, "item_platine_sword");
                            GameRegistry.registerItem(pickaxePL, "item_platine_pickaxe");
                            GameRegistry.registerItem(axePL, "item_platine_axe");
                            GameRegistry.registerItem(shovelPL, "item_platine_shovel");
                            GameRegistry.registerItem(hoePL, "item_platine_hoe");
    
                            GameRegistry.registerItem(helmetPL, "item_platine_helmet");
                            GameRegistry.registerItem(chestPlatePL, "item_platine_chestplate");
                            GameRegistry.registerItem(leggingsPL, "item_platine_leggings");
                            GameRegistry.registerItem(bootsPL, "item_platine_boots");
    
                            //OUTILS EN painite
    
                             GameRegistry.registerItem(swordPA, "item_painite_sword");
                                GameRegistry.registerItem(pickaxePA, "item_painite_pickaxe");
                                GameRegistry.registerItem(axePA, "item_painite_axe");
                                GameRegistry.registerItem(shovelPA, "item_painite_shovel");
                                GameRegistry.registerItem(hoePA, "item_painite_hoe");
    
                                GameRegistry.registerItem(helmetPA, "item_painite_helmet");
                                GameRegistry.registerItem(chestPlatePA, "item_painite_chestplate");
                                GameRegistry.registerItem(leggingsPA, "item_painite_leggings");
                                GameRegistry.registerItem(bootsPA, "item_painite_boots");
    
                                //OUTILS EN citrine
    
                                 GameRegistry.registerItem(swordCI, "item_citrine_sword");
                                    GameRegistry.registerItem(pickaxeCI, "item_citrine_pickaxe");
                                    GameRegistry.registerItem(axeCI, "item_citrine_axe");
                                    GameRegistry.registerItem(shovelCI, "item_citrine_shovel");
                                    GameRegistry.registerItem(hoeCI, "item_citrine_hoe");
    
                                    GameRegistry.registerItem(helmetCI, "item_citrine_helmet");
                                    GameRegistry.registerItem(chestPlateCI, "item_citrine_chestplate");
                                    GameRegistry.registerItem(leggingsCI, "item_citrine_leggings");
                                    GameRegistry.registerItem(bootsCI, "item_citrine_boots");
    
            }
    
        @EventHandler
        public void postInit(FMLPostInitializationEvent event)
        {
    
        }
    
    }
    
  • Administrateurs Rédacteurs Moddeurs confirmés

    Sans le rapport de crash ça va être difficile de trouver l’origine du problème …


  • désoler le voici :

    –-- Minecraft Crash Report ----

    // Would you like a cupcake?

    Time: 10/04/15 20:19
    Description: Initializing game

    java.lang.NullPointerException: Can’t add null-object to the registry, name ModTutoriel:item_acier_item.
        at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:332)
        at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:772)
        at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:740)
        at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:143)
        at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:131)
        at net.empirecraft.common.ModEmpire.init(ModEmpire.java:248)
        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:513)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
        at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
        at com.google.common.eventbus.EventBus.post(EventBus.java:267)
        at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
        at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
        at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
        at com.google.common.eventbus.EventBus.post(EventBus.java:267)
        at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
        at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690)
        at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
        at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:527)
        at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)
        at net.minecraft.client.main.Main.main(SourceFile:103)
        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:134)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

    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:332)
        at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:772)
        at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:740)
        at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:143)
        at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:131)
        at net.empirecraft.common.ModEmpire.init(ModEmpire.java:248)
        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:513)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
        at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
        at com.google.common.eventbus.EventBus.post(EventBus.java:267)
        at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
        at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
        at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
        at com.google.common.eventbus.EventBus.post(EventBus.java:267)
        at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
        at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690)
        at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
        at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:527)

    – Initialization –
    Details:
    Stacktrace:
        at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)
        at net.minecraft.client.main.Main.main(SourceFile:103)
        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:134)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

    – System Details –
    Details:
        Minecraft Version: 1.7.2
        Operating System: Windows 8.1 (amd64) version 6.3
        Java Version: 1.7.0_75, Oracle Corporation
        Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 199785640 bytes (190 MB) / 517996544 bytes (494 MB) up to 954728448 bytes (910 MB)
        JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
        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.03 FML v7.2.217.1147 Minecraft Forge 10.12.2.1147 16 mods loaded, 16 mods active
        mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
        FML{7.2.217.1147} [Forge Mod Loader] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized
        Forge{10.12.2.1147} [Minecraft Forge] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized
        Micdoodlecore{} [Micdoodle8 Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
        furnace3d{1.4.0} [Furnace 3D] ([1.7.2]3DFurnace-1.4.jar) Unloaded->Constructed->Pre-initialized->Initialized
        bspkrsCore{6.11} [bspkrsCore] ([1.7.2]bspkrsCore-universal-6.11.jar) Unloaded->Constructed->Pre-initialized->Initialized
        ArmorStatusHUD{1.26} [ArmorStatusHUD] ([1.7.2]ArmorStatusHUD-client-1.26.jar) Unloaded->Constructed->Pre-initialized->Initialized
        craftguide{1.6.8.1} [CraftGuide] (CraftGuide.zip) Unloaded->Constructed->Pre-initialized->Initialized
        DamageIndicatorsMod{3.2.3} [Damage Indicators] (DamageIndicatorsMod.jar) Unloaded->Constructed->Pre-initialized->Initialized
        simpleores{1.4.2} [SimpleOres 2] (ore.jar) Unloaded->Constructed->Pre-initialized->Initialized
        fusionplugin{1.4.2} [SimpleOres 2 Fusion Plugin] (fusion.jar) Unloaded->Constructed->Pre-initialized->Initialized
        GalacticraftCore{3.0.11} [Galacticraft Core] (GalacticraftCore-1.7-3.0.11.315.jar) Unloaded->Constructed->Pre-initialized->Initialized
        GalacticraftMars{3.0.11} [Galacticraft Planets] (Galacticraft-Planets-1.7-3.0.11.315.jar) Unloaded->Constructed->Pre-initialized->Initialized
        gvc{0.6.0} [§aGliby’s§f Voice Chat Mod] (GlibysVC-1.7.2-0.6.0.jar) Unloaded->Constructed->Pre-initialized->Initialized
        MoarOres{V2.1.0} [MoarOres] (MoarOres-2.1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized
        ModTutoriel{2.7.7} [ModEmpirecraft] (modid-1.0.jar) Unloaded->Constructed->Pre-initialized->Errored
        Launched Version: 1.7.2-custom
        LWJGL: 2.9.0
        OpenGL: GeForce GTX 660/PCIe/SSE2 GL version 4.5.0 NVIDIA 347.88, NVIDIA Corporation
        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)
        Vec3 Pool Size: ERROR NullPointerException: null
        Anisotropic Filtering: Off (1)

  • Administrateurs Rédacteurs Moddeurs confirmés

    Ton item acier n’est jamais initialisé. Il manque la ligne acier = new ItemAcier(…


  • Hourra sa fonctionne merci je t’adore ta regler le beugue en 10 min