Block Attributes

textureFileXP

This attribute defines the texture file that the block will use for its x-positive side. Texture files for this attribute go into the assets/{mod name}/textures/blocks directory of your mod.

Examples

// Uses assets/{mod name}/textures/blocks/myBlockXP.png from the mod's directory
textureFileXP[0] = "myBlockXP.png";
// ...
// Uses assets/minecraft/textures/blocks/wood.png from the minecraft.jar
textureFileXP[15] = "/wood.png";

// Uses assets/SomeMod/textures/blocks/someBlock.png
textureFileXP[0] = "/SomeMod:someBlock.png";