• 0

    posted a message on [1.0.0] TCB Mod v0.2
    Table of Contents:

    1. Intro
    2. The Team
    3. Change log
    4. Recipes
    5. Installation Guide
    6. Images
    7. Videos
    8. Download
    9. Copyright Disclaimer
    --------------------------------------------------------------------------------
    INTRO

    Hello, this is my first mod ever made
    I hope I did ok for a first, and if i didn't i don't get tons of hate bellow...
    If you find any bugs, or want to ask for a request for me to add just go ahead
    and ask bellow I will probably most likely add it.
    So any way what is this Mod about?
    well the TCB mod adds Tin, Copper and Bronze... along with another substance that
    can't be mined but crafted
    This mod was made because i was annoyed of the little Ores there were, so i wanted
    to add some more...I was originally going to make a Sapphire, Ruby and Emerald one
    but those gems were very popular and lots of people where making them
    --------------------------------------------------------------------------------

    TEAM;
    CODER/Maker: Me (ltolt2)
    Texture Artist: TheOnlyLanix

    Helpers (Bugs/Tutorials)
    -odedrt9, Helping me a lot with fixing bugs through PM's
    -x2robbie2x's Video Tutorials came in great use
    here is a link to his channel;
    http://www.youtube.com/user/x2robbie2x/featured
    Make sure you check out his Channel, his videos are very useful
    --------------------------------------------------------------------------------
    CHANGELOG
    27/12/2011- First Release, v0.1
    27/12/2011- Fixed Armor Bug, v0.2
    --------------------------------------------------------------------------------

    RECIPES
    For all the tools and armor you would do
    what you would normally do, just using the new
    Ingots/Ores,
    Apart from the Coptinite Sword

    to make the coptinie sword you need
    1. 1x Refined Tin
    2. 1x Refined Copper
    3. 1x Bronze Stick
    where Tin is on top, Copper in the Middle and
    the Stick on the Bottom

    To make the Refined Ingots, just smelt them
    again.

    To make the bronze stick just get 3x Refined Bronze Ingot
    and line them up on top of each other in the middle
    like this
    " ! "
    " ! "
    " ! "
    Where the ! is the Bronze ingot

    Tin, Bronze and Copper all do have a difference;

    Tin has the most durability
    Copper has more uses
    Bronze can mine anything from rock to Obby

    but of course Coptinite is the best out of them all
    thus the hardest to make.
    --------------------------------------------------------------------------------

    NOW HOW TO INSTALL!.
    Ok so these are the simple steps on how to install

    1. Download Mod

    2. Download Winrar/7Zip

    3. Make sure you have a clean Minecraft.jar

    4. go into run or for Windows 7 Users Just type
    into the "search programs and files" section
    %appdata%

    5. Go into running

    6. Go into .minecraft, then Bin, Then
    Right Click minecraft.jar go open with
    Choose Winrar/7zip

    7. Drag all of the class Files over into the
    minecraft.jar, DELETE Meta.inf if you
    haven't all ready or else it wont work, place
    the TBC Folder containing Images in there
    as well

    8. Make sure you have ModLoader Installed as well

    9. Have fun with your new mod.
    --------------------------------------------------------------------------------

    IMAGES
    --------------------------------------------------------------------------------

    VIDEOS

    Coming soon
    --------------------------------------------------------------------------------
    DOWNLOAD
    --------------------------------------------------------------------------------
    COPYRIGHT

    © 2011, ltolt2
    Do not copy this mod and post it onto another sight!
    Passing this mod onto another person is aloud as long
    as it doesn't go up onto another site, without My Permission
    You are Allowed to make videos of this mod IF you
    put in the name "TCB Mod" and post a link back to this mod.
    Posted in: Minecraft Mods
  • 1

    posted a message on String index out of range: 7
    First of all, tell us what line 233 is please. we will be able to help easier if we know which line is line 233
    Posted in: Modification Development
  • 0

    posted a message on Closed, I figured it out
    ok, will do :smile.gif: so there is no special like ModLoader things you have to do for it?
    Posted in: Modification Development
  • 0

    posted a message on Closed, I figured it out
    Hello, I am just wondering if someone could tell me how to make a new achievement? as i am yet to find a tutorial or modding tutorial page with it for 1.0.0...SO if someone could tell me i would much appreciate it.
    Posted in: Modification Development
  • 0

    posted a message on [TUT REQ] Achievments
    Can someone make a custom achievements modding tutorial please for 1.0.0

    thanks ltolt2.
    Posted in: Tutorials
  • 0

    posted a message on Minecraft Modding Made Easy (40+ Videos!)
    haha it worked, thanks a lot robbie, now im of to watch your tree tutorial :smile.gif:
    Posted in: Tutorials
  • 0

    posted a message on Minecraft Modding Made Easy (40+ Videos!)
    ok thanks...also how do i add the spoiler things?
    Posted in: Tutorials
  • 0

    posted a message on Minecraft Modding Made Easy (40+ Videos!)
    x2robbie2x, could you have a look at my error I have everything almost ready for the first relase of my first mod (thanks to you with your tutorials and the community) tho, when in game i can make everything right all of the block forms of say, Copper into Copper Block no problem but then I get to the Coptinite Block, i put all 8 ingots in, go to put in the last one as soon as i put it in the crafting bench it says *saving world* and crashes with this error;
    Mods loaded: 2
    ModLoader 1.0.0
    net.minecraft.src.mod_TCB 1.0.0
    
          Minecraft has crashed!      
          ----------------------      
    
    Minecraft has stopped running because it encountered a problem.
    
    If you wish to report this, please copy this entire text and email it to [email protected].
    Please include a description of what you did when the error occured.
    
    
    
    --- BEGIN ERROR REPORT 2b64ffeb --------
    Generated 26/12/11 9:24 AM
    
    Minecraft: Minecraft 1.0.0
    OS: Windows 7 (x86) version 6.1
    Java: 1.7.0_01, Oracle Corporation
    VM: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    LWJGL: 2.4.2
    OpenGL: Mobile Intel(R) 4 Series Express Chipset Family version 2.1.0 - Build 8.15.10.2202, Intel
    
    java.lang.NullPointerException
            at net.minecraft.src.ItemStack.getIconIndex(ItemStack.java:92)
            at net.minecraft.src.RenderItem.renderItemIntoGUI(RenderItem.java:242)
            at net.minecraft.src.GuiContainer.drawSlotInventory(GuiContainer.java:188)
            at net.minecraft.src.GuiContainer.drawScreen(GuiContainer.java:62)
            at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:804)
            at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:25)
            at net.minecraft.client.Minecraft.func_40001_x(Minecraft.java:729)
            at net.minecraft.client.Minecraft.run(Minecraft.java:627)
            at java.lang.Thread.run(Thread.java:722)
    --- END ERROR REPORT c65515bc ----------
    I ignored it up first went back in to try again but it didnt save and everything was gone so I tried again and it happened again so here is my code;
    Just letting you know it is quite long.
    package net.minecraft.src;
    
    import java.util.Random;
    
    public class mod_TCB extends BaseMod 
    {
            public static final Block tinOre = new BlocktinOre (180, 0).setHardness(4F).setResistance(5.5F).setLightValue(.3F).setBlockName("oreTin");
            public static final Block copperOre = new BlockcopperOre (181, 0).setHardness(4F).setResistance(5.5F).setLightValue(.3F).setBlockName("oreCopper");
            public static final Block bronzeOre = new BlockbronzeOre (182, 0).setHardness(4F).setResistance(5.5F).setLightValue(.3F).setBlockName("oreBronze");
            public static final Block tinBlock = new BlocktinBlock (183, 0).setHardness(3F).setResistance(6F).setLightValue(.5F).setBlockName("blokTin");
            public static final Block copperBlock = new BlockcopperBlock (184, 0).setHardness(3F).setResistance(6F).setLightValue(.5F).setBlockName("blockCopper");
            public static final Block bronzeBlock = new BlockbronzeBlock (185, 0).setHardness(3F).setResistance(6F).setLightValue(.5F).setBlockName("blockBronze");
            public static final Block coptiniteBlock = new BlockcoptiniteBlock(186, 0).setHardness(3.5F).setResistance(8F).setLightValue(1F).setBlockName("blockcoptinite");
            
            public static final Item tinIngot = new ItemtinIngot (601).setItemName("tinIngot");
            public static final Item copperIngot = new ItemcopperIngot (602).setItemName("copperIngot");
            public static final Item bronzeIngot = new ItembronzeIngot (603).setItemName("bronzeIngot");
            public static final Item refinedtinIngot = new ItemrefinedtinIngot (604).setItemName("refinedtinIngot");
            public static final Item refinedcopperIngot = new ItemrefinedcopperIngot (605).setItemName("refinedcopperIngot");
            public static final Item refinedbronzeIngot = new ItemrefinedbronzeIngot (606).setItemName("refinedbronzeIngot");
            
            public static final Item tinPickaxe = new ItemPickaxe(607, EnumToolMaterial.TIN).setItemName("tinPickaxe");
            public static final Item tinAxe = new ItemAxe(608, EnumToolMaterial.TIN).setItemName("tinAxe");
            public static final Item tinShovel = new ItemSpade(609, EnumToolMaterial.TIN).setItemName("tinShovel");
            public static final Item tinHoe = new ItemHoe(610, EnumToolMaterial.TIN).setItemName("tinHoe");
            public static final Item tinSword = new ItemSword(611, EnumToolMaterial.TIN).setItemName("tinSword");
            public static final Item copperPickaxe = new ItemPickaxe(612, EnumToolMaterial.COPPER).setItemName("copperPickaxe");
            public static final Item copperAxe = new ItemAxe(613, EnumToolMaterial.COPPER).setItemName("copperAxe");
            public static final Item copperShovel = new ItemSpade(614, EnumToolMaterial.COPPER).setItemName("copperShovel");
            public static final Item copperHoe = new ItemHoe(615, EnumToolMaterial.COPPER).setItemName("copperHoe");
            public static final Item copperSword = new ItemSword(616, EnumToolMaterial.COPPER).setItemName("copperSword");
            public static final Item bronzePickaxe = new ItemPickaxe(617, EnumToolMaterial.BRONZE).setItemName("bronzePickaxe");
            public static final Item bronzeAxe = new ItemAxe(618, EnumToolMaterial.BRONZE).setItemName("bronzeAxe");
            public static final Item bronzeShovel = new ItemSpade(619, EnumToolMaterial.BRONZE).setItemName("bronzeShovel");
            public static final Item bronzeHoe = new ItemHoe(620, EnumToolMaterial.BRONZE).setItemName("bronzeHoe");
            public static final Item bronzeSword = new ItemSword(621, EnumToolMaterial.BRONZE).setItemName("bronzeSword");
            public static final Item coptiniteSword = new ItemSword(636, EnumToolMaterial.COPTINITE).setItemName("coptiniteSword");
            
            public static final Item tinHelmet = new ItemArmor(622, EnumArmorMaterial.TIN, ModLoader.AddArmor("tin"), 0).setItemName("tinHelmet");
            public static final Item tinChest = new ItemArmor(623, EnumArmorMaterial.TIN, ModLoader.AddArmor("tin"), 1).setItemName("tinChest");
            public static final Item tinLegs = new ItemArmor(624, EnumArmorMaterial.TIN, ModLoader.AddArmor("tin"), 2).setItemName("tinLegs");
            public static final Item tinBoots = new ItemArmor(625, EnumArmorMaterial.TIN, ModLoader.AddArmor("tin"), 3).setItemName("tinBoots");
            public static final Item copperHelmet = new ItemArmor(626, EnumArmorMaterial.COPPER, ModLoader.AddArmor("copper"), 0).setItemName("copperHelmet");
            public static final Item copperChest = new ItemArmor(627, EnumArmorMaterial.COPPER, ModLoader.AddArmor("copper"), 1).setItemName("copperChest");
            public static final Item copperLegs = new ItemArmor(628, EnumArmorMaterial.COPPER, ModLoader.AddArmor("copper"), 2).setItemName("copperLegs");
            public static final Item copperBoots = new ItemArmor(629, EnumArmorMaterial.COPPER, ModLoader.AddArmor("copper"), 3).setItemName("copperBoots");
            public static final Item bronzeHelmet = new ItemArmor(630, EnumArmorMaterial.BRONZE, ModLoader.AddArmor("bronze"), 0).setItemName("bronzeHelmet");
            public static final Item bronzeChest = new ItemArmor(631, EnumArmorMaterial.BRONZE, ModLoader.AddArmor("bronze"), 1).setItemName("bronzeChest");
            public static final Item bronzeLegs = new ItemArmor(632, EnumArmorMaterial.BRONZE, ModLoader.AddArmor("bronze"), 2).setItemName("bronzeLegs");
            public static final Item bronzeBoots = new ItemArmor(633, EnumArmorMaterial.BRONZE, ModLoader.AddArmor("bronze"), 3).setItemName("bronzeBoots");
            
            public static final Item bronzeStick = new ItembronzeStick(634).setItemName("bronzeStick");
            public static final Item coptiniteIngot = new ItemcoptiniteIngot (635).setItemName("coptiniteIngot");
            //Blocks
            public mod_TCB()
            {
                    //Tin
                    ModLoader.RegisterBlock(tinOre);
                    ModLoader.RegisterBlock(tinBlock);
                    ModLoader.AddName(tinBlock, "Tin Block");
                    ModLoader.AddName(tinOre, "Tin Ore");
                    tinBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/TCB/Blocks/tinblock.png");
                    tinOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/TCB/Blocks/tinore.png");
                    
                    ModLoader.AddRecipe(new ItemStack(tinBlock, 1) , new Object[]{
                            "!!!", "!!!", "!!!", Character.valueOf('!'), tinIngot
                    });     
                    ModLoader.AddRecipe(new ItemStack(tinIngot, 9) , new Object[]{
                            "   ", "   ", "!  ", Character.valueOf('!'), tinBlock   
                    });
                    
                    //Copper
                    ModLoader.AddName(copperOre, "Copper Ore");
                    ModLoader.AddName(copperBlock, "Copper Block");
                    ModLoader.RegisterBlock(copperBlock);
                    ModLoader.RegisterBlock(copperOre);
                    copperOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/TCB/Blocks/copperore.png");
                    copperBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/TCB/Blocks/copperblock.png");
                    
                    ModLoader.AddRecipe(new ItemStack(copperBlock, 1) , new Object[]{
                            "!!!", "!!!", "!!!", Character.valueOf('!'), copperIngot
                    });
                    ModLoader.AddRecipe(new ItemStack(copperIngot, 9), new Object[]{
                            "   ", "   ", "!  ", Character.valueOf('!'), copperBlock
                    });
                    
                    //Bronze
                    ModLoader.AddName(bronzeOre, "Bronze Ore");
                    ModLoader.AddName(bronzeBlock, "Bronze Block");
                    ModLoader.RegisterBlock(bronzeOre);
                    ModLoader.RegisterBlock(bronzeBlock);
                    bronzeOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/TCB/Blocks/bronzeore.png");
                    bronzeBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/TCB/Blocks/bronzeblock.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzeBlock, 1) , new Object[]{
                            "!!!", "!!!", "!!!", Character.valueOf('!'), bronzeIngot
                    });
                    ModLoader.AddRecipe(new ItemStack(bronzeIngot, 1), new Object[]{
                            "   ", "   ", "!  ", Character.valueOf('!'), bronzeBlock
                    });
                    
                    //Coptinite 
                    ModLoader.AddName(coptiniteIngot, "Coptinite Ingot");
                coptiniteIngot.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Items/coptiniteingot.png");
                
                ModLoader.AddRecipe(new ItemStack(coptiniteIngot, 1) , new Object[]{
                            " # ", " ! ", " @ ", Character.valueOf('!'), refinedcopperIngot, Character.valueOf('@'), refinedbronzeIngot, Character.valueOf('#'), refinedtinIngot    
                    });
                ModLoader.AddRecipe(new ItemStack(coptiniteIngot, 1),new Object[]{
                    "!", Character.valueOf('!'), coptiniteBlock
                });
                ModLoader.AddRecipe(new ItemStack(coptiniteBlock, 1), new Object[]{
                    "!!!", "!!!", "!!!", Character.valueOf('!'), coptiniteIngot
                });
    
                    
                //Bars
                    ModLoader.AddName(tinIngot, "Tin Ingot");
                    ModLoader.AddName(copperIngot, "Copper Ingot");
                    ModLoader.AddName(bronzeIngot, "Bronze Ingot");
                    ModLoader.AddName(refinedtinIngot, "Refined Tin Ingot");
                    ModLoader.AddName(refinedcopperIngot, "Refined Copper Ingot");
                    ModLoader.AddName(refinedbronzeIngot, "Refined Bronze Ingot");
                    
                    tinIngot.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Items/tiningot.png");
                    copperIngot.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Items/copperingot.png");
                    bronzeIngot.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Items/bronzeingot.png");
                    
                    refinedcopperIngot.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Items/refinedcopperingot.png");
                    refinedbronzeIngot.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Items/refinedbronzeingot.png");
                    refinedtinIngot.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Items/refinedtiningot.png");
                    
                    ModLoader.AddSmelting(mod_TCB.tinOre.blockID, new ItemStack(mod_TCB.tinIngot, 1));
                    ModLoader.AddSmelting(mod_TCB.copperOre.blockID, new ItemStack(mod_TCB.copperIngot, 1));
                    ModLoader.AddSmelting(mod_TCB.bronzeOre.blockID, new ItemStack(mod_TCB.bronzeIngot, 1));
                    ModLoader.AddSmelting(mod_TCB.tinIngot.shiftedIndex, new ItemStack(mod_TCB.refinedtinIngot, 1));
                    ModLoader.AddSmelting(mod_TCB.copperIngot.shiftedIndex, new ItemStack(mod_TCB.refinedcopperIngot, 1));
                    ModLoader.AddSmelting(mod_TCB.bronzeIngot.shiftedIndex, new ItemStack(mod_TCB.refinedbronzeIngot, 1));
                    
                    //TOOLS
                    
                    //Pickaxe
                    
                    //Tin
                    ModLoader.AddName(tinPickaxe, "Tin Pickaxe");
                    tinPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/tinpickaxe.png");
                    
                    ModLoader.AddRecipe(new ItemStack(tinPickaxe, 1) , new Object[]{
                            "!!!", " @ ", " @ ", Character.valueOf('!'), tinIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Copper
                    ModLoader.AddName(copperPickaxe, "Copper Pickaxe");
                    copperPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/copperpickaxe.png");
                    
                    ModLoader.AddRecipe(new ItemStack(copperPickaxe, 1) , new Object[]{
                            "!!!", " @ ", " @ ", Character.valueOf('!'), copperIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Bronze
                    ModLoader.AddName(bronzePickaxe, "Bronze Pickaxe");
                    bronzePickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/bronzepickaxe.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzePickaxe, 1) , new Object[]{
                            "!!!", " @ ", " @ ", Character.valueOf('!'), bronzeIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Axe
                    
                    //Tin
                    ModLoader.AddName(tinAxe, "Tin Axe");
                    tinAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/tinaxe.png");
                    
                    ModLoader.AddRecipe(new ItemStack(tinAxe, 1) , new Object[]{
                            " !!", " @!", " @ ", Character.valueOf('!'), tinIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Copper
                    ModLoader.AddName(copperAxe, "Copper Axe");
                    copperAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/copperaxe.png");
                    
                    ModLoader.AddRecipe(new ItemStack(copperAxe, 1) , new Object[]{
                            " !!", " @!", " @ ", Character.valueOf('!'), copperIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Bronze
                    ModLoader.AddName(bronzeAxe, "Bronze Axe");
                    bronzeAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/bronzeaxe.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzeAxe, 1) , new Object[]{
                            " !!", " @!", " @ ", Character.valueOf('!'), bronzeIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Shovel
                    
                    //Tin
                    ModLoader.AddName(tinShovel, "Tin Shovel");
                    tinShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/tinshovel.png");
                    
                    ModLoader.AddRecipe(new ItemStack(tinShovel, 1) , new Object[]{
                            " ! ", " @ ", " @ ", Character.valueOf('!'), tinIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Copper
                    ModLoader.AddName(copperShovel, "Copper Shovel");
                    copperShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/coppershovel.png");
                    
                    ModLoader.AddRecipe(new ItemStack(copperShovel, 1) , new Object[]{
                            " ! ", " @ ", " @ ", Character.valueOf('!'), copperIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Bronze
                    ModLoader.AddName(bronzeShovel, "Bronze Shovel");
                    bronzeShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/bronzeshovel.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzeShovel, 1) , new Object[]{
                            " ! ", " @ ", " @ ", Character.valueOf('!'), bronzeIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Hoe
                    
                    //Tin
                    ModLoader.AddName(tinHoe, "Tin Hoe");
                    tinHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/tinhoe.png");
                    
                    ModLoader.AddRecipe(new ItemStack(tinHoe, 1) , new Object[]{
                            " !!", " @ ", " @ ", Character.valueOf('!'), tinIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Copper
                    ModLoader.AddName(copperHoe, "Copper Hoe");
                    copperHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/copperhoe.png");
                    
                    ModLoader.AddRecipe(new ItemStack(copperHoe, 1) , new Object[]{
                            " !!", " @ ", " @ ", Character.valueOf('!'), copperIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Bronze
                    ModLoader.AddName(bronzeHoe, "Bronze Hoe");
                    bronzeHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/bronzehoe.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzeHoe, 1) , new Object[]{
                            " !!", " @ ", " @ ", Character.valueOf('!'), bronzeIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Sword
                    
                    //Tin
                    ModLoader.AddName(tinSword, "Tin Sword");
                    tinSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/tinsword.png");
                    
                    ModLoader.AddRecipe(new ItemStack(tinSword, 1) , new Object[]{
                            " ! ", " ! ", " @ ", Character.valueOf('!'), tinIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Copper
                    ModLoader.AddName(copperSword, "Copper Sword");
                    copperSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/coppersword.png");
                    
                    ModLoader.AddRecipe(new ItemStack(copperSword, 1) , new Object[]{
                            " ! ", " ! ", " @ ", Character.valueOf('!'), copperIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Bronze
                    ModLoader.AddName(bronzeSword, "Bronze Sword");
                    bronzeSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/bronzesword.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzeSword, 1) , new Object[]{
                            " ! ", " ! ", " @ ", Character.valueOf('!'), bronzeIngot, Character.valueOf('@'), Item.stick
                    });
                    
                    //Coptinite
                    ModLoader.AddName(coptiniteSword, "Coptinite Sword");
                    coptiniteSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Tools/coptinitesword.png");
                    
                    ModLoader.AddRecipe(new ItemStack(coptiniteSword, 1), new Object[]{
                            " ! ", " @ ", " * ", Character.valueOf('!'), refinedtinIngot, Character.valueOf('@'), refinedcopperIngot, Character.valueOf('*'), bronzeStick
                    });
                    
                    //Armor 
                    
                    //Helmet
                    
                    //Tin
                    ModLoader.AddName(tinHelmet, "Tin Helmet");
                    tinHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/tinhelmet.png");
                    
                    ModLoader.AddRecipe(new ItemStack(tinHelmet, 1), new Object[]{
                            "!!!", "! !", "   ", Character.valueOf('!'), tinIngot
                    });
                    
                    //Copper
                    ModLoader.AddName(copperHelmet, "Copper Helmet");
                    copperHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/copperhelmet.png");
                    
                    ModLoader.AddRecipe(new ItemStack(copperHelmet, 1), new Object[]{
                            "!!!", "! !", "   ", Character.valueOf('!'), copperIngot
                    });
                    
                    //Bronze
                    ModLoader.AddName(bronzeHelmet, "Bronze Helmet");
                    bronzeHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/bronzehelmet.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzeHelmet, 1), new Object[]{
                            "!!!", "! !", "   ", Character.valueOf('!'), bronzeIngot
                    });
                    
                    //Chest
                    
                    //Tin
                    ModLoader.AddName(tinChest, "Tin Chest");
                    tinChest.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/tinchest.png");
                    
                    ModLoader.AddRecipe(new ItemStack(tinChest, 1), new Object[]{
                            "! !", "!!!", "!!!", Character.valueOf('!'), tinIngot
                    });
                    
                    //Copper
                    ModLoader.AddName(copperChest, "Copper Chest");
                    copperChest.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/copperchest.png");
                    
                    ModLoader.AddRecipe(new ItemStack(copperChest, 1), new Object[]{
                            "! !", "!!!", "!!!", Character.valueOf('!'), copperIngot
                    });
                    
                    //Bronze
                    ModLoader.AddName(bronzeChest, "Bronze Chest");
                    bronzeChest.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/bronzechest.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzeChest, 1), new Object[]{
                            "! !", "!!!", "!!!", Character.valueOf('!'), bronzeIngot
                    });
                    
                    //Legs
                    
                    //Tin
                    ModLoader.AddName(tinLegs, "Tin Legs");
                    tinLegs.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/tinlegs.png");
                    
                    ModLoader.AddRecipe(new ItemStack(tinLegs, 1), new Object[]{
                            "!!!", "! !", "! !", Character.valueOf('!'), tinIngot
                    });
                    
                    //Copper
                    ModLoader.AddName(copperLegs, "Copper Legs");
                    copperLegs.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/copperlegs.png");
                    
                    ModLoader.AddRecipe(new ItemStack(copperLegs, 1), new Object[]{
                            "!!!", "! !", "! !", Character.valueOf('!'), copperIngot
                    });
                    
                    //Bronze
                    ModLoader.AddName(bronzeLegs, "Bronze Legs");
                    bronzeLegs.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/bronzelegs.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzeLegs, 1), new Object[]{
                            "!!!", "! !", "! !", Character.valueOf('!'), bronzeIngot
                    });
                    
                    //Boots
                    
                    //Tin
                    ModLoader.AddName(tinBoots, "Tin Boots");
                    tinBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/tinboots.png");
                    
                    ModLoader.AddRecipe(new ItemStack(tinBoots, 1), new Object[]{
                            "   ", "! !", "! !", Character.valueOf('!'), tinIngot
                    });
                    
                    //Copper
                    ModLoader.AddName(copperBoots, "Copper Boots");
                    copperBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/copperboots.png");
                    
                    ModLoader.AddRecipe(new ItemStack(copperBoots, 1), new Object[]{
                            "   ", "! !", "! !", Character.valueOf('!'), copperIngot
                    });
                    
                    //Bronze
                    ModLoader.AddName(bronzeBoots, "Bronze Boots");
                    bronzeBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Armor/bronzeboots.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzeBoots, 1), new Object[]{
                            "   ", "! !", "! !", Character.valueOf('!'), bronzeIngot
                });
                    
                    //Items
                    ModLoader.AddName(bronzeStick, "Bronze Stick");
                    bronzeStick.iconIndex = ModLoader.addOverride("/gui/items.png", "/TCB/Items/bronzestick.png");
                    
                    ModLoader.AddRecipe(new ItemStack(bronzeStick, 1), new Object[]{
                            " ! ", " ! ", " ! ", Character.valueOf('!'), refinedbronzeIngot
                    });
                    
                    //Achievements
                    
    }
            
            
            
            
            
            
            
            
            
            public void GenerateSurface(World world, Random rand, int BaseX, int BaseZ) 
            {
                    for(int x = 0; x < 30; x++)
                    {
                            int Xcoord = BaseX + rand.nextInt(16);
                            int Ycoord = rand.nextInt(50);
                            int Zcoord = BaseZ + rand.nextInt(16);
                            (new WorldGenMinable(tinOre.blockID, 35)).generate(world, rand, Xcoord, Ycoord, Zcoord);
                            (new WorldGenMinable(copperOre.blockID, 35)).generate(world, rand, Xcoord, Ycoord, Zcoord);
                            (new WorldGenMinable(bronzeOre.blockID, 35)).generate(world, rand, Xcoord, Ycoord, Zcoord);
                    }
            }
            
            
            
            
            
            
            public void load(){};
            public String getVersion()
            {
                    return "1.0.0";
            }
    }

    Thanks alot ltolt2

    Also, could you quite possibly do a simple tutorial? on how to add Achievements?
    Posted in: Tutorials
  • 0

    posted a message on Anyone angry about the Pocket Edition for iOS?
    I hate the price of it...it is expensive for what it is at the moment! I could of used the money i used for it to get at lease 4..or more decent games...If i knew it was this bad i wouldnt of bought it but oh well...no going back now
    Posted in: MCPE: Discussion
  • 0

    posted a message on Got some troubles with custom tools
    um, what do you mean by Edited classes?, do you mean the files in it that you make?...cause you can recompile, then reobfuscate then in the reobf folder there will be your classes
    Posted in: Modification Development
  • 0

    posted a message on SOLVED THANKS TO THE WONDERFULL COMMUNITY
    ...:biggrin.gif: tyvm it works now! there was one other small error which was with the coptinite ingot for the texture i didnt put /TCB/Items/coptinite.png
    i had
    /TCB/coptinite.png

    anyways thanks for your help
    Posted in: Modification Development
  • 0

    posted a message on SOLVED THANKS TO THE WONDERFULL COMMUNITY
    haha, thanks I let such little things go past me without realizing...Just fixed the two errors with the missing /GUI recompiling now..will post new error if there is one
    Posted in: Modification Development
  • 0

    posted a message on SOLVED THANKS TO THE WONDERFULL COMMUNITY
    wow, thanks...I didn't notice that yet it's so obvious, recompiling now and trying again.ok so after fixing the recipe problems this is the new error;
    Mods loaded: 1
    ModLoader 1.0.0
    
          Minecraft has crashed!      
          ----------------------      
    
    Minecraft has stopped running because it encountered a problem.
    
    If you wish to report this, please copy this entire text and email it to [email protected].
    Please include a description of what you did when the error occured.
    
    
    
    --- BEGIN ERROR REPORT 141ccf11 --------
    Generated 24/12/11 8:01 PM
    
    Minecraft: Minecraft 1.0.0
    OS: Windows 7 (x86) version 6.1
    Java: 1.7.0_01, Oracle Corporation
    VM: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    LWJGL: 2.4.2
    OpenGL: Mobile Intel(R) 4 Series Express Chipset Family version 2.1.0 - Build 8.15.10.2202, Intel
    
    java.lang.Exception: No registry for this texture: gui/items.png
    	at net.minecraft.src.ModLoader.getUniqueSpriteIndex(ModLoader.java:580)
    	at net.minecraft.src.ModLoader.addOverride(ModLoader.java:330)
    	at net.minecraft.src.mod_TCB.<init>(mod_TCB.java:366)
    	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:525)
    	at java.lang.Class.newInstance0(Class.java:372)
    	at java.lang.Class.newInstance(Class.java:325)
    	at net.minecraft.src.ModLoader.addMod(ModLoader.java:265)
    	at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1214)
    	at net.minecraft.src.ModLoader.init(ModLoader.java:733)
    	at net.minecraft.src.ModLoader.AddAllRenderers(ModLoader.java:162)
    	at net.minecraft.src.RenderManager.<init>(RenderManager.java:104)
    	at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:42)
    	at net.minecraft.client.Minecraft.startGame(Minecraft.java:314)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:613)
    	at java.lang.Thread.run(Thread.java:722)
    --- END ERROR REPORT c7689646 ----------
    Posted in: Modification Development
  • 0

    posted a message on SOLVED THANKS TO THE WONDERFULL COMMUNITY
    Bump....anyone?
    Posted in: Modification Development
  • 0

    posted a message on ♔Terranova♔ [24-7] [PVP] [FACTIONS] [MCMMO] [LWC] [ECONOMY]
    Sounds really fun :biggrin.gif: I'm going to log in now and have some fun!
    Posted in: Starting Up / Looking For Server
  • To post a comment, please .