• 0

    posted a message on Need Help Texturing Armor For Mod
    I am Making A Bacon Mod And I Have Done All The Coding All I Need Is Help Making Armor Textures Because i am not good at texturing and if you could help it would be awesome Thx
    Posted in: Modification Development
  • 0

    posted a message on Recycle Armor Mod need Help finding Iron Class and armor for smelting
    Im Making a Recycle Mod That when you smelt armor you get the ingot back for ex: you have iron armor but found alot of diamonds and dont have an iron pick all you have to do is put the armor in the furnace and boom you got iron ingots. so what i want to know is where can i find the leather item the iron item the gold item the diamond item and all their armor if you could help me that would be awesome
    Posted in: Modification Development
  • 0

    posted a message on MineCraft Mod : Need Help Making A Bow And Portable Chest (BackPack)
    Quote from Dragonphly77

    Write your attempt at the backpack. We can't/won't write all of it for you. This is mod development. The description is "help with Java code" not "write someone's mod lolz"

    Attempt it, then come back here with the problems and we'll help you.
    ok so what im trying to do is public static final Item BackPack = new ItemBackPack(254).setItemName("Pack");
    and i know that i have to make a class for ItemBackPack but i dont know what to put in it and i can make a gui but what i need help with is the inside of the ItemBackPack so if you guys could help me out that would be awesome
    Posted in: Modification Development
  • 0

    posted a message on What did i do wrong: im trying to make an item wierd error /modloader
    Quote from evankramer123

    oh heres the code for the item that was the error code


    package net.minecraft.src;

    public class mod_FishHook extends BaseModMp
    {
    public static final Item FishHook = new Item(19997).setIconIndex(ModLoader.addOverride("/gui/items.png", "/fishhook.png")).setItemName("FishHook");
    public void load()
    {
    ModLoader.addName(FishHook, "Fish Hook");
    }
    public String getVersion()
    {
    return ".1";
    }
    }
    (ModLoader.addOverride("/gui/items.png", "/fishhook.png")) needs to be something like (ModLoader.addOverride("/gui/items.png", "/items/fishhook.png")) or something like that just make a folder in the bin,minecraft,and add the item folder in there and put your png in there and also make a folder int the eclipse,client, bin and also add the picture
    Posted in: Modification Development
  • 0

    posted a message on MineCraft Mod : Need Help Making A Bow And Portable Chest (BackPack)
    ok so what im trying to do is public static final Item BackPack = new ItemBackPack(254).setItemName("Pack");
    and i know that i have to make a class for ItemBackPack but i dont know what to put in it and i can make a gui but what i need help with is the inside of the ItemBackPack so if you guys could help me out that would be awesome
    Posted in: Modification Development
  • 0

    posted a message on MineCraft Mod : Need Help Making A Bow And Portable Chest (BackPack)
    i dont know where to start to make the backpack and idk why lolz i did it a while ago and my friend told me he was making a mod and i remembered i started this so i want to finish it so yeah
    Posted in: Modification Development
  • 0

    posted a message on MineCraft Mod : Need Help Making A Bow And Portable Chest (BackPack)
    ok
    SO FOR MY MAIN CLASS I HAVE

    package net.minecraft.src;
    import java.util.Random;

    public class mod_MoreMod extends BaseMod
    {

    //Gem
    public static final Item Ruby = new ItemRubyGem(2085).setItemName("Ruby");

    //Sword
    public static final Item RubySword = new ItemSword(3077, EnumToolMaterial.RUBY).setItemName("RubySword");

    //Pickaxe
    public static final Item RubyPickaxe = new ItemPickaxe(2102, EnumToolMaterial.RUBY).setItemName("RubyPick");

    //Axe
    public static final Item RubyAxe = new ItemAxe(2096, EnumToolMaterial.RUBY).setItemName("RubyAxe");

    //Hoe
    public static final Item RubyHoe = new ItemHoe(2107, EnumToolMaterial.RUBY).setItemName("RubyHoe");

    //Shovel
    public static final Item RubySpade = new ItemSpade(2209, EnumToolMaterial.RUBY).setItemName("RubyShovel");

    //Ore
    public static final Block rubyBlock = new BlockRuby(151, 0).setHardness(1F).setResistance(7.0F).setBlockName("RubyOre");

    //Block
    public static final Block RubySolidBlock = new BlockRubySolid(160, 0).setBlockName("RubyBlock").setHardness(5F).setResistance(6F).setStepSound(Block.soundMetalFootstep);

    //Food
    public static final Item Cupcake = new ItemFood(5000, 6, 4F, true).setItemName("cupcake");

    //Crystal
    public static final Item Crystal = new ItemRubyGem(2086).setItemName("Crystal");

    //CystalSword
    public static final Item CrystalSword = new ItemSword(3078, EnumToolMaterial.CRYSTAL).setItemName("CrystalSword");

    //CrystalPickaxe
    public static final Item CrystalPickaxe = new ItemPickaxe(2103, EnumToolMaterial.CRYSTAL).setItemName("CrystalPickaxe");

    //CrystalAxe
    public static final Item CrystalAxe = new ItemAxe(2097, EnumToolMaterial.CRYSTAL).setItemName("CrystalAxe");

    //CrystalHoe
    public static final Item CrystalHoe = new ItemHoe(2109, EnumToolMaterial.CRYSTAL).setItemName("CrystalHoe");

    //CrystalShovel
    public static final Item CrystalSpade = new ItemSpade(2108, EnumToolMaterial.CRYSTAL).setItemName("CrystalSpade");

    //CrystalOre
    public static final Block crystalBlock = new BlockCrystal(152, 0).setHardness(1F).setResistance(7.0F).setBlockName("CrystalOre");

    public void generateSurface(World world, Random random, int chunkX, int chunkZ)
    {
    Random randomGenerator = random;

    for (int i = 0; i < 10; i++)
    {
    int randPosX = chunkX + randomGenerator.nextInt(15);
    int randPosY = random.nextInt(60);
    int randPosZ = chunkZ + randomGenerator.nextInt(15);
    (new WorldGenMinable(rubyBlock.blockID, 20)).generate(world, random, randPosX, randPosY, randPosZ);
    }
    Random randomGenerator1 = random;

    for (int i = 0; i < 10; i++)
    {
    int randPosX = chunkX + randomGenerator1.nextInt(15);
    int randPosY = random.nextInt(60);
    int randPosZ = chunkZ + randomGenerator1.nextInt(15);
    (new WorldGenMinable(crystalBlock.blockID, 20)).generate(world, random, randPosX, randPosY, randPosZ);
    }



    }

    public void load()
    {

    //Ruby Gem
    Ruby.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/Ruby.png");
    ModLoader.addName(Ruby, "Ruby");


    //RubySword
    RubySword.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/RubySword.png");
    ModLoader.addName(RubySword, "Ruby Sword");
    ModLoader.addRecipe(new ItemStack(RubySword, 1), new Object[]
    {
    " * ", " * ", " X ",
    'X', Item.stick, '*', Ruby
    });

    //Pickaxe
    RubyPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/RubyPick.png");
    ModLoader.addName(RubyPickaxe, "Ruby Pickaxe");
    ModLoader.addRecipe(new ItemStack(RubyPickaxe, 1), new Object[]
    {
    "***", " X ", " X ",
    'X', Item.stick, '*', Ruby
    });


    //Ruby
    Ruby.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/Ruby.png");
    ModLoader.addName(Ruby, "Ruby");
    ModLoader.addRecipe(new ItemStack(Ruby, 1), new Object[]
    {
    " X ", " X ", " X ",
    'X', Block.dirt,
    });

    //Rubyaxe
    RubyAxe.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/RubyAxe.png");
    ModLoader.addName(RubyAxe, "Ruby Axe");
    ModLoader.addRecipe(new ItemStack(RubyAxe, 1), new Object[]
    {
    "** ", "*X ", " X ",
    'X', Item.stick, '*', Ruby
    });
    //Hoe
    RubyHoe.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/RubyHoe.png");
    ModLoader.addName(RubyHoe, "NAME Hoe");
    ModLoader.addRecipe(new ItemStack(RubyHoe, 1), new Object[]
    {
    "** ", " X ", " X ",
    'X', Item.stick, '*', Ruby
    });
    //RubySpade
    RubySpade.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/RubyShovel.png");
    ModLoader.addName(RubySpade, "Ruby Shovel");
    ModLoader.addRecipe(new ItemStack(RubySpade, 1), new Object[]
    {
    " * ", " X ", " X ",
    'X', Item.stick, '*', Ruby
    });
    // ore Ruby
    ModLoader.registerBlock(rubyBlock);
    rubyBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png" , "/items/RubyOre.png");
    ModLoader.addName(rubyBlock, "Ruby Ore");

    //RubyBlock
    RubySolidBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/items/RubyBlock.png");
    ModLoader.registerBlock(RubySolidBlock);
    ModLoader.addName(RubySolidBlock, "Ruby Block");
    ModLoader.addRecipe(new ItemStack(RubySolidBlock, 1), new Object [] {"###", "###", "###", Character.valueOf('#'), Ruby});

    Cupcake.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/Food.png");

    ModLoader.addName(Cupcake, "CupCake");

    ModLoader.addRecipe(new ItemStack(Cupcake, 5), new Object[]
    {
    "***", "***", "***",
    '*', Item.sugar
    });
    //Crystal
    Crystal.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/Crystal.png");
    ModLoader.addName(Crystal, "Crystal");
    ModLoader.addRecipe(new ItemStack(Crystal, 1), new Object[]
    {
    " X ", " X ", " X ",
    'X', Block.cobblestone,
    });
    //CrystalSword
    CrystalSword.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/CrystalSword.png");
    ModLoader.addName(CrystalSword, "Crystal Sword");
    ModLoader.addRecipe(new ItemStack(CrystalSword, 1), new Object[]
    {
    " * ", " * ", " X ",
    'X', Item.stick, '*', Crystal
    });
    //CrystalPickaxe
    CrystalPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/CrystalPickaxe.png");
    ModLoader.addName(CrystalPickaxe, "Crystal Pickaxe");
    ModLoader.addRecipe(new ItemStack(CrystalPickaxe, 1), new Object[]
    {
    "sss", " X ", " X ",
    'X', Item.stick, 's', Crystal
    });

    //CrystalAxe
    CrystalAxe.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/CrystalAxe.png");
    ModLoader.addName(CrystalAxe, "Crystal Axe");
    ModLoader.addRecipe(new ItemStack(CrystalAxe, 1), new Object[]
    {
    "** ", "*X ", " X ",
    'X', Item.stick, '*', Crystal
    });
    //CrystalHoe
    CrystalHoe.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/CrystalHoe.png");
    ModLoader.addName(CrystalHoe, "NAME Hoe");
    ModLoader.addRecipe(new ItemStack(CrystalHoe, 1), new Object[]
    {
    "** ", " X ", " X ",
    'X', Item.stick, '*', Crystal
    });

    //CrystalSpade
    CrystalSpade.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/CrystalShovel .png");
    ModLoader.addName(CrystalSpade, "Crystal Shovel");
    ModLoader.addRecipe(new ItemStack(CrystalSpade, 1), new Object[]
    {
    " * ", " X ", " X ",
    'X', Item.stick, '*', Crystal
    });
    ModLoader.registerBlock(crystalBlock);
    crystalBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png" , "/items/CrystalOre.png");
    ModLoader.addName(crystalBlock, "Crystal Ore");

    }
    public String getVersion()
    {
    return "3.14159265";
    }
    }

    THEN I ADDED A GEM

    package net.minecraft.src;
    import java.util.Random;

    public class ItemRubyGem extends Item
    {
    public ItemRubyGem(int i)
    {
    super(i);
    maxStackSize = 64;
    }

    public String Version()
    {
    return "3.14159265";
    }
    }

    THEN I MADE THE ORE

    package net.minecraft.src;
    import java.util.Random;

    public class BlockRuby extends Block
    {
    protected BlockRuby(int i, int j)
    {
    super(i, j, Material.iron);
    }

    public int idDropped(int par1, Random par2Random, int par3)
    {
    return mod_MoreMod.Ruby.shiftedIndex;
    }
    public int quantityDropped(Random random)
    {
    return 2;
    }

    public String Version()
    {
    return "3.14159265";
    }
    }

    THEN SOME ARMOR

    package net.minecraft.src;

    import net.minecraft.client.Minecraft;

    public class mod_MCArmor extends BaseMod
    {

    public static final Item RubyBody = (new ItemArmor(2200, EnumArmorMaterial.RUBY ,5,1 ).setItemName("RubyBody"));
    public static final Item RubyHelmet = (new ItemArmor(2201,EnumArmorMaterial.RUBY ,5,0 ).setItemName("RubyHelmet"));
    public static final Item RubyPants = (new ItemArmor(2202,EnumArmorMaterial.RUBY ,5,2 ).setItemName("RubyPants"));
    public static final Item RubyBoots = (new ItemArmor(2203,EnumArmorMaterial.RUBY, 5, 3 ).setItemName("RubyBoots"));







    public void load()
    {

    RubyBody.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/RubyChest.png");
    ModLoader.addName(RubyBody, "Ruby Chestplate");
    ModLoader.addRecipe(new ItemStack(RubyBody,1), new Object[]{
    "* *", "***", "***", Character.valueOf('*'), mod_MoreMod.Ruby});

    // Helmet Armor
    RubyHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/RubyHelmet.png");
    ModLoader.addName(RubyHelmet, "Ruby Helmet");
    ModLoader.addRecipe(new ItemStack(RubyHelmet,1), new Object[]{
    "***", "* *", Character.valueOf('*'), mod_MoreMod.Ruby});
    // Pants Armor
    RubyPants.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/RubyPants.png");
    ModLoader.addName(RubyPants, "Ruby Leggings");
    ModLoader.addRecipe(new ItemStack(RubyPants,1), new Object[]{
    "***", "* *", "* *", Character.valueOf('*'), mod_MoreMod.Ruby});

    // Boots Armor
    RubyBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/RubyBoots.png");
    ModLoader.addName(RubyBoots, "Ruby Boots");
    ModLoader.addRecipe(new ItemStack(RubyBoots,1), new Object[]{
    "* *", "* *", Character.valueOf('*'), mod_MoreMod.Ruby});

    ModLoader.addArmor("Ruby");






    }

    public String Version()
    {
    return "1.2.5";
    }



    public String getVersion()
    {
    return "3.14159265";
    }
    }

    ANOTHER GEM

    package net.minecraft.src;
    import java.util.Random;

    public class ItemCrystalGem extends Item
    {
    public ItemCrystalGem(int i)
    {
    super(i);
    maxStackSize = 64;
    }

    public String Version()
    {
    return "3.14159265";
    }
    }

    ANOTHER ORE


    package net.minecraft.src;
    import java.util.Random;

    public class BlockCrystal extends Block
    {
    protected BlockCrystal (int i, int j)
    {
    super(i, j, Material.iron);
    }

    public int idDropped(int par1, Random par2Random, int par3)
    {
    return mod_MoreMod.Crystal.shiftedIndex;
    }
    public int quantityDropped(Random random)
    {
    return 2;
    }

    public String Version()
    {
    return "3.14159265";
    }
    }
    THE SOLID BLOCK FOR THE FIRST GEM (9 gems in the work bench)

    package net.minecraft.src;
    import java.util.Random;

    public class BlockCrystal extends Block
    {
    protected BlockCrystal (int i, int j)
    {
    super(i, j, Material.iron);
    }

    public int idDropped(int par1, Random par2Random, int par3)
    {
    return mod_MoreMod.Crystal.shiftedIndex;
    }
    public int quantityDropped(Random random)
    {
    return 2;
    }

    public String Version()
    {
    return "3.14159265";
    }
    }
    (every time i start a new "gem or block" thats it own calss)

    Mod Edit: Spoiler'd for obvious reasons.
    Posted in: Modification Development
  • 0

    posted a message on MineCraft Mod : Need Help Making A Bow And Portable Chest (BackPack)
    Hi I've started a mod called The More Mod (Haven't thought of a good name yet :) ) and i wanted to add new bows , arrows, etc and a backpack i'm OK at coding java but still could use some help if you could help me id love you forever thanks
    Posted in: Modification Development
  • 0

    posted a message on Help Add Smelting Error
    Quote from Calibrix

    Ah, I get it, but I don't know how to do that so sorry I can't help you :(
    ok thanks for the smelting tho :)
    Posted in: Mods Discussion
  • 0

    posted a message on Help Add Smelting Error
    Quote from Calibrix

    Explain a bit better? kinda confused sorry
    i want to make a block that when you right click it it will bring up a menu like the furnace and when you put your ore in it instead of giving you a ingot it will give you a shard and when the shards are made into tools they will be the same as tools made with ingots except they will die faster
    Posted in: Mods Discussion
  • 0

    posted a message on Help Add Smelting Error
    Quote from Calibrix

    If I helped, +1? :3


    public void generateSurface(World world, Random random, int i, int j){
    
    for(int rarity = 0; rarity < 10; rarity++){// the higher the number the less rare it is so 6 it will generate 6 times within that chunk
    
    int X = i + random.nextInt(16);//chunk width
    int Y = random.nextInt(64);//max height of your block
    int Z = j + random.nextInt(16);//chunk length
    //(new WorldGenMineable("block to generate.id", vein size) the .generate just tells it to generate
    (new WorldGenMinable(NewBlock.blockID, 8)).generate(world, random, X, Y, Z);

    thanks for the help but i figured it out lolz i have an idea tho ok so the idea is that theres this block that when you right click it a furnace type of menu comes up but instead of giving you a ingot it gives you 2 shards and when the shards are put into tools they are exactly the same as the ingot ones except they die faster if you could help me with it i would love you for ever
    Posted in: Mods Discussion
  • 0

    posted a message on [1.4.7][Forge](19/2/13) Ducky's Modding Tutorials! Make Your Blocks NICE!
    Can you make tut on how to make a trampoline if its possible lol :)
    Posted in: Tutorials
  • 0

    posted a message on Help Add Smelting Error
    Quote from Calibrix

    ModLoader.addSmelting(NewBlock.blockID, new ItemStack(mod_MoreMod.NewIngot), 0.5F);

    do you know how to make my block generate in the worlds
    Posted in: Mods Discussion
  • 0

    posted a message on Help Add Smelting Error
    Quote from Calibrix

    ModLoader.addSmelting(NewBlock.blockID, new ItemStack(mod_MoreMod.NewIngot), 0.5F);

    OMG i derped thank you soooooo much for all ur help :)
    Posted in: Mods Discussion
  • 0

    posted a message on Help Add Smelting Error
    Quote from Calibrix

    Well, what do you want it to smelt?
    My Saphire Ingot
    Posted in: Mods Discussion
  • To post a comment, please .