#1156 Updated CoFH API

This commit is contained in:
CrazyPants committed 2014-10-27 13:05:41 +08:00
1 parent 73f9ab553f
commit e1a6ad9942
30 files changed
+998 -19

No files matched your search

@@ -0,0 +1,25 @@
package cofh.api.tileentity;
import net.minecraft.util.IIcon;
/**
* Implement this interface on Tile Entities which can change their block's texture based on the current render pass. The block must defer the call to its Tile
* Entity.
*
* @author Zeldo Kavira
*
*/
public interface ISidedTexture {
/**
* Returns the icon to use for a given side and render pass.
*
* @param side
* Block side to get the texture for.
* @param pass
* Render pass.
* @return The icon to use.
*/
IIcon getTexture(int side, int pass);
}