Mekanism-tilera-Edition/src/minecraft/mekanism/api/IGasAcceptor.java
Aidan Brady ca3018b5b7 v5.0.1 Release
*Fixed incorrect repo location.
*Formatting.
*Fixed minor bugs in Metallurgic Infuser.
*Fixed unobtainable machines.
2012-12-23 14:46:11 -05:00

25 lines
627 B
Java

package mekanism.api;
import net.minecraftforge.common.ForgeDirection;
/**
* Implement this if your tile entity accepts gas from a foreign, external source.
* @author AidanBrady
*
*/
public interface IGasAcceptor
{
/**
* Transfer a certain amount of gas to this acceptor.
* @param amount - amount to transfer
* @return rejects
*/
public int transferGasToAcceptor(int amount, EnumGas type);
/**
* Whether or not this tile entity accepts gas from a certain side.
* @param side - side to check
* @return if tile entity accepts gas
*/
public boolean canReceiveGas(ForgeDirection side, EnumGas type);
}