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.