Twinklez's Avatar
Member
Level 76
Legendary Modder
324

Forum Posts

1 - 5 of 5

    Twinklez
    07/12/2013 10:44 pm
    Level 76 : Legendary Modder
    Twinklez's Avatar
    It's most likely ram, upgrade your computer, or video card.
    1
    Twinklez
    04/08/2013 5:52 pm
    Level 76 : Legendary Modder
    Twinklez's Avatar
    Make some extra bucks with adfoc.us or adf.ly?

    Or do what LTDragonz11 did.
    1
    Twinklez
    03/24/2013 7:36 pm
    Level 76 : Legendary Modder
    Twinklez's Avatar
    GreenDynomite, you are suppose to. LOL.

    You SHOULD get an error will the RenderBlocks class if you have did it correctly.
    1
    Twinklez
    03/23/2013 1:58 pm
    Level 76 : Legendary Modder
    Twinklez's Avatar
    You need to use .setUnlocalizedName("freakingname");

    It replaces .setItemName and .setBlockName.

    Also, the unlocalized name is also the texture.

    If you put freakingname in it.

    Then the texture will be inside minecraft.jar at

    textures/items/freakingname.png

    or if it is a block

    textures/blocks/freakingname.png
    1
    Twinklez
    03/20/2013 9:30 pm
    Level 76 : Legendary Modder
    Twinklez's Avatar
    In your Blocks class, add this.
    At the top of the mod, like just after you do public class blahblahblah add.

    private Icon sides, bottom, top;

    Then add this.


    public void func_94332_a(IconRegister par1IconRegister)
    {
    this.sides = par1IconRegister.func_94245_a("sidespng");
    this.bottom = par1IconRegister.func_94245_a("bottompng");
    this.top = par1IconRegister.func_94245_a("toppng");
    }
    //For example, I used sidespng. That would be located in /textures/blocks/sidespng.png. You don't need to add any extra things, just the png name without .png.

    public Icon getBlockTextureFromSideAndMetadata(int i, int j)
    {
    if (i == 0)
    {
    return bottom;
    }
    if (i == 1)
    {
    return top;
    }
    else
    {
    return sides;
    }
    }//Don't edit this.
    1

1 - 5 of 5

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome