2013-01-02 13:55:29 -05:00
|
|
|
package liquidmechanics.api;
|
|
|
|
|
2013-01-06 23:15:21 -05:00
|
|
|
import liquidmechanics.api.helpers.LiquidData;
|
2013-01-02 13:55:29 -05:00
|
|
|
import net.minecraftforge.common.ForgeDirection;
|
|
|
|
import net.minecraftforge.liquids.ITankContainer;
|
|
|
|
|
2013-01-04 19:03:20 -05:00
|
|
|
public interface IPressure
|
2013-01-02 13:55:29 -05:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @param type - Liquid type
|
|
|
|
* @param dir - direction pressure is being request to output
|
|
|
|
* @return pressure if can output for the type or direction
|
|
|
|
*/
|
2013-01-03 12:18:47 -05:00
|
|
|
public int presureOutput(LiquidData type, ForgeDirection dir);
|
2013-01-02 13:55:29 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Quick way to check if the TE will output pressure
|
|
|
|
*
|
|
|
|
* @param type - Liquid type
|
|
|
|
* @param dir - direction
|
|
|
|
* @return
|
|
|
|
*/
|
2013-01-03 12:18:47 -05:00
|
|
|
public boolean canPressureToo(LiquidData type, ForgeDirection dir);
|
2013-01-02 13:55:29 -05:00
|
|
|
}
|