Crash mod 1.7.10 eclipse



  • Bonjour,

    Je débute dans la programmation et j'ai un problème 😕

    Classe principale du mod :

    package fr.drpsykoz.kandarpvp;
    
    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.minecraftforge.common.util.EnumHelper;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.EventHandler;
    import cpw.mods.fml.common.SidedProxy;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.common.registry.LanguageRegistry;
    import fr.drpsykoz.kandarpvp.armors.exaniteArmor;
    import fr.drpsykoz.kandarpvp.armors.uryalArmor;
    import fr.drpsykoz.kandarpvp.armors.kandiumArmor;
    import fr.drpsykoz.kandarpvp.blocks.InvisibleBlock;
    import fr.drpsykoz.kandarpvp.blocks.exaniteBlock;
    import fr.drpsykoz.kandarpvp.blocks.uryalBlock;
    import fr.drpsykoz.kandarpvp.blocks.kandiumBlock;
    import fr.drpsykoz.kandarpvp.lib.ProxyCommon;
    import fr.drpsykoz.kandarpvp.lib.References;
    import fr.drpsykoz.kandarpvp.tools.exaniteAxe;
    import fr.drpsykoz.kandarpvp.tools.exaniteHoe;
    import fr.drpsykoz.kandarpvp.tools.exanitePickaxe;
    import fr.drpsykoz.kandarpvp.tools.exaniteShovel;
    import fr.drpsykoz.kandarpvp.tools.exaniteSword;
    import fr.drpsykoz.kandarpvp.tools.uryalAxe;
    import fr.drpsykoz.kandarpvp.tools.uryalHoe;
    import fr.drpsykoz.kandarpvp.tools.uryalPickaxe;
    import fr.drpsykoz.kandarpvp.tools.uryalShovel;
    import fr.drpsykoz.kandarpvp.tools.uryalSword;
    import fr.drpsykoz.kandarpvp.tools.kandiumAxe;
    import fr.drpsykoz.kandarpvp.tools.kandiumHoe;
    import fr.drpsykoz.kandarpvp.tools.kandiumPickaxe;
    import fr.drpsykoz.kandarpvp.tools.kandiumShovel;
    import fr.drpsykoz.kandarpvp.tools.kandiumSword;
    
    @Mod(modid = References.MODID, version = References.VERSION)
    
    public class KandarPvP
    {
    
    @SidedProxy(clientSide = References.Client, serverSide = References.Common)
    public static ProxyCommon proxy;
    
    //Material Armures
    
    public static ArmorMaterial uryalArmor = EnumHelper.addArmorMaterial("uryalArmor", 50, new int[]{7,11,9,7}, 15);
    public static ArmorMaterial exaniteArmor = EnumHelper.addArmorMaterial("exaniteArmor", 30, new int[]{5,9,7,5}, 20);
    public static ArmorMaterial kandiumArmor = EnumHelper.addArmorMaterial("kandiumArmor", 40, new int[]{9,13,11,9}, 10);
    
    public static ToolMaterial uryalTool = EnumHelper.addToolMaterial("uryalTool", 3, 3061, 12.0F, 7.0F, 15);
    public static ToolMaterial exaniteTool = EnumHelper.addToolMaterial("exaniteTool", 3, 2061, 10.0F, 5.0F, 20);
    public static ToolMaterial kandiumTool = EnumHelper.addToolMaterial("kandiumTool", 3, 2561, 14.0F, 9.0F, 10);
    
    //Declaration
    
    public static Item uryal;
    public static Item exanite;
    public static Item kandium;
    
    public static Item uryalHelmet, uryalChestplate, uryalLeggings, uryalBoots;
    public static Item exaniteHelmet, exaniteChestplate, exaniteLeggings, exaniteBoots;
    public static Item kandiumHelmet, kandiumChestplate, kandiumLeggings, kandiumBoots;
    
    public static Item uryalSword, uryalPickaxe, uryalShovel, uryalAxe, uryalHoe;
    public static Item exaniteSword, exanitePickaxe, exaniteShovel, exaniteAxe, exaniteHoe;
    public static Item kandiumSword, kandiumPickaxe, kandiumShovel, kandiumAxe, kandiumHoe;
    
    public static Block uryalOre;
    public static Block exaniteOre;
    public static Block kandiumOre;
    
    public static Block uryalBlock = new uryalBlock(2000, Material.iron);
    public static Block exaniteBlock = new exaniteBlock(2001, Material.iron);
    public static Block kandiumBlock = new kandiumBlock(2002, Material.iron);
    
    public static Block InvisibleBlock;
    
    public static Block IronChest;
    
    public static CreativeTabs kandarPvP = new CreativeTabs("KandarPVP"){
        public Item getTabIconItem(){
        return kandium;
        }
    
       };
    
    //Declaration Armures
    
    public KandarPvP()
    {
    
    //La Bouffe
    
    //Blocks
    
    IronChest = new fr.drpsykoz.tileEntity.chest.iron.IronChest(0).setBlockName("IronChest").setCreativeTab(KandarPvP.kandarPvP);
    
    InvisibleBlock = new InvisibleBlock(Material.rock).setBlockTextureName(References.MODID + ":invisible_block");
    
    GameRegistry.registerBlock(InvisibleBlock, "InvisibleBlock");
    LanguageRegistry.addName(InvisibleBlock, "Invisible Block");
    
    GameRegistry.registerBlock(uryalBlock, "uryalBlock");
    LanguageRegistry.addName(uryalBlock, "uryal Block");
    
    GameRegistry.registerBlock(exaniteBlock, "exaniteBlock");
    LanguageRegistry.addName(exaniteBlock, "exanite Block");
    
    GameRegistry.registerBlock(kandiumBlock, "kandiumBlock");
    LanguageRegistry.addName(kandiumBlock, "kandium Block");
    
    GameRegistry.registerBlock(uryalOre, "uryalOre");
    LanguageRegistry.addName(uryalOre, "uryal Ore");
    
    GameRegistry.registerBlock(exaniteOre, "exaniteOre");
    LanguageRegistry.addName(exaniteOre, "exanite Ore");
    
    GameRegistry.registerBlock(kandiumOre, "kandiumOre");
    LanguageRegistry.addName(kandiumOre, "kandium Ore");
    
    //Items
    
    GameRegistry.registerItem(uryal, "uryal");
    LanguageRegistry.addName(uryal, "uryal");
    
    GameRegistry.registerItem(exanite, "exanite");
    LanguageRegistry.addName(exanite, "exanite");
    
    GameRegistry.registerItem(kandium, "kandium");
    LanguageRegistry.addName(kandium, "kandium");
    
    //–-------------------//
    //  Armures en uryal   //
    //---------------------//
    
    uryalHelmet = new uryalArmor(uryalArmor, 0, 0).setUnlocalizedName("uryalHelmet").setTextureName(References.MODID + ":uryal_helmet");
    GameRegistry.registerItem(uryalHelmet, "uryalHelmet");
    LanguageRegistry.addName(uryalHelmet, "uryal Helmet");
    
    uryalChestplate = new uryalArmor(uryalArmor, 0, 1).setUnlocalizedName("uryalChestplate").setTextureName(References.MODID + ":uryal_chestplate");
    GameRegistry.registerItem(uryalChestplate, "uryalChestplate");
    LanguageRegistry.addName(uryalChestplate, "uryal Chestplate");
    
    uryalLeggings = new uryalArmor(uryalArmor, 0, 2).setUnlocalizedName("uryalLeggings").setTextureName(References.MODID + ":uryal_leggings");
    GameRegistry.registerItem(uryalLeggings, "uryalLeggings");
    LanguageRegistry.addName(uryalLeggings, "uryal Leggings");
    
    uryalBoots = new uryalArmor(uryalArmor, 0, 3).setUnlocalizedName("uryalBoots").setTextureName(References.MODID + ":uryal_boots");
    GameRegistry.registerItem(uryalBoots, "uryalBoots");
    LanguageRegistry.addName(uryalBoots, "uryal Boots");
    
    //Armure en exanite
    
    exaniteHelmet = new exaniteArmor(exaniteArmor, 0, 0).setUnlocalizedName("exaniteHelmet").setTextureName(References.MODID + ":exanite_helmet");
    GameRegistry.registerItem(exaniteHelmet, "exaniteHelmet");
    LanguageRegistry.addName(exaniteHelmet, "exanite Helmet");
    exaniteChestplate = new exaniteArmor(exaniteArmor, 0, 1).setUnlocalizedName("exaniteChestplate").setTextureName(References.MODID + ":exanite_chestplate");
    GameRegistry.registerItem(exaniteChestplate, "exaniteChestplate");
    LanguageRegistry.addName(exaniteChestplate, "exanite Chestplate");
    exaniteLeggings = new exaniteArmor(exaniteArmor, 0, 2).setUnlocalizedName("exaniteLeggings").setTextureName(References.MODID + ":exanite_leggings");
    GameRegistry.registerItem(exaniteLeggings, "exaniteLeggings");
    LanguageRegistry.addName(exaniteLeggings, "exanite Leggings");
    exaniteBoots = new exaniteArmor(exaniteArmor, 0, 3).setUnlocalizedName("exaniteBoots").setTextureName(References.MODID + ":exanite_boots");
    GameRegistry.registerItem(exaniteBoots, "exaniteBoots");
    LanguageRegistry.addName(exaniteBoots, "exanite Boots");
    
    //Armure en kandium
    
    kandiumHelmet = new kandiumArmor(kandiumArmor, 0, 0).setUnlocalizedName("kandiumHelmet").setTextureName(References.MODID + ":kandium_helmet");
    GameRegistry.registerItem(kandiumHelmet, "kandiumHelmet");
    LanguageRegistry.addName(kandiumHelmet, "kandium Helmet");
    kandiumChestplate = new kandiumArmor(kandiumArmor, 0, 1).setUnlocalizedName("kandiumChestplate").setTextureName(References.MODID + ":kandium_chestplate");
    GameRegistry.registerItem(kandiumChestplate, "kandiumChestplate");
    LanguageRegistry.addName(kandiumChestplate, "kandium Chestplate");
    kandiumLeggings = new kandiumArmor(kandiumArmor, 0, 2).setUnlocalizedName("kandiumLeggings").setTextureName(References.MODID + ":kandium_leggings");
    GameRegistry.registerItem(kandiumLeggings, "kandiumLeggings");
    LanguageRegistry.addName(kandiumLeggings, "kandium Leggings");
    kandiumBoots = new kandiumArmor(kandiumArmor, 0, 3).setUnlocalizedName("kandiumBoots").setTextureName(References.MODID + ":kandium_boots");
    GameRegistry.registerItem(kandiumBoots, "kandiumBoots");
    LanguageRegistry.addName(kandiumBoots, "kandium Boots");
    
    //outils en uryal
    
    uryalSword = new uryalSword(uryalTool).setUnlocalizedName("uryalSword").setTextureName(References.MODID + ":uryal_sword");
    GameRegistry.registerItem(uryalSword, "uryalSword");
    LanguageRegistry.addName(uryalSword, "uryal Sword");
    uryalPickaxe = new uryalPickaxe(uryalTool).setUnlocalizedName("uryalPickaxe").setTextureName(References.MODID + ":uryal_pickaxe");
    GameRegistry.registerItem(uryalPickaxe, "uryalPickaxe");
    LanguageRegistry.addName(uryalPickaxe, "uryal Pickaxe");
    uryalShovel = new uryalShovel(uryalTool).setUnlocalizedName("uryalShovel").setTextureName(References.MODID + ":uryal_shovel");
    GameRegistry.registerItem(uryalShovel, "uryalShovel");
    LanguageRegistry.addName(uryalShovel, "uryal Shovel");
    uryalAxe = new uryalAxe(uryalTool).setUnlocalizedName("uryalAxe").setTextureName(References.MODID + ":uryal_axe");
    GameRegistry.registerItem(uryalAxe, "uryalAxe");
    LanguageRegistry.addName(uryalAxe, "uryal Axe");
    uryalHoe = new uryalHoe(uryalTool).setUnlocalizedName("uryalHoe").setTextureName(References.MODID + ":uryal_hoe");
    GameRegistry.registerItem(uryalHoe, "uryalHoe");
    LanguageRegistry.addName(uryalHoe, "uryal Hoe");
    
    //Outils en exanite
    
    exaniteSword = new exaniteSword(exaniteTool).setUnlocalizedName("exaniteSword").setTextureName(References.MODID + ":exanite_sword");
    GameRegistry.registerItem(exaniteSword, "exaniteSword");
    LanguageRegistry.addName(exaniteSword, "exanite Sword");
    exanitePickaxe = new exanitePickaxe(exaniteTool).setUnlocalizedName("exanitePickaxe").setTextureName(References.MODID + ":exanite_pickaxe");
    GameRegistry.registerItem(exanitePickaxe, "exanitePickaxe");
    LanguageRegistry.addName(exanitePickaxe, "exanite Pickaxe");
    exaniteShovel = new exaniteShovel(exaniteTool).setUnlocalizedName("exaniteShovel").setTextureName(References.MODID + ":exanite_shovel");
    GameRegistry.registerItem(exaniteShovel, "exaniteShovel");
    LanguageRegistry.addName(exaniteShovel, "exanite Shovel");
    exaniteAxe = new exaniteAxe(exaniteTool).setUnlocalizedName("exaniteAxe").setTextureName(References.MODID + ":exanite_axe");
    GameRegistry.registerItem(exaniteAxe, "exaniteAxe");
    LanguageRegistry.addName(exaniteAxe, "exanite Axe");
    exaniteHoe = new exaniteHoe(exaniteTool).setUnlocalizedName("exaniteHoe").setTextureName(References.MODID + ":exanite_hoe");
    GameRegistry.registerItem(exaniteHoe, "exaniteHoe");
    LanguageRegistry.addName(exaniteHoe, "exanite Hoe");
    
    //Outils en kandium
    
    kandiumSword = new kandiumSword(kandiumTool).setUnlocalizedName("kandiumSword").setTextureName(References.MODID + ":kandium_sword");
    GameRegistry.registerItem(kandiumSword, "kandiumSword");
    LanguageRegistry.addName(kandiumSword, "kandium Sword");
    kandiumPickaxe = new kandiumPickaxe(kandiumTool).setUnlocalizedName("kandiumPickaxe").setTextureName(References.MODID + ":kandium_pickaxe");
    GameRegistry.registerItem(kandiumPickaxe, "kandiumPickaxe");
    LanguageRegistry.addName(kandiumPickaxe, "kandium Pickaxe");
    kandiumShovel = new kandiumShovel(kandiumTool).setUnlocalizedName("kandiumShovel").setTextureName(References.MODID + ":kandium_shovel");
    GameRegistry.registerItem(kandiumShovel, "kandiumShovel");
    LanguageRegistry.addName(kandiumShovel, "kandium Shovel");
    kandiumAxe = new kandiumAxe(kandiumTool).setUnlocalizedName("kandiumAxe").setTextureName(References.MODID + ":kandium_axe");
    GameRegistry.registerItem(kandiumAxe, "kandiumAxe");
    LanguageRegistry.addName(kandiumAxe, "kandium Axe");
    kandiumHoe = new kandiumHoe(kandiumTool).setUnlocalizedName("kandiumHoe").setTextureName(References.MODID + ":kandium_hoe");
    GameRegistry.registerItem(kandiumHoe, "kandiumHoe");
    LanguageRegistry.addName(kandiumHoe, "kandium Hoe");
    
    }
    
    @EventHandler
    public void init(FMLInitializationEvent event)
    {
    
    //Generation Des Minerais
    
    WorldGeneration worldgeneration = new WorldGeneration();
    GameRegistry.registerWorldGenerator(worldgeneration, 0);
    
    //Craft Epee
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryalSword, 1),
    "x",
    "x",
    "y", 'x',KandarPvP.uryal, 'y', Items.stick);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandiumSword, 1),
    "x",
    "x",
    "y", 'x',KandarPvP.kandium, 'y', Items.stick);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exaniteSword, 1),
    "x",
    "x",
    "y", 'x',KandarPvP.exanite, 'y', Items.stick);
    
    //Craft Pioches
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryalPickaxe, 1),
    "xxx",
    "y",
    "y", 'x',KandarPvP.uryal, 'y', Items.stick);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandiumPickaxe, 1),
    "xxx",
    "y",
    "y", 'x',KandarPvP.kandium, 'y', Items.stick);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exanitePickaxe, 1),
    "xxx",
    "y",
    "y", 'x',KandarPvP.exanite, 'y', Items.stick);
    
    //Craft Pelles
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryalShovel, 1),
    "x",
    "y",
    "y", 'x',KandarPvP.uryal, 'y', Items.stick);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandiumShovel, 1),
    "x",
    "y",
    "y", 'x',KandarPvP.kandium, 'y', Items.stick);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exaniteShovel, 1),
    "x",
    "y",
    "y", 'x',KandarPvP.exanite, 'y', Items.stick);
    
    //Craft Hache
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryalAxe, 1),
    "xx",
    "yx",
    "y", 'x',KandarPvP.uryal, 'y', Items.stick);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandiumAxe, 1),
    "xx",
    "yx",
    "y", 'x',KandarPvP.kandium, 'y', Items.stick);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exaniteAxe, 1),
    "xx",
    "yx",
    "y", 'x',KandarPvP.exanite, 'y', Items.stick);
    
    //Craft Hoe
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryalHoe, 1),
    "xx",
    "y",
    "y", 'x',KandarPvP.uryal, 'y', Items.stick);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandiumHoe, 1),
    "xx",
    "y",
    "y", 'x',KandarPvP.kandium, 'y', Items.stick);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exaniteHoe, 1),
    "xx",
    "y",
    "y", 'x',KandarPvP.exanite, 'y', Items.stick);
    
    //Craft Items
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryal, 9),
    "x", 'x', KandarPvP.uryalBlock );
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exanite, 9),
    "x", 'x', KandarPvP.exaniteBlock );
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandium, 9),
    "x", 'x', KandarPvP.kandiumBlock );
    
    //Craft Blocks
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryalBlock, 1),
    "xxx",
    "xxx",
    "xxx", 'x', KandarPvP.uryal );
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exaniteBlock, 1),
    "xxx",
    "xxx",
    "xxx", 'x', KandarPvP.exanite );
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandiumBlock, 1),
    "xxx",
    "xxx",
    "xxx", 'x', KandarPvP.kandium );
    
    //Casques
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryalHelmet, 1),
    "xxx",
    "x x", 'x', KandarPvP.uryal);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exaniteHelmet, 1),
    "xxx",
    "x x", 'x', KandarPvP.exanite);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandiumHelmet, 1),
    "xxx",
    "x x", 'x', KandarPvP.kandium);
    
    //Plastrons
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryalChestplate, 1),
    "x x",
    "xxx",
    "xxx", 'x', KandarPvP.uryal);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exaniteChestplate, 1),
    "x x",
    "xxx",
    "xxx", 'x', KandarPvP.exanite);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandiumChestplate, 1),
    "x x",
    "xxx",
    "xxx", 'x', KandarPvP.kandium);
    
    //Leggings
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryalLeggings, 1),
    "xxx",
    "x x",
    "x x", 'x', KandarPvP.uryal);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exaniteLeggings, 1),
    "xxx",
    "x x",
    "x x", 'x', KandarPvP.exanite);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandiumLeggings, 1),
    "xxx",
    "x x",
    "x x", 'x', KandarPvP.kandium);
    
    //Boots
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.uryalBoots, 1),
    "x x",
    "x x", 'x', KandarPvP.uryal);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.exaniteBoots, 1),
    "x x",
    "x x", 'x', KandarPvP.exanite);
    
    GameRegistry.addRecipe(new ItemStack(KandarPvP.kandiumBoots, 1),
    "x x",
    "x x", 'x', KandarPvP.kandium);
    
    //Fours
    }
    
    @EventHandler
    public void load(FMLInitializationEvent event)
    {
    proxy.registerRenderInformation();
    }
    
    }
    
    

    Le Crash report :

    ---- Minecraft Crash Report ----
    // Ooh. Shiny.
    
    Time: 15/03/15 20:17
    Description: There was a severe problem during mod loading that has caused the game to fail
    
    cpw.mods.fml.common.LoaderException: java.lang.NullPointerException: Can't add null-object to the registry, name KandarPvP:uryalOre.
    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:233)
    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:182)
    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:171)
    at fr.drpsykoz.kandarpvp.KandarPvP.<init>(KandarPvP.java:121)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at java.lang.Class.newInstance(Class.java:379)
    at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:173)
    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:486)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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.loadMods(Loader.java:492)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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)
    Caused by: java.lang.NullPointerException: Can't add null-object to the registry, name KandarPvP:uryalOre.
    at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:357)
    at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:883)
    at cpw.mods.fml.common.registry.GameData.registerBlock(GameData.java:858)
    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:223)
    ... 44 more
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 8.1 (amd64) version 6.3
    Java Version: 1.7.0_71, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 88793968 bytes (84 MB) / 236978176 bytes (226 MB) up to 928514048 bytes (885 MB)
    JVM Flags: 0 total;
    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.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
    FML{7.10.85.1291} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed
    Forge{10.13.2.1291} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed
    KandarPvP{1.0} [KandarPvP] (KandarPvP-1.0.jar) Unloaded->Errored
    

    Merci d'avance !</init>


  • Moddeurs confirmés Rédacteurs Administrateurs

    Ton bloc uryalOre n'est jamais initialiser. (il manque la ligne uryalOre = new …)


  • Moddeurs confirmés Rédacteurs Modérateurs Administrateurs

    Tu peux également virer tous les LanguageRegistry, ils ne servent plus à rien depuis la 1.6.

    EDIT : Il manque également la méthode preInit.



  • Oui mais si je retire les langageRegistry, je doit faire un fichier .lang ?


  • Moddeurs confirmés Rédacteurs Modérateurs Administrateurs

    Oui, tu dois créer un en_US.lang au minimum.



  • Je viens de modifier cette partie :

    uryalOre = new fr.drpsykoz.kandarpvp.blocks.uryalOre();
    GameRegistry.registerBlock(uryalOre, "uryalOre");
    
    exaniteOre = new fr.drpsykoz.kandarpvp.blocks.exaniteOre();
    GameRegistry.registerBlock(exaniteOre, "exaniteOre");
    
    kandiumOre = new fr.drpsykoz.kandarpvp.blocks.kandiumOre();
    GameRegistry.registerBlock(kandiumOre, "kandiumOre");
    

    Mais sa ne fonctionne toujours pas 😕


  • Moddeurs confirmés Rédacteurs Administrateurs

    Vérifie le rapport de crash, il est peut-être différent. En passant je déplaces dans la section support pour les moddeurs.



  • Ok, donc sa bug avec un gameRegistry apparemment 😕

    –-- Minecraft Crash Report ----
    // You're mean.
    
    Time: 15/03/15 21:19
    Description: Initializing game
    
    java.lang.NullPointerException: Can't add null-object to the registry, name KandarPvP:uryal.
    at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:357)
    at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:838)
    at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:802)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:143)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:131)
    at fr.drpsykoz.kandarpvp.KandarPvP.init(KandarPvP.java:131)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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.preinitializeMods(Loader.java:513)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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:357)
    at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:838)
    at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:802)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:143)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:131)
    at fr.drpsykoz.kandarpvp.KandarPvP.init(KandarPvP.java:131)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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.preinitializeMods(Loader.java:513)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
    
    -- 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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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 8.1 (amd64) version 6.3
    Java Version: 1.7.0_71, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 79858672 bytes (76 MB) / 223346688 bytes (213 MB) up to 928514048 bytes (885 MB)
    JVM Flags: 0 total;
    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.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
    FML{7.10.85.1291} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized
    Forge{10.13.2.1291} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized
    KandarPvP{1.0} [KandarPvP] (KandarPvP-1.0.jar) Unloaded->Constructed->Errored
    Launched Version: 1.7.10
    LWJGL: 2.9.1
    OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.3308, 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: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)
    

  • Moddeurs confirmés Rédacteurs Administrateurs

            GameRegistry.registerItem(uryal, "uryal");
    

    Tu as le même problème avec cette item : il n'est pas initialisé.



  • Ok, donc sa bug avec un gameRegistry apparemment 😕

    –-- Minecraft Crash Report ----
    // You're mean.
    
    Time: 15/03/15 21:19
    Description: Initializing game
    
    java.lang.NullPointerException: Can't add null-object to the registry, name KandarPvP:uryal.
    at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:357)
    at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:838)
    at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:802)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:143)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:131)
    at fr.drpsykoz.kandarpvp.KandarPvP.init(KandarPvP.java:131)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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.preinitializeMods(Loader.java:513)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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:357)
    at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:838)
    at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:802)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:143)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:131)
    at fr.drpsykoz.kandarpvp.KandarPvP.init(KandarPvP.java:131)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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.preinitializeMods(Loader.java:513)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
    
    -- 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:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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 8.1 (amd64) version 6.3
    Java Version: 1.7.0_71, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 79858672 bytes (76 MB) / 223346688 bytes (213 MB) up to 928514048 bytes (885 MB)
    JVM Flags: 0 total;
    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.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
    FML{7.10.85.1291} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized
    Forge{10.13.2.1291} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized
    KandarPvP{1.0} [KandarPvP] (KandarPvP-1.0.jar) Unloaded->Constructed->Errored
    Launched Version: 1.7.10
    LWJGL: 2.9.1
    OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.3308, 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: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)
    


  • Tu as pas initialiser plein de bloc et item.



  • Comme le quel ? Car je ne vois vraiment pas quel Items, Blocks ne sont pas initialisés 😕


  • Moddeurs confirmés Rédacteurs Administrateurs

    java.lang.NullPointerException: Can't add null-object to the registry, name KandarPvP:uryal.
    

    Le crash t'indique clairement lequel …



  • redonne tes classes s-il te plait. Car tu les as changées.

    edit : robin t'a aussi mis, que tu tente d'ajouter un objet null… donc tu as juste à les initialiser (tonItem = new ClassItem()...)


Log in to reply