• 0

    posted a message on Ivorius' Mods || Structures - Dungeons - Drugs - Statues - Flags - Boxes of Doom - & ++
    Quote from LexuZ

    if psychedelicraft is not compatible with forge, then, every mod that needs forge to work is incompatible?

    Tried, forge and modloader don't work together, so any mod that requires forge will not work with this. Deeply saddens me, though I understand the author's stance on what forge has and what modloader has. I'll probably wait for forge update or just have 2 setups of minecraft, because going from 98 mods to 2 is kinda difficult for me.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.2.5] TobaccoCraft [ModLoader][Forge][SSP]
    Quote from EmptyCans

    lol


    Big fan of your mod, and I honestly feel kinda sorry for ya, having to deal with people constantly annoying you for an update, and insulting you when they don't get their way.
    Posted in: Minecraft Mods
  • 0

    posted a message on [Forge Coding] Lots of errors/Tree generation/Crash Report
    Quote from RedFoxy3

    import net.minecraft.src.ModLoader; is your first problem.

    public void generateSurface(World world, Random rand, int chunkX, int chunkZ) is your second problem. It is a ModLoader method and should not be used.

    @NetworkMod(clientSideRequired = true, serverSideRequired = true) if serverSideRequired is set to true, anyone using your mod would not be able to connect to any servers without having your mod installed on the server too.

    at decormod.Itemcornseed.<init>(Itemcornseed.java:11)
    at decormod.decormods.BlockCreation(decormods.java:229)
    at decormod.decormods.load(decormods.java:154)
    This is the cause of the crash: something is returning null. Please do clean up your code as in putting all the GameRegistry.registerBlock/registerItem code, LanguageRegistry code together to it's easier to spot any mistakes :)


    removed the src.modloader, but how do i add armor then in this case:

    Lighthelmet = new ItemLightArmor(809, lightarmor, ModLoader.addArmor("Light Armor1"), 0).setIconCoord(9, 0).setItemName("Light Helmet");
    GameRegistry.registerItem(Lighthelmet, "Light Helmet");
    LanguageRegistry.addName(Lighthelmet, "Light Helmet");

    changed serversiderequired to false, thanks for that, though not seeing blocks might annoy some people., I'll repost my code when i organize it like you said. thanks + :Diamond:


    edit: found these nulls in corncrops: just incase this is any problem.
    this.setCreativeTab((CreativeTabs)null);
    if (blocksList[var19] != null && blocksList[var19].canSustainPlant(par1World, var17, par3 - 1, var18, ForgeDirection.UP, this))


    organized the gameregistries and languageaddnames apart:

    package decormod;

    import java.util.Random;
    import net.minecraft.block.Block;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.EnumArmorMaterial;
    import net.minecraft.item.EnumToolMaterial;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.world.World;
    import net.minecraft.world.biome.BiomeGenBase;
    import net.minecraftforge.client.MinecraftForgeClient;
    import net.minecraftforge.common.Configuration;
    import net.minecraftforge.common.EnumHelper;
    import net.minecraftforge.common.MinecraftForge;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.Init;
    import cpw.mods.fml.common.Mod.PreInit;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.network.NetworkMod;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.common.registry.LanguageRegistry;



    @Mod(modid = "Decormod", name = "Decoration Mod", version = "0.0.7")
    @NetworkMod(clientSideRequired = true, serverSideRequired = false)


    public class decormods {
    //Creative Tabs
    public static CreativeTabs tabdecor = new CreativeTabdecor(CreativeTabs.getNextID(), "Decor Tab");
    public static CreativeTabs tabfood = new CreativeTabfood(CreativeTabs.getNextID(), "Food Tab");
    public static CreativeTabs tabtools = new CreativeTabtools(CreativeTabs.getNextID(), "Tools Tab");
    //Block declaration
    public static Block deadlight;
    int deadlightID;
    public static Block eternallight;
    int eternallightID;
    public static Block lightore;
    int lightoreID;
    public static Block decorglass;
    int decorglassID;
    public static Block redwoodlog;
    int redwoodlogID;
    public static Block redwoodLeaf;
    int redwoodleafID;
    public static Block redwoodPlank;
    int redwoodplankID;
    public static Block redwoodSapling;
    int redwoodsaplingID;
    //Item declaration
    public static Item lightshards;
    int lightshardsID;
    //Food/Crop Declaration
    public static Item mutton;
    int muttonID;
    public static Item chickenstick;
    int cstickID;
    public static Item salad;
    int saladID;
    //Corn=============
    public static Block corncrop;
    int corncropID;
    public static Item cornseed;
    int cornseedID;
    public static Item corn;
    int cornID;
    //Onion============
    public static Block onioncrop;
    int onioncropID;
    public static Item onionseed;
    int onionseedID;
    public static Item onion;
    int onionID;
    //Garlic===========
    public static Block garliccrop;
    int garliccropID;
    public static Item garlicseed;
    int garlicseedID;
    public static Item garlic;
    int garlicID;
    //Tools============
    public static Item Lightpickaxe;
    int LightpickaxeID;
    public static Item Lightaxe;
    int LightaxeID;
    public static Item Lighthoe;
    int LighthoeID;
    public static Item Lightshovel;
    int LightshovelID;
    public static Item Lightsword;
    int LightswordID;
    public static Item Lighthelmet;
    int LighthelmetID;
    public static Item Lightplate;
    int LightplateID;
    public static Item Lightlegs;
    int LightlegsID;
    public static Item Lightboots;
    int LightbootsID;

    //EnumToolMaterials
    public static EnumToolMaterial lighttools = EnumHelper.addToolMaterial("Light Tools", 3, 50000, 15.0F, 10, 10);
    public static EnumArmorMaterial lightarmor = EnumHelper.addArmorMaterial("Light Armor", 40, new int[]{4,9,7,5}, 10);


    @PreInit
    public void preInit(FMLPreInitializationEvent event){
    Configuration config = new Configuration(event.getSuggestedConfigurationFile());
    config.load();

    deadlightID = config.get("Block IDs", "Dead Light ID", 800).getInt();
    eternallightID = config.get("Block IDs", "Eternal Light ID", 801).getInt();
    lightoreID = config.get("Block IDs", "Light Ore ID", 802).getInt();
    decorglassID = config.get("Block IDs", "Decor Glass ID", 803).getInt();
    corncropID = config.get("Block IDs", "Corn Crops ID", 804).getInt();
    onioncropID = config.get("Block IDs", "Onion Crops ID", 805).getInt();
    garliccropID = config.get("Block IDs", "Garlic Crops ID", 806).getInt();
    redwoodlogID = config.get("Block IDs", "Redwood Block ID", 807).getInt();
    redwoodleafID = config.get("Block IDs", "Redwood Leaf ID", 808).getInt();
    redwoodplankID = config.get("Block IDs", "Redwood Plank ID", 809).getInt();
    redwoodsaplingID = config.get("Block IDs", "Redwood Sapling ID", 810).getInt();


    lightshardsID = config.get("Item IDs", "Light Shards ID", 2001).getInt();
    cornseedID = config.get("Item IDs", "Corn seed ID", 2002).getInt();
    cornID = config.get("Item IDs", "Corn ID", 2003).getInt();
    muttonID = config.get("Item IDs", "Mutton ID", 2004).getInt();
    LightpickaxeID = config.get("Tool IDs", "Light Pickaxe ID", 2005).getInt();
    LightaxeID = config.get("Tool IDs", "Light Axe ID", 2006).getInt();
    LighthoeID = config.get("Tool IDs", "Light Hoe ID", 2007).getInt();
    LightshovelID = config.get("Tool IDs", "Light Shovel ID", 2008).getInt();
    LightswordID = config.get("Tool IDs", "Light Sword ID", 2009).getInt();
    cstickID = config.get("Item IDs", "Chicken Stick ID", 2010).getInt();
    saladID = config.get("Item IDs", "Salad ID", 2011).getInt();
    onionseedID = config.get("Item IDs", "Onion Seeds ID", 2012).getInt();
    onionID = config.get("Item IDs", "Onion ID", 2013).getInt();
    garlicseedID = config.get("Item IDs", "Garlic Seeds ID", 2014).getInt();
    garlicID = config.get("Item IDs", "Garlic ID", 2015).getInt();
    LighthelmetID = config.get("Item IDs", "Light Helmet ID", 2016).getInt();
    LightplateID = config.get("Item IDs", "Light Plate ID", 2017).getInt();
    LightlegsID = config.get("Item IDs", "Light Legs ID", 2018).getInt();
    LightbootsID = config.get("Item IDs", "Light Boots ID", 2019).getInt();

    config.save();
    }


    @Init
    public void load(FMLInitializationEvent fml){
    BlockCreation();
    CraftRecipes();
    GameRegisters();
    LanguageRegisters();

    GameRegistry.registerWorldGenerator(new WorldlightoreGeneration());
    MinecraftForgeClient.preloadTexture("/jtextures/Items.png");
    MinecraftForgeClient.preloadTexture("/jtextures/Blocks.png");
    MinecraftForge.setToolClass(Lightpickaxe, "pickaxe", 2);
    MinecraftForge.setToolClass(Lightshovel, "shovel", 2);
    MinecraftForge.setToolClass(Lightaxe, "axe", 2);
    MinecraftForge.setToolClass(Lightsword, "sword", 2);
    MinecraftForge.setToolClass(Lighthoe, "hoe", 2);
    Lighthelmet.setCreativeTab(decormods.tabtools);
    Lightplate.setCreativeTab(decormods.tabtools);
    Lightlegs.setCreativeTab(decormods.tabtools);
    Lightboots.setCreativeTab(decormods.tabtools);

    }

    public void generateSurface(World world, Random rand, int chunkX, int chunkZ)
    {
    BiomeGenBase plains = world.getWorldChunkManager().getBiomeGenAt(chunkX, chunkZ);
    WorldGenRedwoodTree tree = new WorldGenRedwoodTree(); //Change this to the World Gens or your tree and make sure that the parameters match if you get errors!
    if(plains instanceof BiomeGenBase)
    {
    for(int c = 0; c < 3; c++)
    {
    int Xcoord = chunkX + rand.nextInt(16);
    int Zcoord = chunkZ + rand.nextInt(16);
    int i = world.getHeightValue(Xcoord, Zcoord);
    tree.generate(world, rand, Xcoord, i, Zcoord);
    }
    }
    }

    public void BlockCreation(){ //Total IDs - Item IDs: 0,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 Block IDs: 0,1,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32
    //Block creation - Block IDs Used: 0,1,2,4,5,14,15,32
    deadlight = new Blockdeadlight(deadlightID, 0).setStepSound(Block.soundStoneFootstep).setHardness(2F).setBlockName("Dead Light Block");
    eternallight = new Blocketernallight(eternallightID, 1).setStepSound(Block.soundStoneFootstep).setHardness(2F).setBlockName("Eternal Light Block");
    lightore = new Orelight(lightoreID, 2).setStepSound(Block.soundStoneFootstep).setHardness(3F).setBlockName("Light Shard Ore").setLightValue(0.5F);
    decorglass = new Blockdecorglass(decorglassID, 14).setHardness(2.0F).setStepSound(Block.soundGlassFootstep).setBlockName("Decor Glass");
    redwoodlog = new BlockRedwoodLog(redwoodlogID).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setBlockName("Redwood Log").setRequiresSelfNotify();
    redwoodLeaf = new BlockRedwoodleaf(redwoodleafID, 15).setHardness(1.0F).setStepSound(Block.soundGrassFootstep).setBlockName("Redwood Leaf").setRequiresSelfNotify();
    redwoodSapling = new BlockRedwoodSapling(redwoodsaplingID, 32).setHardness(0F).setBlockName("Redwood Leaf").setRequiresSelfNotify();
    //Item creation - IDs Used: 0
    lightshards = new Itemlightshards(lightshardsID).setIconIndex(0).setItemName("Light Shards");
    //Food Creation - IDs Used: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 || Block IDs Used: 6,7,8,9,10,11,12,13,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
    mutton = new ItemFoodmutton(muttonID, 12, 2.0F, false).setItemName("Mutton").setIconIndex(1);
    chickenstick = new ItemFoodcstick(cstickID, 12, 2.0F, false).setItemName("Chicken Stick").setIconIndex(2);
    salad = new ItemFoodsalad(saladID, 6, 2.0F, false).setItemName("Salad").setIconIndex(8);
    //Corn===============
    corncrop = new Blockcorncrop(corncropID, 6).setHardness(0F).setBlockName("Corn Crop");
    MinecraftForge.EVENT_BUS.register(new FertilizerEventcornClass());
    cornseed = new Itemcornseed(cornseedID, corncrop.blockID, Block.tilledField.blockID).setItemName("Corn Seeds").setIconIndex(13);
    corn = new Itemcorn(cornID, 4, false).setItemName("Corn").setIconIndex(14);
    //Onion===============
    onioncrop = new Blockonioncrop(onioncropID, 16).setHardness(0F).setBlockName("Onion Crop");
    MinecraftForge.EVENT_BUS.register(new FertilizerEventonionClass());
    onionseed = new Itemonionseed(onionseedID, onioncrop.blockID, Block.tilledField.blockID).setItemName("Onion Seeds").setIconIndex(16);
    onion = new Itemonion(cornID, 4, false).setItemName("Onion").setIconIndex(15);
    //Garlic==============Construction
    garliccrop = new Blockgarliccrop(garliccropID, 24).setHardness(0F).setBlockName("Garlic Crop");
    MinecraftForge.EVENT_BUS.register(new FertilizerEventgarlicClass());
    garlicseed = new Itemgarlicseed(garlicseedID, garliccrop.blockID, Block.tilledField.blockID).setItemName("Garlic Seeds").setIconIndex(17);
    garlic = new Itemgarlic(garlicID, 4, false).setItemName("Garlic").setIconIndex(18);
    //Tools Creation - IDs Used: 3,4,5,6,7,9,10,11,12
    Lightpickaxe = new ItemLightPickaxe(LightpickaxeID, lighttools).setIconIndex(3).setItemName("Light Pickaxe");
    Lightshovel = new ItemLightShovel(LightshovelID, lighttools).setIconIndex(4).setItemName("Light Shovel");
    Lightaxe = new ItemLightAxe(LightaxeID, lighttools).setIconIndex(5).setItemName("Light Axe");
    Lightsword = new ItemLightSword(LightswordID, lighttools).setIconIndex(6).setItemName("Light Sword");
    Lighthoe = new ItemLightHoe(LighthoeID, lighttools).setIconIndex(7).setItemName("Light Hoe");
    Lighthelmet = new ItemLightArmor(809, lightarmor, ModLoader.addArmor("Light Armor1"), 0).setIconCoord(9, 0).setItemName("Light Helmet");
    Lightplate = new ItemLightArmor(810, lightarmor, ModLoader.addArmor("Light Armor2"), 1).setIconCoord(10, 0).setItemName("Light Plate");
    Lightlegs = new ItemLightArmor(811, lightarmor, ModLoader.addArmor("Light Armor3"), 2).setIconCoord(11, 0).setItemName("Light Legs");
    Lightboots = new ItemLightArmor(812, lightarmor, ModLoader.addArmor("Light Armor4"), 3).setIconCoord(12, 0).setItemName("Light Boots");

    /*decorfood1 = new myfood1(decorfood1ID, 12, 2.0F, false).setItemName("Mutton").setIconIndex(1); //1=half heart true/false if you can feed your dog
    GameRegistry.registerItem(decorfood1, "Mutton");
    LanguageRegistry.addName(decorfood1, "Mutton"); //id, hp, sat, wolffood*/
    }

    public void GameRegisters(){

    GameRegistry.registerBlock(deadlight, "Dead Light Block");
    GameRegistry.registerBlock(eternallight, "Eternal Light Block");
    GameRegistry.registerBlock(lightore, "Light Shard Ore");
    GameRegistry.registerBlock(decorglass, "Decor Glass");
    GameRegistry.registerBlock(redwoodlog, "Redwood Log");
    GameRegistry.registerBlock(redwoodLeaf, "Redwood Leaf");
    GameRegistry.registerBlock(redwoodSapling, "Redwood Sapling");
    GameRegistry.registerItem(lightshards, "Light Shards");
    GameRegistry.registerItem(mutton, "Mutton");
    GameRegistry.registerItem(chickenstick, "Chicken Stick");
    GameRegistry.registerItem(salad, "Salad");
    GameRegistry.registerBlock(corncrop, "Corn Crop");
    GameRegistry.registerItem(cornseed, "Corn Seeds");
    GameRegistry.registerItem(corn, "Corn");
    GameRegistry.registerBlock(onioncrop, "Onion Crop");
    GameRegistry.registerItem(onionseed, "Onion Seeds");
    GameRegistry.registerItem(onion, "Onion");
    GameRegistry.registerBlock(garliccrop, "Garlic Crop");
    GameRegistry.registerItem(garlicseed, "Garlic Seeds");
    GameRegistry.registerItem(garlic, "Garlic");
    GameRegistry.registerItem(Lightpickaxe, "Light Pickaxe");
    GameRegistry.registerItem(Lightshovel, "Light Shovel");
    GameRegistry.registerItem(Lightaxe, "Light Axe");
    GameRegistry.registerItem(Lightsword, "Light Sword");
    GameRegistry.registerItem(Lighthoe, "Light Hoe");
    GameRegistry.registerItem(Lighthelmet, "Light Helmet");
    GameRegistry.registerItem(Lightplate, "Light Plate");
    GameRegistry.registerItem(Lightlegs, "Light Legs");
    GameRegistry.registerItem(Lightboots, "Light Boots");
    }

    public void LanguageRegisters(){

    LanguageRegistry.addName(deadlight, "Dead Light Block");
    LanguageRegistry.addName(eternallight, "Eternal Light Block");
    LanguageRegistry.addName(lightore, "Light Shard Ore");
    LanguageRegistry.addName(decorglass, "Decor Glass");
    LanguageRegistry.addName(redwoodlog, "Redwood Log");
    LanguageRegistry.addName(redwoodLeaf, "Redwood Leaf");
    LanguageRegistry.addName(redwoodSapling, "Redwood Sapling");
    LanguageRegistry.addName(lightshards, "Light Shards");
    LanguageRegistry.addName(mutton, "Mutton");
    LanguageRegistry.addName(chickenstick, "Chicken Stick");
    LanguageRegistry.addName(salad, "Salad");
    LanguageRegistry.addName(corncrop, "Corn Crop");
    LanguageRegistry.addName(cornseed, "Corn Seeds");
    LanguageRegistry.addName(corn, "Corn");
    LanguageRegistry.addName(onioncrop, "Onion Crop");
    LanguageRegistry.addName(onionseed, "Onion Seeds");
    LanguageRegistry.addName(onion, "Onion");
    LanguageRegistry.addName(garliccrop, "Garlic Crop");
    LanguageRegistry.addName(garlicseed, "Garlic Seeds");
    LanguageRegistry.addName(garlic, "Garlic");
    LanguageRegistry.addName(Lightpickaxe, "Light Pickaxe");
    LanguageRegistry.addName(Lightshovel, "Light Shovel");
    LanguageRegistry.addName(Lightaxe, "Light Axe");
    LanguageRegistry.addName(Lightsword, "Light Sword");
    LanguageRegistry.addName(Lighthoe, "Light Hoe");
    LanguageRegistry.addName(Lighthelmet, "Light Helmet");
    LanguageRegistry.addName(Lightplate, "Light Plate");
    LanguageRegistry.addName(Lightlegs, "Light Legs");
    LanguageRegistry.addName(Lightboots, "Light Boots");
    }

    public void CraftRecipes(){
    //Crafting Recipes
    GameRegistry.addRecipe(new ItemStack(decormods.deadlight, 1), new Object[]{
    "aaa", "axa", "aaa", Character.valueOf('a'), decormods.lightshards
    });
    GameRegistry.addShapelessRecipe(new ItemStack(decormods.salad, 1), new Object[]{
    Item.seeds,
    Item.seeds,
    Item.seeds
    });
    GameRegistry.addRecipe(new ItemStack(decormods.mutton, 1), new Object[]{
    "xxx", "xbx", "xax", Character.valueOf('a'), Item.bone, Character.valueOf('b'), Item.porkCooked
    });
    GameRegistry.addRecipe(new ItemStack(decormods.chickenstick, 1), new Object[]{
    "xxa", "xbx", "axx", Character.valueOf('a'), Item.stick, Character.valueOf('b'), Item.chickenCooked
    });
    GameRegistry.addShapelessRecipe(new ItemStack(decormods.cornseed, 2), new Object[]{
    decormods.corn
    });
    GameRegistry.addShapelessRecipe(new ItemStack(decormods.onionseed, 2), new Object[]{
    decormods.onion
    });
    GameRegistry.addShapelessRecipe(new ItemStack(decormods.garlicseed, 2), new Object[]{
    decormods.garlic
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightpickaxe, 1), new Object[]{
    "bbb", "xax", "xax", Character.valueOf('a'), Item.ingotIron, Character.valueOf('b'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightshovel, 1), new Object[]{
    "xbx", "xax", "xax", Character.valueOf('a'), Item.ingotIron, Character.valueOf('b'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightaxe, 1), new Object[]{
    "bbx", "bax", "xax", Character.valueOf('a'), Item.ingotIron, Character.valueOf('b'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightsword, 1), new Object[]{
    "xbx", "xbx", "xax", Character.valueOf('a'), Item.ingotIron, Character.valueOf('b'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lighthoe, 1), new Object[]{
    "bbx", "xax", "xax", Character.valueOf('a'), Item.ingotIron, Character.valueOf('b'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lighthelmet, 1), new Object[]{
    "aaa", "axa", "xxx", Character.valueOf('a'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightplate, 1), new Object[]{
    "axa", "aaa", "aaa", Character.valueOf('a'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightlegs, 1), new Object[]{
    "aaa", "axa", "axa", Character.valueOf('a'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightboots, 1), new Object[]{
    "xxx", "axa", "axa", Character.valueOf('a'), decormods.lightshards
    });
    //Smelting Recipes
    GameRegistry.addSmelting(decormods.deadlight.blockID, new ItemStack(decormods.eternallight, 1), 20);
    }

    }


    /*
    GameRegistry.addShapelessRecipe(new ItemStack(mod_testing.decorblock3, 4), new Object[]{
    Item.appleRed,
    Block.planks
    });
    GameRegistry.addShapelessRecipe(new ItemStack(mod_testing.RedwoodLog, 1), new Object[]{
    Block.wood,
    Item.appleRed
    });
    GameRegistry.addShapelessRecipe(new ItemStack(mod_testing.decorblock3, 4), new Object[]{
    mod_testing.RedwoodLog
    });
    //public static final Block sand = (new BlockSand(12, 18)).setHardness(0.5F).setStepSound(soundSandFootstep).setBlockName("sand");
    //public static final Block thinGlass = (new BlockPane(102, 49, 148, Material.glass, false)).setHardness(0.3F).setStepSound(soundGlassFootstep).setBlockName("thinGlass");
    */

    Posted in: Modification Development
  • 0

    posted a message on [Forge Coding] Lots of errors/Tree generation/Crash Report
    Still need help, I can't really continue coding my mod till then.
    Posted in: Modification Development
  • 0

    posted a message on [Forge Coding] Lots of errors/Tree generation/Crash Report
    Novice coder here, had made a small sized mod, then decided it was to messy and started redoing it trying to simplify and organize it. I got help earlier on fixing one issue, but now that I've tried adding tree generation to the world, I've received a crash report, as well as corn won't drop from corn crops, onion does. Please help if possible, all help is appreciated and will is thanked kindly.

    Crash Report:

    ---- Minecraft Crash Report ----
    // Why is it breaking :(

    Time: 2/16/13 12:29 PM
    Description: Failed to start game

    java.lang.NullPointerException
    at net.minecraft.item.ItemStack.<init>(ItemStack.java:64)
    at decormod.Itemcornseed.<init>(Itemcornseed.java:11)
    at decormod.decormods.BlockCreation(decormods.java:229)
    at decormod.decormods.load(decormods.java:154)
    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:485)
    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:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
    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:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:657)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:207)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:456)
    at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
    at net.minecraft.client.Minecraft.run(Minecraft.java:744)
    at java.lang.Thread.run(Unknown Source)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
    Minecraft Version: 1.4.7
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.7.0_13, Oracle Corporation
    Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 972696720 bytes (927 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
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active
    mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
    FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
    Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
    Decormod [Decoration Mod] (bin) Unloaded->Constructed->Pre-initialized->Errored
    LWJGL: 2.4.2
    OpenGL: GeForce GTX 650/PCIe/SSE2 GL version 4.2.0, NVIDIA Corporation
    Is Modded: Definitely; Client brand changed to 'forge,fml'
    Type: Client (map_client.txt)
    Texture Pack: Default
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

    decormods main class file:

    package decormod;

    import java.util.Random;
    import net.minecraft.block.Block;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.EnumArmorMaterial;
    import net.minecraft.item.EnumToolMaterial;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.src.ModLoader;
    import net.minecraft.world.World;
    import net.minecraft.world.biome.BiomeGenBase;
    import net.minecraftforge.client.MinecraftForgeClient;
    import net.minecraftforge.common.Configuration;
    import net.minecraftforge.common.EnumHelper;
    import net.minecraftforge.common.MinecraftForge;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.Init;
    import cpw.mods.fml.common.Mod.PreInit;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.network.NetworkMod;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.common.registry.LanguageRegistry;



    @Mod(modid = "Decormod", name = "Decoration Mod", version = "0.0.7")
    @NetworkMod(clientSideRequired = true, serverSideRequired = true)


    public class decormods {
    //Creative Tabs
    public static CreativeTabs tabdecor = new CreativeTabdecor(CreativeTabs.getNextID(), "Decor Tab");
    public static CreativeTabs tabfood = new CreativeTabfood(CreativeTabs.getNextID(), "Food Tab");
    public static CreativeTabs tabtools = new CreativeTabtools(CreativeTabs.getNextID(), "Tools Tab");
    //Block declaration
    public static Block deadlight;
    int deadlightID;
    public static Block eternallight;
    int eternallightID;
    public static Block lightore;
    int lightoreID;
    public static Block decorglass;
    int decorglassID;
    public static Block redwoodlog;
    int redwoodlogID;
    public static Block redwoodLeaf;
    int redwoodleafID;
    public static Block redwoodPlank;
    int redwoodplankID;
    public static Block redwoodSapling;
    int redwoodsaplingID;
    //Item declaration
    public static Item lightshards;
    int lightshardsID;
    //Food/Crop Declaration
    public static Item mutton;
    int muttonID;
    public static Item chickenstick;
    int cstickID;
    public static Item salad;
    int saladID;
    //Corn=============
    public static Block corncrop;
    int corncropID;
    public static Item cornseed;
    int cornseedID;
    public static Item corn;
    int cornID;
    //Onion============
    public static Block onioncrop;
    int onioncropID;
    public static Item onionseed;
    int onionseedID;
    public static Item onion;
    int onionID;
    //Garlic===========
    public static Block garliccrop;
    int garliccropID;
    public static Item garlicseed;
    int garlicseedID;
    public static Item garlic;
    int garlicID;
    //Tools============
    public static Item Lightpickaxe;
    int LightpickaxeID;
    public static Item Lightaxe;
    int LightaxeID;
    public static Item Lighthoe;
    int LighthoeID;
    public static Item Lightshovel;
    int LightshovelID;
    public static Item Lightsword;
    int LightswordID;
    public static Item Lighthelmet;
    int LighthelmetID;
    public static Item Lightplate;
    int LightplateID;
    public static Item Lightlegs;
    int LightlegsID;
    public static Item Lightboots;
    int LightbootsID;

    //EnumToolMaterials
    public static EnumToolMaterial lighttools = EnumHelper.addToolMaterial("Light Tools", 3, 50000, 15.0F, 10, 10);
    public static EnumArmorMaterial lightarmor = EnumHelper.addArmorMaterial("Light Armor", 40, new int[]{4,9,7,5}, 10);


    @PreInit
    public void preInit(FMLPreInitializationEvent event){
    Configuration config = new Configuration(event.getSuggestedConfigurationFile());
    config.load();

    deadlightID = config.get("Block IDs", "Dead Light ID", 800).getInt();
    eternallightID = config.get("Block IDs", "Eternal Light ID", 801).getInt();
    lightoreID = config.get("Block IDs", "Light Ore ID", 802).getInt();
    decorglassID = config.get("Block IDs", "Decor Glass ID", 803).getInt();
    corncropID = config.get("Block IDs", "Corn Crops ID", 804).getInt();
    onioncropID = config.get("Block IDs", "Onion Crops ID", 805).getInt();
    garliccropID = config.get("Block IDs", "Garlic Crops ID", 806).getInt();
    redwoodlogID = config.get("Block IDs", "Redwood Block ID", 807).getInt();
    redwoodleafID = config.get("Block IDs", "Redwood Leaf ID", 808).getInt();
    redwoodplankID = config.get("Block IDs", "Redwood Plank ID", 809).getInt();
    redwoodsaplingID = config.get("Block IDs", "Redwood Sapling ID", 810).getInt();


    lightshardsID = config.get("Item IDs", "Light Shards ID", 2001).getInt();
    cornseedID = config.get("Item IDs", "Corn seed ID", 2002).getInt();
    cornID = config.get("Item IDs", "Corn ID", 2003).getInt();
    muttonID = config.get("Item IDs", "Mutton ID", 2004).getInt();
    LightpickaxeID = config.get("Tool IDs", "Light Pickaxe ID", 2005).getInt();
    LightaxeID = config.get("Tool IDs", "Light Axe ID", 2006).getInt();
    LighthoeID = config.get("Tool IDs", "Light Hoe ID", 2007).getInt();
    LightshovelID = config.get("Tool IDs", "Light Shovel ID", 2008).getInt();
    LightswordID = config.get("Tool IDs", "Light Sword ID", 2009).getInt();
    cstickID = config.get("Item IDs", "Chicken Stick ID", 2010).getInt();
    saladID = config.get("Item IDs", "Salad ID", 2011).getInt();
    onionseedID = config.get("Item IDs", "Onion Seeds ID", 2012).getInt();
    onionID = config.get("Item IDs", "Onion ID", 2013).getInt();
    garlicseedID = config.get("Item IDs", "Garlic Seeds ID", 2014).getInt();
    garlicID = config.get("Item IDs", "Garlic ID", 2015).getInt();
    LighthelmetID = config.get("Item IDs", "Light Helmet ID", 2016).getInt();
    LightplateID = config.get("Item IDs", "Light Plate ID", 2017).getInt();
    LightlegsID = config.get("Item IDs", "Light Legs ID", 2018).getInt();
    LightbootsID = config.get("Item IDs", "Light Boots ID", 2019).getInt();

    config.save();
    }


    @Init
    public void load(FMLInitializationEvent fml){
    BlockCreation();
    CraftRecipes();

    GameRegistry.registerWorldGenerator(new WorldlightoreGeneration());
    MinecraftForgeClient.preloadTexture("/jtextures/Items.png");
    MinecraftForgeClient.preloadTexture("/jtextures/Blocks.png");
    MinecraftForge.setToolClass(Lightpickaxe, "pickaxe", 2);
    MinecraftForge.setToolClass(Lightshovel, "shovel", 2);
    MinecraftForge.setToolClass(Lightaxe, "axe", 2);
    MinecraftForge.setToolClass(Lightsword, "sword", 2);
    MinecraftForge.setToolClass(Lighthoe, "hoe", 2);
    Lighthelmet.setCreativeTab(decormods.tabtools);
    Lightplate.setCreativeTab(decormods.tabtools);
    Lightlegs.setCreativeTab(decormods.tabtools);
    Lightboots.setCreativeTab(decormods.tabtools);

    }

    public void generateSurface(World world, Random rand, int chunkX, int chunkZ)
    {
    BiomeGenBase plains = world.getWorldChunkManager().getBiomeGenAt(chunkX, chunkZ);
    WorldGenRedwoodTree tree = new WorldGenRedwoodTree(); //Change this to the World Gens or your tree and make sure that the parameters match if you get errors!
    if(plains instanceof BiomeGenBase)
    {
    for(int c = 0; c < 3; c++)
    {
    int Xcoord = chunkX + rand.nextInt(16);
    int Zcoord = chunkZ + rand.nextInt(16);
    int i = world.getHeightValue(Xcoord, Zcoord);
    tree.generate(world, rand, Xcoord, i, Zcoord);
    }
    }
    }

    public void BlockCreation(){ //Total IDs - Item IDs: 0,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 Block IDs: 0,1,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32
    //Block creation - Block IDs Used: 0,1,2,4,5,14,15,32
    deadlight = new Blockdeadlight(deadlightID, 0).setStepSound(Block.soundStoneFootstep).setHardness(2F).setBlockName("Dead Light Block");
    GameRegistry.registerBlock(deadlight, "Dead Light Block");
    LanguageRegistry.addName(deadlight, "Dead Light Block");

    eternallight = new Blocketernallight(eternallightID, 1).setStepSound(Block.soundStoneFootstep).setHardness(2F).setBlockName("Eternal Light Block");
    GameRegistry.registerBlock(eternallight, "Eternal Light Block");
    LanguageRegistry.addName(eternallight, "Eternal Light Block");

    lightore = new Orelight(lightoreID, 2).setStepSound(Block.soundStoneFootstep).setHardness(3F).setBlockName("Light Shard Ore").setLightValue(0.5F);
    GameRegistry.registerBlock(lightore, "Light Shard Ore");
    LanguageRegistry.addName(lightore, "Light Shard Ore");

    decorglass = new Blockdecorglass(decorglassID, 14).setHardness(2.0F).setStepSound(Block.soundGlassFootstep).setBlockName("Decor Glass");
    GameRegistry.registerBlock(decorglass, "Decor Glass");
    LanguageRegistry.addName(decorglass, "Decor Glass");

    redwoodlog = new BlockRedwoodLog(redwoodlogID).setHardness(2.0F).setStepSound(Block.soundWoodFootstep).setBlockName("Redwood Log").setRequiresSelfNotify();
    GameRegistry.registerBlock(redwoodlog, "Redwood Log"); //uses 5 to
    LanguageRegistry.addName(redwoodlog, "Redwood Log");

    redwoodLeaf = new BlockRedwoodleaf(redwoodleafID, 15).setHardness(1.0F).setStepSound(Block.soundGrassFootstep).setBlockName("Redwood Leaf").setRequiresSelfNotify();
    GameRegistry.registerBlock(redwoodLeaf, "Redwood Leaf");
    LanguageRegistry.addName(redwoodLeaf, "Redwood Leaf");

    redwoodSapling = new BlockRedwoodSapling(redwoodsaplingID, 32).setHardness(0F).setBlockName("Redwood Leaf").setRequiresSelfNotify();
    GameRegistry.registerBlock(redwoodSapling, "Redwood Sapling");
    LanguageRegistry.addName(redwoodSapling, "Redwood Sapling");

    //Item creation - IDs Used: 0
    lightshards = new Itemlightshards(lightshardsID).setIconIndex(0).setItemName("Light Shards");
    GameRegistry.registerItem(lightshards, "Light Shards");
    LanguageRegistry.addName(lightshards, "Light Shards");


    //Food Creation - IDs Used: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 || Block IDs Used: 6,7,8,9,10,11,12,13,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
    mutton = new ItemFoodmutton(muttonID, 12, 2.0F, false).setItemName("Mutton").setIconIndex(1);
    GameRegistry.registerItem(mutton, "Mutton");
    LanguageRegistry.addName(mutton, "Mutton");

    chickenstick = new ItemFoodcstick(cstickID, 12, 2.0F, false).setItemName("Chicken Stick").setIconIndex(2);
    GameRegistry.registerItem(chickenstick, "Chicken Stick");
    LanguageRegistry.addName(chickenstick, "Chicken Stick");

    salad = new ItemFoodsalad(saladID, 6, 2.0F, false).setItemName("Salad").setIconIndex(8);
    GameRegistry.registerItem(salad, "Salad");
    LanguageRegistry.addName(salad, "Salad");

    //Corn===============
    corncrop = new Blockcorncrop(corncropID, 6).setHardness(0F).setBlockName("Corn Crop");
    GameRegistry.registerBlock(corncrop, "Corn Crop");
    LanguageRegistry.addName(corncrop, "Corn Crop");
    MinecraftForge.EVENT_BUS.register(new FertilizerEventcornClass());

    cornseed = new Itemcornseed(cornseedID, corncrop.blockID, Block.tilledField.blockID).setItemName("Corn Seeds").setIconIndex(13);
    GameRegistry.registerItem(cornseed, "Corn Seeds");
    LanguageRegistry.addName(cornseed, "Corn Seeds");

    corn = new Itemcorn(cornID, 4, false).setItemName("Corn").setIconIndex(14);
    GameRegistry.registerItem(corn, "Corn");
    LanguageRegistry.addName(corn, "Corn");
    //Onion===============
    onioncrop = new Blockonioncrop(onioncropID, 16).setHardness(0F).setBlockName("Onion Crop");
    GameRegistry.registerBlock(onioncrop, "Onion Crop");
    LanguageRegistry.addName(onioncrop, "Onion Crop");
    MinecraftForge.EVENT_BUS.register(new FertilizerEventonionClass());

    onionseed = new Itemonionseed(onionseedID, onioncrop.blockID, Block.tilledField.blockID).setItemName("Onion Seeds").setIconIndex(16);
    GameRegistry.registerItem(onionseed, "Onion Seeds");
    LanguageRegistry.addName(onionseed, "Onion Seeds");

    onion = new Itemonion(cornID, 4, false).setItemName("Onion").setIconIndex(15);
    GameRegistry.registerItem(onion, "Onion");
    LanguageRegistry.addName(onion, "Onion");
    //Garlic==============Construction
    garliccrop = new Blockgarliccrop(garliccropID, 24).setHardness(0F).setBlockName("Garlic Crop");
    GameRegistry.registerBlock(garliccrop, "Garlic Crop");
    LanguageRegistry.addName(garliccrop, "Garlic Crop");
    MinecraftForge.EVENT_BUS.register(new FertilizerEventgarlicClass());

    garlicseed = new Itemgarlicseed(garlicseedID, garliccrop.blockID, Block.tilledField.blockID).setItemName("Garlic Seeds").setIconIndex(17);
    GameRegistry.registerItem(garlicseed, "Garlic Seeds");
    LanguageRegistry.addName(garlicseed, "Garlic Seeds");

    garlic = new Itemgarlic(garlicID, 4, false).setItemName("Garlic").setIconIndex(18);
    GameRegistry.registerItem(garlic, "Garlic");
    LanguageRegistry.addName(garlic, "Garlic");

    //Tools Creation - IDs Used: 3,4,5,6,7,9,10,11,12
    Lightpickaxe = new ItemLightPickaxe(LightpickaxeID, lighttools).setIconIndex(3).setItemName("Light Pickaxe");
    GameRegistry.registerItem(Lightpickaxe, "Light Pickaxe");
    LanguageRegistry.addName(Lightpickaxe, "Light Pickaxe");

    Lightshovel = new ItemLightShovel(LightshovelID, lighttools).setIconIndex(4).setItemName("Light Shovel");
    GameRegistry.registerItem(Lightshovel, "Light Shovel");
    LanguageRegistry.addName(Lightshovel, "Light Shovel");

    Lightaxe = new ItemLightAxe(LightaxeID, lighttools).setIconIndex(5).setItemName("Light Axe");
    GameRegistry.registerItem(Lightaxe, "Light Axe");
    LanguageRegistry.addName(Lightaxe, "Light Axe");

    Lightsword = new ItemLightSword(LightswordID, lighttools).setIconIndex(6).setItemName("Light Sword");
    GameRegistry.registerItem(Lightsword, "Light Sword");
    LanguageRegistry.addName(Lightsword, "Light Sword");

    Lighthoe = new ItemLightHoe(LighthoeID, lighttools).setIconIndex(7).setItemName("Light Hoe");
    GameRegistry.registerItem(Lighthoe, "Light Hoe");
    LanguageRegistry.addName(Lighthoe, "Light Hoe");

    Lighthelmet = new ItemLightArmor(809, lightarmor, ModLoader.addArmor("Light Armor1"), 0).setIconCoord(9, 0).setItemName("Light Helmet");
    GameRegistry.registerItem(Lighthelmet, "Light Helmet");
    LanguageRegistry.addName(Lighthelmet, "Light Helmet");

    Lightplate = new ItemLightArmor(810, lightarmor, ModLoader.addArmor("Light Armor2"), 1).setIconCoord(10, 0).setItemName("Light Plate");
    GameRegistry.registerItem(Lightplate, "Light Plate");
    LanguageRegistry.addName(Lightplate, "Light Plate");

    Lightlegs = new ItemLightArmor(811, lightarmor, ModLoader.addArmor("Light Armor3"), 2).setIconCoord(11, 0).setItemName("Light Legs");
    GameRegistry.registerItem(Lightlegs, "Light Legs");
    LanguageRegistry.addName(Lightlegs, "Light Legs");

    Lightboots = new ItemLightArmor(812, lightarmor, ModLoader.addArmor("Light Armor4"), 3).setIconCoord(12, 0).setItemName("Light Boots");
    GameRegistry.registerItem(Lightboots, "Light Boots");
    LanguageRegistry.addName(Lightboots, "Light Boots");



    /*decorfood1 = new myfood1(decorfood1ID, 12, 2.0F, false).setItemName("Mutton").setIconIndex(1); //1=half heart true/false if you can feed your dog
    GameRegistry.registerItem(decorfood1, "Mutton");
    LanguageRegistry.addName(decorfood1, "Mutton"); //id, hp, sat, wolffood*/

    }

    public void CraftRecipes(){
    //Crafting Recipes
    GameRegistry.addRecipe(new ItemStack(decormods.deadlight, 1), new Object[]{
    "aaa", "axa", "aaa", Character.valueOf('a'), decormods.lightshards
    });
    GameRegistry.addShapelessRecipe(new ItemStack(decormods.salad, 1), new Object[]{
    Item.seeds,
    Item.seeds,
    Item.seeds
    });
    GameRegistry.addRecipe(new ItemStack(decormods.mutton, 1), new Object[]{
    "xxx", "xbx", "xax", Character.valueOf('a'), Item.bone, Character.valueOf('b'), Item.porkCooked
    });
    GameRegistry.addRecipe(new ItemStack(decormods.chickenstick, 1), new Object[]{
    "xxa", "xbx", "axx", Character.valueOf('a'), Item.stick, Character.valueOf('b'), Item.chickenCooked
    });
    GameRegistry.addShapelessRecipe(new ItemStack(decormods.cornseed, 2), new Object[]{
    decormods.corn
    });
    GameRegistry.addShapelessRecipe(new ItemStack(decormods.onionseed, 2), new Object[]{
    decormods.onion
    });
    GameRegistry.addShapelessRecipe(new ItemStack(decormods.garlicseed, 2), new Object[]{
    decormods.garlic
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightpickaxe, 1), new Object[]{
    "bbb", "xax", "xax", Character.valueOf('a'), Item.ingotIron, Character.valueOf('b'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightshovel, 1), new Object[]{
    "xbx", "xax", "xax", Character.valueOf('a'), Item.ingotIron, Character.valueOf('b'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightaxe, 1), new Object[]{
    "bbx", "bax", "xax", Character.valueOf('a'), Item.ingotIron, Character.valueOf('b'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightsword, 1), new Object[]{
    "xbx", "xbx", "xax", Character.valueOf('a'), Item.ingotIron, Character.valueOf('b'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lighthoe, 1), new Object[]{
    "bbx", "xax", "xax", Character.valueOf('a'), Item.ingotIron, Character.valueOf('b'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lighthelmet, 1), new Object[]{
    "aaa", "axa", "xxx", Character.valueOf('a'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightplate, 1), new Object[]{
    "axa", "aaa", "aaa", Character.valueOf('a'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightlegs, 1), new Object[]{
    "aaa", "axa", "axa", Character.valueOf('a'), decormods.lightshards
    });
    GameRegistry.addRecipe(new ItemStack(decormods.Lightboots, 1), new Object[]{
    "xxx", "axa", "axa", Character.valueOf('a'), decormods.lightshards
    });
    //Smelting Recipes
    GameRegistry.addSmelting(decormods.deadlight.blockID, new ItemStack(decormods.eternallight, 1), 20);
    }

    }


    /*
    GameRegistry.addShapelessRecipe(new ItemStack(mod_testing.decorblock3, 4), new Object[]{
    Item.appleRed,
    Block.planks
    });
    GameRegistry.addShapelessRecipe(new ItemStack(mod_testing.RedwoodLog, 1), new Object[]{
    Block.wood,
    Item.appleRed
    });
    GameRegistry.addShapelessRecipe(new ItemStack(mod_testing.decorblock3, 4), new Object[]{
    mod_testing.RedwoodLog
    });
    //public static final Block sand = (new BlockSand(12, 18)).setHardness(0.5F).setStepSound(soundSandFootstep).setBlockName("sand");
    //public static final Block thinGlass = (new BlockPane(102, 49, 148, Material.glass, false)).setHardness(0.3F).setStepSound(soundGlassFootstep).setBlockName("thinGlass");
    */


    WorldGenRedwoodTree

    package decormod;

    import java.util.Random;

    import net.minecraft.block.Block;
    import net.minecraft.world.World;
    import net.minecraft.world.gen.feature.WorldGenerator;

    public class WorldGenRedwoodTree extends WorldGenerator
    {
    public WorldGenRedwoodTree()
    {
    }

    public boolean generate2(World world, Random random, int i, int j, int k)
    {
    int l = random.nextInt(1) + 4;
    boolean flag = true;
    if(j < 1 || j + l + 1 > 256)
    {
    return false;
    }
    for(int i1 = j; i1 <= j + 1 + l; i1++)
    {
    byte byte0 = 1;
    if(i1 == j)
    {
    byte0 = 0;
    }
    if(i1 >= (j + 1 + l) - 2)
    {
    byte0 = 2;
    }
    for(int i2 = i - byte0; i2 <= i + byte0 && flag; i2++)
    {
    for(int l2 = k - byte0; l2 <= k + byte0 && flag; l2++)
    {
    if(i1 >= 0 && i1 < 256)
    {
    int j3 = world.getBlockId(i2, i1, l2);
    if(j3 != 0 && j3 != decormods.redwoodLeaf.blockID) //Change this to your leaf block.
    {
    flag = false;
    }
    } else
    {
    flag = false;
    }
    }
    }
    }
    if(!flag)
    {
    return false;
    }
    int j1 = world.getBlockId(i, j - 1, k);
    if(j1 != Block.grass.blockID && j1 != Block.dirt.blockID || j >= 256 - l - 1) //This determines on what blocks your tree can generate.
    {
    return false;
    }
    world.setBlock(i, j - 1, k, Block.dirt.blockID); //Also determines what block your tree can generate on.
    for(int k1 = (j - 3) + l; k1 <= j + l; k1++)
    {
    int j2 = k1 - (j + l);
    int i3 = 1 - j2 / 2;
    for(int k3 = i - i3; k3 <= i + i3; k3++)
    {
    int l3 = k3 - i;
    for(int i4 = k - i3; i4 <= k + i3; i4++)
    {
    int j4 = i4 - k;
    if((Math.abs(l3) != i3 || Math.abs(j4) != i3 || random.nextInt(2) != 0 && j2 != 0) && !Block.opaqueCubeLookup[world.getBlockId(k3, k1, i4)])
    {
    setBlockAndMetadata(world, k3, k1, i4, decormods.redwoodLeaf.blockID, 0); //Change to your leaf block.
    }
    }
    }
    }
    for(int l1 = 0; l1 < l; l1++)
    {
    int k2 = world.getBlockId(i, j + l1, k);
    if(k2 == 0 || k2 == decormods.redwoodLeaf.blockID)
    {
    setBlockAndMetadata(world, i, j + l1, k, decormods.redwoodlog.blockID, 0); //Change to your wood block.
    }
    }
    return true;
    }

    @Override
    public boolean generate(World var1, Random var2, int var3, int var4, int var5) {
    // TODO Auto-generated method stub
    return false;
    }
    }

    If any other class info is needed please notify me in a reply, also I would ask that someone show me how to allow fertillizing the sapling. Again thank you anyone who helps.
    Posted in: Modification Development
  • 0

    posted a message on [Forge Coding] Crash When Trying To Start Mc (Coding with Eclipse)
    thanks, I managed to find it, weird bug I'm guessing, all I did was retype the line and it works now. Only problem I'm having now is I have 3 crops, corn, onion, garlic, it works mostly, the only problem is even though the .iconindex is set to the correct id for corn item, it drops onion item, I can paste the codes later if neccessary. Also would it be possible for someone to give me a link or tell me how to make seeds form these crops drop randomly from grass?
    Posted in: Modification Development
  • 0

    posted a message on [Forge Coding] Crash When Trying To Start Mc (Coding with Eclipse)
    While coding with eclipse, I created a new setup for my mod, moving everything around and trying to simplify and organize it, ended up with eclipse saying no errors, but Minecraft crashing on start. Here is the crash report:

    ---- Minecraft Crash Report ----
    // I just don't know what went wrong :(

    Time: 2/16/13 1:09 AM
    Description: Failed to start game

    cpw.mods.fml.common.LoaderException
    at cpw.mods.fml.common.registry.ItemData.setName(ItemData.java:149)
    at cpw.mods.fml.common.registry.GameData.setName(GameData.java:227)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:175)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:163)
    at decormod.decormods.BlockCreation(decormods.java:234)
    at decormod.decormods.load(decormods.java:142)
    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:485)
    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:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
    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:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:657)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:207)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:456)
    at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
    at net.minecraft.client.Minecraft.run(Minecraft.java:744)
    at java.lang.Thread.run(Unknown Source)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
    Minecraft Version: 1.4.7
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.7.0_13, Oracle Corporation
    Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 967036808 bytes (922 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
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active
    mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
    FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
    Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
    Decormod [Decoration Mod] (bin) Unloaded->Constructed->Pre-initialized->Errored
    LWJGL: 2.4.2
    OpenGL: GeForce GTX 650/PCIe/SSE2 GL version 4.2.0, NVIDIA Corporation
    Is Modded: Definitely; Client brand changed to 'forge,fml'
    Type: Client (map_client.txt)
    Texture Pack: Default
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
    Any help that is beneficial is appreciated. Thank you, and yes I am pretty new to coding Mc.
    Posted in: Modification Development
  • 0

    posted a message on Mod Idea! Everything is placeable
    I think this would be a great idea, especially allowing multiple items on 1 block, you could have up to 4 on 1, 4 potions, etc. Food might be a bit difficult, maybe a placing method like heads, rotates with you. But it's a great idea that i hope becomes default.
    Posted in: Mods Discussion
  • 0

    posted a message on [1.2.5] TobaccoCraft [ModLoader][Forge][SSP]
    Quote from sh657o

    Kind of shame that every mod that is so great stays in 1.2.5 [Tobacco,battlegear and so on]

    beer and wine mod to :(
    Posted in: Minecraft Mods
  • 0

    posted a message on [MC 1.12.x] Minecraft Comes Alive v6.0.0 (MILLIONS OF PLAYERS!)
    Quote from FlutterWonder

    I sometimes get this crash when clicking on a villager.



    Minecraft has crashed!
    ----------------------
    Minecraft has stopped running because it encountered a problem; Unexpected error
    A full error report has been saved to C:\Users\Dirby\AppData\Roaming\.minecraft\crash-reports\crash-2013-01-24_23.07.59-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash :(

    --- BEGIN ERROR REPORT 2c516cb4 --------
    Full report at:
    C:\Users\Dirby\AppData\Roaming\.minecraft\crash-reports\crash-2013-01-24_23.07.59-client.txt
    Please show that file to Mojang, NOT just this screen!
    Generated 1/24/13 11:07 PM
    -- Head --
    Stacktrace:
    at mca.GuiInteractionVillagerAdult.drawInteractionGui(GuiInteractionVillagerAdult.java:298)
    at mca.GuiInteractionVillagerAdult.A_(GuiInteractionVillagerAdult.java:131)
    at aul.a(SourceFile:98)
    at net.minecraft.client.Minecraft.a(Minecraft.java:653)
    at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:322)
    at cpw.mods.fml.common.FMLCommonHandler.showGuiScreen(FMLCommonHandler.java:329)
    at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:316)
    at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:339)
    at qx.openGui(EntityPlayer.java:2294)
    at mca.EntityVillagerAdult.a(EntityVillagerAdult.java:528)
    at qx.p(EntityPlayer.java:1203)
    at ayo.b(PlayerControllerMP.java:455)
    at net.minecraft.client.Minecraft.c(Minecraft.java:1306)
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [ays['Mirror_Kirby'/429, l='MpServer', x=-336.49, y=73.62, z=-28.70]]
    Chunk stats: MultiplayerChunkCache: 441
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options:
    Level spawn location: World: (-224,64,208), Chunk: (at 0,4,0 in -14,13; contains blocks -224,0,208 to -209,255,223), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Level time: 540657 game time, 607500 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Forced entities: 109 total; [EntityPixelmon['Kakuna'/58084, l='MpServer', x=-242.50, y=73.00, z=-24.44], EntityTrainer['entity.Pixelmon.Trainer.name'/548, l='MpServer', x=-381.94, y=67.00, z=8.94], EntityTrainer['entity.Pixelmon.Trainer.name'/554, l='MpServer', x=-365.78, y=66.00, z=-42.22], EntityTrainer['entity.Pixelmon.Trainer.name'/13, l='MpServer', x=-385.38, y=62.00, z=37.50], qc['Creeper'/6958970, l='MpServer', x=-350.50, y=53.00, z=49.50], EntityTrainer['entity.Pixelmon.Trainer.name'/17, l='MpServer', x=-394.00, y=62.15, z=65.50], EntityPixelmon['Magikarp'/6497620, l='MpServer', x=-392.34, y=62.50, z=-79.83], qc['Creeper'/6958971, l='MpServer', x=-352.00, y=52.00, z=50.69], qn['Skeleton'/6862824, l='MpServer', x=-326.44, y=59.00, z=50.94], EntityPixelmon['Magikarp'/6497621, l='MpServer', x=-386.48, y=61.01, z=-77.76], EntityPixelmon['Pidgey'/11666, l='MpServer', x=-240.00, y=75.00, z=31.00], EntityTrainer['entity.Pixelmon.Trainer.name'/44017, l='MpServer', x=-399.00, y=64.00, z=-16.84], qc['Creeper'/6958972, l='MpServer', x=-346.41, y=52.00, z=44.00], EntityPixelmon['Magikarp'/6497619, l='MpServer', x=-402.86, y=61.56, z=-85.68], EntityPixelmon['Pidgey'/47615, l='MpServer', x=-330.00, y=72.00, z=-58.00], EntityPixelmon['Rattata'/47614, l='MpServer', x=-380.31, y=68.00, z=-116.59], EntityTrainer['entity.Pixelmon.Trainer.name'/574, l='MpServer', x=-313.97, y=63.00, z=-81.44], EntityPixelmon['Miltank'/38728, l='MpServer', x=-360.41, y=74.00, z=-20.41], qn['Skeleton'/6862821, l='MpServer', x=-341.50, y=53.00, z=40.50], qn['Skeleton'/6862823, l='MpServer', x=-325.31, y=59.00, z=51.31], EntityVillagerAdult['entity.EntityVillagerAdult.name'/568, l='MpServer', x=-334.81, y=72.00, z=-27.91], EntityTrainer['entity.Pixelmon.Trainer.name'/48829, l='MpServer', x=-300.69, y=78.00, z=-55.50], EntityPixelmon['Mankey'/48828, l='MpServer', x=-303.53, y=81.00, z=-50.38], EntityPixelmon['Voltorb'/48831, l='MpServer', x=-297.03, y=77.00, z=-30.41], EntityPixelmon['Voltorb'/48830, l='MpServer', x=-371.41, y=66.00, z=-63.28], qn['Skeleton'/5901180, l='MpServer', x=-323.28, y=61.00, z=-42.63], EntityTrainer['entity.Pixelmon.Trainer.name'/525, l='MpServer', x=-405.84, y=63.00, z=-41.69], MLB_Fluttershy['Fluttershy'/526, l='MpServer', x=-403.25, y=69.00, z=-43.50], EntityTrainer['entity.Pixelmon.Trainer.name'/521, l='MpServer', x=-402.06, y=61.97, z=-88.16], qn['Skeleton'/5901179, l='MpServer', x=-312.30, y=56.30, z=-39.30], EntityPixelmon['Kadabra'/42760, l='MpServer', x=-419.75, y=63.00, z=-83.09], EntityTrainer['entity.Pixelmon.Trainer.name'/52607, l='MpServer', x=-278.69, y=74.00, z=-25.44], ow['Bat'/6990611, l='MpServer', x=-308.56, y=46.98, z=54.56], EntityTrainer['entity.Pixelmon.Trainer.name'/538, l='MpServer', x=-391.44, y=64.00, z=-8.75], EntityPixelmon['Weedle'/4674, l='MpServer', x=-352.81, y=69.00, z=12.31], EntityTrainer['entity.Pixelmon.Trainer.name'/64, l='MpServer', x=-358.47, y=66.00, z=68.38], EntityPixelmon['Vulpix'/3229, l='MpServer', x=-429.12, y=63.00, z=13.62], EntityTrainer['entity.Pixelmon.Trainer.name'/623, l='MpServer', x=-245.94, y=73.00, z=7.97], EntityPixelmon['Venonat'/635, l='MpServer', x=-234.69, y=65.00, z=-38.50], EntityPixelmon['Caterpie'/48832, l='MpServer', x=-339.66, y=72.00, z=-21.31], qr['Zombie'/641258, l='MpServer', x=-316.47, y=57.00, z=-48.99], EntityPixelmon['Vulpix'/55224, l='MpServer', x=-284.67, y=66.00, z=-91.41], EntityPixelmon['Voltorb'/110, l='MpServer', x=-325.97, y=67.00, z=51.59], EntityTrainer['entity.Pixelmon.Trainer.name'/111, l='MpServer', x=-331.38, y=65.00, z=63.13], EntityTrainer['entity.Pixelmon.Trainer.name'/107, l='MpServer', x=-325.41, y=74.00, z=42.31], MLB_Fluttershy['Fluttershy'/591, l='MpServer', x=-314.50, y=77.00, z=-42.09], EntityPixelmon['Magikarp'/7036900, l='MpServer', x=-436.59, y=59.10, z=-50.18], EntityPixelmon['Magikarp'/7036901, l='MpServer', x=-432.58, y=59.36, z=-45.82], EntityTrainer['entity.Pixelmon.Trainer.name'/595, l='MpServer', x=-284.63, y=70.00, z=7.47], EntityPixelmon['Magikarp'/7036903, l='MpServer', x=-257.25, y=62.19, z=-118.92], EntityTrainer['entity.Pixelmon.Trainer.name'/594, l='MpServer', x=-289.91, y=68.00, z=-6.84], MLB_Fluttershy['Fluttershy'/597, l='MpServer', x=-274.47, y=69.00, z=-80.13], EntityPixelmon['Magikarp'/7036899, l='MpServer', x=-425.15, y=59.31, z=-43.55], EntityPixelmon['Vulpix'/59703, l='MpServer', x=-267.76, y=71.00, z=-34.21], EntityPixelmon['Primeape'/59702, l='MpServer', x=-246.63, y=64.00, z=-99.97], EntityPixelmon['Magikarp'/7036904, l='MpServer', x=-266.61, y=62.34, z=-111.11], EntityTrainer['entity.Pixelmon.Trainer.name'/605, l='MpServer', x=-262.75, y=69.00, z=-36.50], EntityPixelmon['Magikarp'/7036905, l='MpServer', x=-258.78, y=62.31, z=-109.03], EntityPixelmon['Magikarp'/7036906, l='MpServer', x=-253.96, y=62.00, z=-112.93], EntityTrainer['entity.Pixelmon.Trainer.name'/137, l='MpServer', x=-313.69, y=72.00, z=48.59], EntityTrainer['entity.Pixelmon.Trainer.name'/141, l='MpServer', x=-312.28, y=64.00, z=66.38], EntityPixelmon['Mankey'/9203, l='MpServer', x=-314.50, y=71.00, z=-27.47], EntityPixelmon['Caterpie'/4263, l='MpServer', x=-344.72, y=74.00, z=46.31], EntityPixelmon['Abra'/45560, l='MpServer', x=-355.06, y=71.00, z=-106.94], EntityPixelmon['Metapod'/52970, l='MpServer', x=-272.56, y=151.50, z=2.41], qr['Zombie'/6242238, l='MpServer', x=-363.50, y=38.00, z=41.50], qn['Skeleton'/7044935, l='MpServer', x=-404.46, y=37.69, z=52.56], qp['Spider'/7044934, l='MpServer', x=-381.72, y=37.18, z=47.38], MLB_Fluttershy['Fluttershy'/149, l='MpServer', x=-291.13, y=77.00, z=23.44], EntityTrainer['entity.Pixelmon.Trainer.name'/169, l='MpServer', x=-277.00, y=75.00, z=59.00], qc['Creeper'/6837204, l='MpServer', x=-320.50, y=18.00, z=-91.50], EntityPixelmon['Miltank'/3431, l='MpServer', x=-347.84, y=66.00, z=21.19], EntityTrainer['entity.Pixelmon.Trainer.name'/166, l='MpServer', x=-283.16, y=69.00, z=37.13], MLB_Fluttershy['Fluttershy'/186, l='MpServer', x=-267.56, y=79.00, z=39.66], EntityTrainer['entity.Pixelmon.Trainer.name'/187, l='MpServer', x=-255.31, y=73.00, z=61.50], EntityVillagerAdult['entity.EntityVillagerAdult.name'/426, l='MpServer', x=-335.73, y=72.00, z=-27.00], qr['Zombie'/5981335, l='MpServer', x=-345.50, y=53.00, z=48.50], EntityPixelmon['Kadabra'/46226, l='MpServer', x=-394.72, y=69.00, z=-109.88], EntityVillagerAdult['entity.EntityVillagerAdult.name'/423, l='MpServer', x=-336.02, y=72.00, z=-27.63], ow['Bat'/5953512, l='MpServer', x=-317.47, y=58.10, z=-45.25], ow['Bat'/5953514, l='MpServer', x=-322.25, y=59.10, z=-35.75], ow['Bat'/5953515, l='MpServer', x=-316.70, y=57.30, z=-38.53], EntityPixelmon['Kadabra'/51659, l='MpServer', x=-287.00, y=80.00, z=-35.00], ow['Bat'/6779653, l='MpServer', x=-323.75, y=58.10, z=46.75], EntityPixelmon['Pidgey'/51658, l='MpServer', x=-280.00, y=76.00, z=-77.00], EntityPixelmon['Haunter'/51657, l='MpServer', x=-263.56, y=66.00, z=-74.63], EntityPixelmon['Ekans'/51656, l='MpServer', x=-275.00, y=70.00, z=-125.00], EntityPixelmon['Magnemite'/43568, l='MpServer', x=-394.41, y=68.00, z=-123.59], EntityTrainer['entity.Pixelmon.Trainer.name'/220, l='MpServer', x=-234.53, y=69.00, z=57.72], qr['Zombie'/6678944, l='MpServer', x=-351.50, y=16.00, z=-72.50], EntityPixelmon['Gastly'/46800, l='MpServer', x=-330.44, y=69.00, z=-104.63], ow['Bat'/6411071, l='MpServer', x=-333.81, y=57.22, z=16.79], EntityPixelmon['Ekans'/56481, l='MpServer', x=-242.53, y=69.00, z=-124.16], EntityPixelmon['Growlithe'/56477, l='MpServer', x=-292.56, y=77.00, z=-69.41], EntityPixelmon['Kakuna'/45184, l='MpServer', x=-377.00, y=75.00, z=-7.00], EntityTrainer['entity.Pixelmon.Trainer.name'/511, l='MpServer', x=-432.09, y=63.00, z=42.25], EntityPixelmon['Swinub'/39956, l='MpServer', x=-430.53, y=63.00, z=-28.69], qn['Skeleton'/6678943, l='MpServer', x=-346.31, y=13.00, z=-59.50], EntityTrainer['entity.Pixelmon.Trainer.name'/506, l='MpServer', x=-421.22, y=62.16, z=-41.16], ph['Squid'/6727373, l='MpServer', x=-363.50, y=59.00, z=-85.63], ph['Squid'/6727372, l='MpServer', x=-367.69, y=60.28, z=-88.50], EntityPixelmon['Pidgey'/496, l='MpServer', x=-432.66, y=63.00, z=71.38], ph['Squid'/6727371, l='MpServer', x=-365.13, y=61.34, z=-87.16], ays['Mirror_Kirby'/429, l='MpServer', x=-336.49, y=73.62, z=-28.70], qc['Creeper'/6307603, l='MpServer', x=-256.50, y=42.00, z=-47.50], qc['Creeper'/6307600, l='MpServer', x=-277.50, y=26.00, z=39.50], EntityTrainer['entity.Pixelmon.Trainer.name'/486, l='MpServer', x=-432.13, y=61.99, z=-42.97], EntityPixelmon['Vulpix'/45992, l='MpServer', x=-398.53, y=63.00, z=-79.63], EntityPixelmon['Abra'/44620, l='MpServer', x=-384.00, y=64.00, z=-62.00]]
    Retry entities: 0 total; []
    Stacktrace:
    at ayp.a(WorldClient.java:440)
    at net.minecraft.client.Minecraft.b(Minecraft.java:2401)
    at net.minecraft.client.Minecraft.run(Minecraft.java:794)
    at java.lang.Thread.run(Unknown Source)
    -- System Details --
    Details:
    Minecraft Version: 1.4.7
    Operating System: Windows 7 (x86) version 6.1
    Java Version: 1.6.0_37, Sun Microsystems Inc.
    Java VM Version: Java HotSpot™ Client VM (mixed mode), Sun Microsystems Inc.
    Memory: 135257352 bytes (128 MB) / 519110656 bytes (495 MB) up to 1037959168 bytes (989 MB)
    LiteLoader Mods: 0 loaded mod(s)
    JVM Flags: 2 total; -Xms512m -Xmx1024m
    AABB Pool Size: 7060 (395360 bytes; 0 MB) allocated, 5 (280 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
    FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 15 mods loaded, 15 mods active
    mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    PaintingSelGui [PaintingSelectionGui] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    mod_TooManyItems [mod_TooManyItems] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    jammyfurniture [Jammy Furniture Mod] (1.4.6_Jammy_Furniture_Mod_V4.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    mod_ReiMinimap [mod_ReiMinimap] ([1.4.7]ReiMinimap_v3.2_06.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    mod_Armor [mod_Armor] (ArmorStand.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    mod_Biosphere [mod_Biosphere] (Biosphere.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    MCA [MCA - Minecraft Comes Alive] (mca v3.1.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    MineLittleBrony [Mine Little Brony] (MLB_134_146_fixed.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    mod_Stackables [mod_Stackables] (More Stackables.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    PetBat [Pet Bat] (PetBat_1.4.6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    Pixelmon [Pixelmon] (Pixelmon 1.9.2 Beta.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    mod_Shelf [mod_Shelf] (Shelf.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
    LWJGL: 2.4.2
    OpenGL: ATI Radeon HD 5450 GL version 4.2.11627 Compatibility Profile Context, ATI Technologies Inc.
    Is Modded: Definitely; Client brand changed to 'forge,fml'
    Type: Client (map_client.txt)
    Texture Pack: Cheerful Pack v1.4m
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 1994 (111664 bytes; 0 MB) allocated, 30 (1680 bytes; 0 MB) used
    java.lang.NullPointerException
    at mca.GuiInteractionVillagerAdult.drawInteractionGui(GuiInteractionVillagerAdult.java:298)
    at mca.GuiInteractionVillagerAdult.A_(GuiInteractionVillagerAdult.java:131)
    at aul.a(SourceFile:98)
    at net.minecraft.client.Minecraft.a(Minecraft.java:653)
    at cpw.mods.fml.client.FMLClientHandler.showGuiScreen(FMLClientHandler.java:322)
    at cpw.mods.fml.common.FMLCommonHandler.showGuiScreen(FMLCommonHandler.java:329)
    at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:316)
    at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:339)
    at qx.openGui(EntityPlayer.java:2294)
    at mca.EntityVillagerAdult.a(EntityVillagerAdult.java:528)
    at qx.p(EntityPlayer.java:1203)
    at ayo.b(PlayerControllerMP.java:455)
    at net.minecraft.client.Minecraft.c(Minecraft.java:1306)
    at net.minecraft.client.Minecraft.l(Minecraft.java:1810)
    at net.minecraft.client.Minecraft.J(Minecraft.java:846)
    at net.minecraft.client.Minecraft.run(Minecraft.java:771)
    at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT 2e59a94 ----------


    I repeatedly get this, anytime i click on a villager or kid, game just shuts off.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.4.7]Wireless Redstone v1.6.1
    Quote from ali4z

    When Forge releases stable version for 1.4.5.


    haven't they? I thought forge released for 1.4.5 over a week ago, either way, always loved your mod! :DBlock:
    Posted in: Minecraft Mods
  • 0

    posted a message on Pixelmon 7.3.1 (26th May 2020)
    Quote from Mr_Masochism

    [media][media][/media[/media]]

    That isn't quite the finished animation, the finished one is smoother and slower but it shows the basic idea


    Ok, THAT is epic. The only thing this mod still needs that I see, is more config options and the rest of the pokemon modeled in. This mod is so fricken awesome. There's only a handful of mods out there that have such a level of greatness that no one can overlook.
    Posted in: Minecraft Mods
  • 0

    posted a message on Pixelmon 7.3.1 (26th May 2020)
    Quote from SmokeDog98

    I know this is off topic but how do you put the picture thing on that goes under your post i want to put a pixelmon one on

    Its your signature, go into your user settings and find it.
    Posted in: Minecraft Mods
  • 0

    posted a message on Pixelmon 7.3.1 (26th May 2020)
    Quote from monkey_food

    how do i fix the mob spawning

    I would just suggest reinstalling with a fresh .jar and empty mod folder to start with, otherwise I'm not sure, this problem seems to only happen to certain people.
    Posted in: Minecraft Mods
  • 0

    posted a message on Pixelmon 7.3.1 (26th May 2020)
    Quote from Kiajinn

    Is the Pokédex Broken? It crashes on use on my server I can fetch a report if you like.

    I'm not sure about server use, but I know it's very glitchy, it usually doesn't display right, and I've had many times where I click a name and my game crashes.
    Posted in: Minecraft Mods
  • To post a comment, please or register a new account.