Block Attributes

textureFileXN

This attribute defines the texture file that the block will use for its x-negative 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/myBlockXN.png from the mod's directory
textureFileXN[0] = "myBlockXN.png";
// ...
// Uses assets/minecraft/textures/blocks/wood.png from the minecraft.jar
textureFileXN[15] = "/wood.png";

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