package mekanism.api; import net.minecraft.tileentity.TileEntity; public interface IPressurizedTube extends ITransmitter { /** * Whether or not this tube can transfer gas. * @return if the tube can transfer gas */ public boolean canTransferGas(); /** * Whether or not this tube can transfer gas into an adjacent tube. * @param tile - the adjacent tube * @return if this tube can transfer gas into the passed tube */ public boolean canTransferGasToTube(TileEntity tile); /** * Called when a gas is transferred through this tube. * @param type - the type of gas transferred */ public void onTransfer(EnumGas type); }