Block Attributes

textureIndexYP

This attribute defines the index of the texture in the block's texture file that the block will use for its y-positive (top) side.

Examples

// Default value
textureIndexYP[0] = 0;
// ...
textureIndexYP[15] = 0;

textureIndexYP[15] = 255;