YATS/Forge Documentation
|
Public Member Functions | |
LiquidStack | getLiquid () |
int | getCapacity () |
int | fill (LiquidStack resource, boolean doFill) |
LiquidStack | drain (int maxDrain, boolean doDrain) |
int | getTankPressure () |
A tank is the unit of interaction with liquid inventories.
LiquidStack net.minecraftforge.liquids.ILiquidTank.drain | ( | int | maxDrain, |
boolean | doDrain | ||
) |
maxDrain | |
doDrain |
Implemented in net.minecraftforge.liquids.LiquidTank.
int net.minecraftforge.liquids.ILiquidTank.fill | ( | LiquidStack | resource, |
boolean | doFill | ||
) |
resource | |
doFill |
Implemented in net.minecraftforge.liquids.LiquidTank.
int net.minecraftforge.liquids.ILiquidTank.getCapacity | ( | ) |
Implemented in net.minecraftforge.liquids.LiquidTank.
LiquidStack net.minecraftforge.liquids.ILiquidTank.getLiquid | ( | ) |
Implemented in net.minecraftforge.liquids.LiquidTank.
int net.minecraftforge.liquids.ILiquidTank.getTankPressure | ( | ) |
Positive values indicate a positive liquid pressure (liquid wants to leave this tank) Negative values indicate a negative liquid pressure (liquid wants to fill this tank) Zero indicates no pressure
Implemented in net.minecraftforge.liquids.LiquidTank.