Missed GasTankInfo interface in commit

This commit is contained in:
Xander committed 2017-11-11 12:09:13 +08:00
1 parent 8bbef9544c
commit 12a87b798a
1 file changed
+28
@@ -0,0 +1,28 @@
package mekanism.api.gas;
import javax.annotation.Nullable;
/**
* Created by Thiakil on 11/11/2017.
*/
public interface GasTankInfo
{
/**
* Retrieve the stored gas stack. DO NOT MODIFY.
* @return the stored gas, or null
*/
@Nullable
GasStack getGas();
/**
* Gets the amount of gas stored by this GasTank.
* @return amount of gas stored
*/
int getStored();
/**
* Gets the maximum amount of gas this tank can hold.
* @return - max gas
*/
int getMaxGas();
}