mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 15:33:06 +00:00
#1156 Updated CoFH API
This commit is contained in:
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);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user