a1ed4a5a4d
Though it was the release valve but it turns out the Storage tanks needed coding to drain themselves after giving the release valve the liquid ammount present. Other than that the rest of the changes are just renaming from past push
24 lines
659 B
Java
24 lines
659 B
Java
package liquidmechanics.api;
|
|
|
|
import liquidmechanics.api.helpers.Liquid;
|
|
import net.minecraftforge.common.ForgeDirection;
|
|
import net.minecraftforge.liquids.ITankContainer;
|
|
|
|
public interface ITankOutputer extends ITankContainer
|
|
{
|
|
/**
|
|
* @param type - Liquid type
|
|
* @param dir - direction pressure is being request to output
|
|
* @return pressure if can output for the type or direction
|
|
*/
|
|
public int presureOutput(Liquid type, ForgeDirection dir);
|
|
|
|
/**
|
|
* Quick way to check if the TE will output pressure
|
|
*
|
|
* @param type - Liquid type
|
|
* @param dir - direction
|
|
* @return
|
|
*/
|
|
public boolean canPressureToo(Liquid type, ForgeDirection dir);
|
|
}
|