• 0

    posted a message on TechGuy's Modding Tutorials
    Ooh, alright. I couldn't find what the item name was, so that was my issue. Thanks.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on Adding a Spawning Egg Into A Crafting Recipe
    How would I do this? I looked through item.java but I couldn't find anything relating to these spawning eggs. Thanks.
    Posted in: Modification Development
  • 0

    posted a message on TechGuy's Modding Tutorials
    How do I add a recipe with a spawning egg in it?
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on Error Running a Mod - Can't Find Issue
    Anyone know the issue?
    Posted in: Modification Development
  • 0

    posted a message on Error Running a Mod - Can't Find Issue
    In MCP when I launch my mod, it says it has no errors, but then it crashes, and comes up with this

    Mods loaded: 1
    ModLoader 1.2.5
    
          Minecraft has crashed!      
          ----------------------      
    
    Minecraft has stopped running because it encountered a problem.
    
    
    
    
    --- BEGIN ERROR REPORT 9f578458 --------
    Generated 6/13/12 5:02 PM
    
    Minecraft: Minecraft 1.2.5
    OS: Mac OS X (x86_64) version 10.7.2
    Java: 1.6.0_29, Apple Inc.
    VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Apple Inc.
    LWJGL: 2.4.2
    OpenGL: Intel HD Graphics 3000 OpenGL Engine version 2.1 APPLE-7.12.9, Intel Inc.
    
    java.lang.ClassCastException: net.minecraft.src.Item cannot be cast to java.lang.Character
    at net.minecraft.src.CraftingManager.addRecipe(CraftingManager.java:371)
    at net.minecraft.src.ModLoader.addRecipe(ModLoader.java:412)
    at net.minecraft.src.mod_Punchwood.<init>(mod_Punchwood.java:23)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at net.minecraft.src.ModLoader.addMod(ModLoader.java:287)
    at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1279)
    at net.minecraft.src.ModLoader.init(ModLoader.java:849)
    at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:157)
    at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
    at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:12)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:424)
    at net.minecraft.client.Minecraft.run(Minecraft.java:786)
    at java.lang.Thread.run(Thread.java:680)
    --- END ERROR REPORT 569fba05 ----------


    Here is my mod_ file, which is where it says the error is in


    [color=#931066]package[/color] net.minecraft.src;
    
    [color=#931066]public[/color] [color=#931066]class[/color] mod_Punchwood [color=#931066]extends[/color] BaseMod
    {               [color=#4e9074]
    //Items[/color]
    [color=#931066]public[/color] [color=#931066]static[/color] [color=#931066]final[/color] Item [color=#2120c8]Xanahammah[/color] = [color=#931066]new[/color] ItemXanahammah(1000).setItemName([color=#482cfb]"Xanahammah"[/color]);[color=#4e9074]
    //Blocks[/color]
    [color=#931066]public[/color] [color=#931066]static[/color] [color=#931066]final[/color] Block [color=#2120c8]Kitten[/color] = [color=#931066]new[/color] BlockKitten(130, 0).setBlockName([color=#482cfb]"Kitten Block"[/color]).setHardness(2F).setResistance(3F);
    
    
    [color=#931066]public[/color] mod_Punchwood()
    {[color=#4e9074]
    //[u]Itesms[/u][/color][color=#482cfb]
    [color=#2120c8]Xanahammah[/color][color=#000000].[/color][color=#2120c8]iconIndex[/color][color=#000000] = ModLoader.addOverride([/color]"/gui/items.png"[color=#000000], [/color]"/Xanahammah.png"[color=#000000]);[/color][/color]
    ModLoader.addName([color=#2120c8]Xanahammah[/color], [color=#482cfb]"Xanahammah"[/color]);
    [color=#4e9074]
    //Blocks[/color][color=#4e9074]
    //Kitten.blockIndexInTexture = ModLoader.addOverride("/[u]gui[/u]/items.png", "/KittenBlock.png");[/color]
    ModLoader.registerBlock([color=#2120c8]Kitten[/color]);
    ModLoader.addName([color=#2120c8]Kitten[/color], [color=#482cfb]"Kitten Ore"[/color]);
    
    
    ModLoader.addRecipe([color=#931066]new[/color] ItemStack([color=#2120c8]Xanahammah[/color], 1), [color=#931066]new[/color] Object[]{
            [color=#482cfb]"!!!"[/color], [color=#482cfb]"$#$"[/color], [color=#482cfb]'#'[/color], Character.valueOf([color=#482cfb]'#'[/color]), Item.[color=#2120c8]stick[/color], Character.valueOf([color=#482cfb]'$'[/color]), Item.[color=#2120c8]diamond[/color], Character.valueOf([color=#482cfb]'!'[/color]), Item.[color=#2120c8]ingotGold[/color]
        });
    
    
    }
            [color=#931066]public[/color] [color=#931066]void[/color] load()      
            {               
    
            }
    
            [color=#931066]public[/color] String getVersion()  
            {               
                    [color=#931066]return[/color] [color=#482cfb]"1.2.5"[/color]; 
    
            }
    
    }


    From looking at the error, it says that the issue is right around:


    ModLoader.addRecipe(new ItemStack(Xanahammah, 1), new Object[]{
    "!!!", "$#$", '#', Character.valueOf('#'), Item.stick, Character.valueOf('$'), Item.diamond, Character.valueOf('!'), Item.ingotGold,
    });

    However, it may be elsewhere. Thanks for the help.
    Posted in: Modification Development
  • 0

    posted a message on How Can I Have An Item Be Enchanted When Crafted
    Quote from warfighter67

    itemStack.addEnchantment(Enchantment, int)
    Enchantment is the type and the int is what level of enchantment

    Try this code:
    public void onCreated(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
    	{
    		par1ItemStack.addEnchantment(Enchantment.fireAspect, 4);
    	}


    Put this in your ItemName.java file.


    Thanks! Much appreciated.
    Posted in: Modification Development
  • 0

    posted a message on How Can I Have An Item Be Enchanted When Crafted
    Hello all!
    So I am making a mod, and I would like one of the items to already have enchantments on it when it is crafted. How can I do this?
    Posted in: Modification Development
  • 0

    posted a message on The Hunger Games Server Looking For Tributes For A fully automated hunger games!
    1. IGN: DragonMaster21
    2. Why would you be a good tribute I'm epic at surviving
    3. Would you follow the rules Yes
    4.Are you a griefer? No
    Posted in: Server Recruitment
  • 0

    posted a message on Microsoft Announces Minecraft 360 has Broken All Digital Sales Records
    Just to let you know, there is an error on the last line. It says 12w9a not 12w19a.
    Posted in: Minecraft News
  • 0

    posted a message on The Hunger Games Clan [RECRUITING]

    Status: Accepted! I'll add you on Skype when I get the chance. I can't wait to see you on the server. Looks like we're building up an army! :P


    Alright, thanks!
    Posted in: Clans
  • 0

    posted a message on The Hunger Games Clan [RECRUITING]
    Minecraft Username: DragonMaster21

    Age: In the Teens

    Kits (If you have purchased any special kits on this server): No

    Skype Username: LegitzDestroy

    Why you would like to join this clan: I just want to have fun playing the survival games with some fun people! I am really good with the bow and arrow, as well as close combat. I can do jumping courses etc pretty easily which is a good advantage also.
    Posted in: Clans
  • 0

    posted a message on What's the first thing you notice about the above user?
    It says on my screen you have 0 posts, yet you have a post above ^
    Posted in: Forum Games
  • 0

    posted a message on ADVENTURE MAP CONSTRUCTION - NEED HELPERS
    1. Your Username: DragonMaster21
    2. Your Experience(time playing MC): Since Alpha 1.0.17_04 which was less than a month in to the Alpha stage, so. About 1 3/4 years of experience.
    3. Specialties(what you're good at in the game): I am good at building. I am very good at surviving since creative wasn't in the game, but thats not important for building a map. I am good at designing too and making things look good. My friend and I built a giant enderdragon using just pictures from MC-Wiki and Graph Paper
    Video:


    4. Are you good with Redstone?: I never was a redstone fan, but I am sufficient in it to a level. I can build hidden entrances, trap doors, etc.
    5. Are you good with World Edit?: Yes I am fairly good with WE
    6. Are you good with Voxel Sniper?: Nope ^^. I have never really used it, but I am sure that I could learn it easily.
    7. Have you created a map before?: No I haven't, but I have been playing for a long time, so I would be able to build cool things, and not be a huge part in designing the map layout.
    8. Why should I choose you?: I am fun and easy going. I don't grief. Like earlier I am fun and joke around and stuff, but I am serious when there are things to do. I know that I can contribute to the creation of this map, and I just want to have fun while making it.
    Anything else I should know: Nothing besides the fact that I am incredibly awesome. Haha jk. I have fun, don't get mad, and don't grief. I have a lot of free time and would like to spend some of it on something worthwhile, so you are able to count on me to be building a lot. I can also record too without lag so if we need that I would be happy to do it. I don't check my PMs that much so you can send messages there, or email me at [email protected]


    Thats all! Thanks.

    I do have access to Hamachi because I just downloaded it. I don't know quite how to use it, but ill figure it out.
    Posted in: Maps Discussion
  • 0

    posted a message on Minecraft Survival Games
    Server is up now! Come and join! Games starting soon!
    Posted in: Minecraft Survival Servers (archive)
  • To post a comment, please or register a new account.