• 0

    posted a message on [1.5] Icons and Block Textures
    Quote from erozen100

    I still don't understand so I make a folder in my minecraft.jar called that or what??

    The folder is in yourmoddingfolder/bin/minecraft/textures/item
    If you are using eclipse then yourmoddingfolder/eclipse/client/bin/textures/items

    ---------------------------------------------------------------------------------------------------------------------------------------------------

    Can someone help me fix why it says there is no block id when i use .setunlocalizedname
    Quote from CypherBlare

    package net.minecraft.src;
    import java.util.Random;
    public class mod_minecraft extends BaseMod
    {
    public static final Item yellowGem = new ItemYellowGem(3001).setUnlocalizedName("yellowgem");
    public void load()
    {
    ModLoader.addName(yellowGem, "Yellow Gem");
    }
    public String getVersion()
    {
    return "3.14159265";
    }
    }


    package net.minecraft.src;
    import java.util.Random;
    public class ItemYellowGem extends Item
    {
    public ItemYellowGem(int i)
    {
    super(i);
    maxStackSize = 10;
    }
    public String Version()
    {
    return "3.14159265";
    }
    }


    This is my code using .setUnlocalizedName. I could start minecraft on eclipse perfectly but i can't find my item. I even tried using the command to spawn it but it still doesnt work
    Posted in: Tutorials
  • 0

    posted a message on [1.5] Icons and Block Textures
    package net.minecraft.src;
    import java.util.Random;
    public class mod_minecraft extends BaseMod
    {
    public static final Item yellowGem = new ItemYellowGem(3001).setUnlocalizedName("yellowgem");
    public void load()
    {
    ModLoader.addName(yellowGem, "Yellow Gem");
    }
    public String getVersion()
    {
    return "3.14159265";
    }
    }


    package net.minecraft.src;
    import java.util.Random;
    public class ItemYellowGem extends Item
    {
    public ItemYellowGem(int i)
    {
    super(i);
    maxStackSize = 10;
    }
    public String Version()
    {
    return "3.14159265";
    }
    }


    This is my code using .setUnlocalizedName. I could start minecraft on eclipse perfectly but i can't find my item. I even tried using the command to spawn it but it still doesnt work
    Posted in: Tutorials
  • To post a comment, please or register a new account.