public interface ILiquidStack extends IIngredient
Modifier and Type | Method and Description |
---|---|
int |
getAmount()
Gets the amount.
|
ILiquidDefinition |
getDefinition() |
int |
getDensity() |
java.lang.String |
getDisplayName() |
java.lang.Object |
getInternal()
Gets the internal item backing this ingredient.
|
int |
getLuminosity() |
java.lang.String |
getName() |
IData |
getTag() |
int |
getTemperature() |
int |
getViscosity() |
boolean |
isGaseous() |
ILiquidStack |
withAmount(int amount) |
ILiquidStack |
withTag(IData data) |
amount, applyNewTransform, applyTransform, contains, getItemArray, getItems, getLiquids, getMark, hasNewTransformers, hasTransformers, marked, matches, matches, matchesExact, only, or, toCommandString, transform, transformNew
ILiquidDefinition getDefinition()
java.lang.String getName()
java.lang.String getDisplayName()
int getAmount()
IIngredient
Should return -1 if no amount is available and 1 for a single item. Stacks return the stack size.
getAmount
in interface IIngredient
int getLuminosity()
int getDensity()
int getTemperature()
int getViscosity()
boolean isGaseous()
IData getTag()
ILiquidStack withTag(IData data)
ILiquidStack withAmount(int amount)
java.lang.Object getInternal()
IIngredient
The value is implementation-dependent and should only be handled by the internal code. Don't use this value - instead, use the version-specific helper methods.
getInternal
in interface IIngredient