|
YATS/Forge Documentation
|
Classes | |
| class | LiquidRegisterEvent |
Static Public Member Functions | |
| static LiquidStack | getOrCreateLiquid (String name, LiquidStack liquid) |
| static LiquidStack | getLiquid (String name, int amount) |
| static LiquidStack | getCanonicalLiquid (String name) |
| static Map< String, LiquidStack > | getLiquids () |
| static String | findLiquidName (LiquidStack reference) |
| static LiquidStack | getCanonicalLiquid (LiquidStack liquidStack) |
When creating liquids you should register them with this class.
|
static |
|
static |
|
static |
|
static |
Returns the liquid matching the name, if such a liquid exists.
Can return null.
| name | the name of the liquid |
| amount | the amout of liquid |
|
static |
Get an immutable list of the liquids defined
|
static |
When creating liquids you should call this function.
Upon passing it a name and liquid item it will return either a preexisting implementation of that liquid or the liquid passed in.
| name | the name of the liquid |
| liquid | the liquid to use if one doesn't exist |