@Deprecated public class LiquidContainerRegistry extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BUCKET_VOLUME
Deprecated.
|
static ItemStack |
EMPTY_BUCKET
Deprecated.
|
Constructor and Description |
---|
LiquidContainerRegistry()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
containsLiquid(ItemStack filledContainer,
LiquidStack liquid)
Deprecated.
|
static ItemStack |
fillLiquidContainer(LiquidStack liquid,
ItemStack emptyContainer)
Deprecated.
|
static LiquidStack |
getLiquidForFilledItem(ItemStack filledContainer)
Deprecated.
|
static LiquidContainerData[] |
getRegisteredLiquidContainerData()
Deprecated.
|
static boolean |
isBucket(ItemStack container)
Deprecated.
|
static boolean |
isContainer(ItemStack container)
Deprecated.
|
static boolean |
isEmptyContainer(ItemStack emptyContainer)
Deprecated.
|
static boolean |
isFilledContainer(ItemStack filledContainer)
Deprecated.
|
static boolean |
isLiquid(ItemStack item)
Deprecated.
|
static void |
registerLiquid(LiquidContainerData data)
Deprecated.
To register a container with a non-bucket size, the LiquidContainerData entry simply needs to use a size other than LiquidManager.BUCKET_VOLUME
|
public static final int BUCKET_VOLUME
public static final ItemStack EMPTY_BUCKET
public static void registerLiquid(LiquidContainerData data)
public static LiquidStack getLiquidForFilledItem(ItemStack filledContainer)
public static ItemStack fillLiquidContainer(LiquidStack liquid, ItemStack emptyContainer)
public static boolean containsLiquid(ItemStack filledContainer, LiquidStack liquid)
public static boolean isBucket(ItemStack container)
public static boolean isContainer(ItemStack container)
public static boolean isEmptyContainer(ItemStack emptyContainer)
public static boolean isFilledContainer(ItemStack filledContainer)
public static boolean isLiquid(ItemStack item)
public static LiquidContainerData[] getRegisteredLiquidContainerData()