blob: 0ac29b2e45f7d5d754138bfb51f1052f6904c967 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package gregtech.api.interfaces.metatileentity;
import net.minecraftforge.common.util.ForgeDirection;
import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
public interface IMetaTileEntityPipe extends IMetaTileEntity {
/**
* Icon of the Texture. If this returns null then it falls back to getTextureIndex.
*
* @param side is the Side of the Block
* @param facingBitMask is the Bitmask of all Connections
* @param colorIndex The Minecraft Color the Block is having
* @param active if the Machine is currently active (use this instead of calling
* mBaseMetaTileEntity.mActive!!!). Note: In case of Pipes this means if this Side is connected
* to something or not.
* @param redstoneLevel if the Machine is currently outputting a RedstoneSignal (use this instead of calling
* mBaseMetaTileEntity.mRedstone!!!)
*/
ITexture[] getTexture(IGregTechTileEntity baseMetaTileEntity, ForgeDirection side, int facingBitMask,
int colorIndex, boolean active, boolean redstoneLevel);
}
|