mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Missed GasTankInfo interface in commit
This commit is contained in:
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();
|
||||
}
|
||||
Reference in new issue
Block a user