Minecraft Coding Pack: Stair block texture
- by JamerTheProgrammer
I have MCP setup and working nicely. I would like to make another stair block. I have copied the wooden stair block file and then pasted it and renamed it BlahStairBlock. I'm trying to set a texture for the stair block but it wont work.
public int getBlockTextureFromSide(int side)
{
if(i==side)
{
// Workshop top
return 43;
}
return blockIndexInTexture;
}
This is what I'm using to set the texture.... It just isn't working. Any ideas of why?