I need IBlockAcces and coordinates to make my mod work better with other mods that use their own texture file. I'd like it to be equivalent to the method that gets the normal block texture (this one):
public int getBlockTexture(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
{
return this.getBlockTextureFromSideAndMetadata(par5, par1IBlockAccess.getBlockMetadata(par2, par3, par4));
}
I need to be able to acces the tileEntity before I can make it work correctly. My mod is open-source and you can see what I mean if you see how I get the normal textures in this file.