Package | Description |
---|---|
net.minecraftforge.liquids |
Modifier and Type | Field and Description |
---|---|
LiquidStack |
LiquidEvent.liquid
Deprecated.
|
LiquidStack |
LiquidDictionary.LiquidRegisterEvent.Liquid |
LiquidStack |
LiquidContainerData.stillLiquid
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LiquidStack |
LiquidStack.canonical()
Deprecated.
Get the canonical version of this liquid stack (will contain things like icons and texturesheets)
|
LiquidStack |
LiquidStack.copy()
Deprecated.
|
LiquidStack |
ITankContainer.drain(ForgeDirection from,
int maxDrain,
boolean doDrain)
Deprecated.
Drains liquid out of internal tanks, distribution is left to the ITankContainer.
|
LiquidStack |
LiquidTank.drain(int maxDrain,
boolean doDrain)
Deprecated.
|
LiquidStack |
ILiquidTank.drain(int maxDrain,
boolean doDrain)
Deprecated.
|
LiquidStack |
ITankContainer.drain(int tankIndex,
int maxDrain,
boolean doDrain)
Deprecated.
Drains liquid out of the specified internal tank.
|
static LiquidStack |
LiquidDictionary.getCanonicalLiquid(LiquidStack liquidStack)
Deprecated.
|
static LiquidStack |
LiquidDictionary.getCanonicalLiquid(String name)
Deprecated.
|
LiquidStack |
LiquidTank.getLiquid()
Deprecated.
|
LiquidStack |
ILiquidTank.getLiquid()
Deprecated.
|
static LiquidStack |
LiquidDictionary.getLiquid(String name,
int amount)
Deprecated.
Returns the liquid matching the name,
if such a liquid exists.
|
static LiquidStack |
LiquidContainerRegistry.getLiquidForFilledItem(ItemStack filledContainer)
Deprecated.
|
static LiquidStack |
LiquidDictionary.getOrCreateLiquid(String name,
LiquidStack liquid)
Deprecated.
When creating liquids you should call this function.
|
static LiquidStack |
LiquidStack.loadLiquidStackFromNBT(NBTTagCompound nbt)
Deprecated.
Reads a liquid stack from the passed nbttagcompound and returns it.
|
LiquidStack |
LiquidStack.setRenderingIcon(Icon icon)
Deprecated.
Set the icon for rendering this liquid
It should be refreshed whenever textures are refreshed.
|
LiquidStack |
LiquidStack.setTextureSheet(String textureSheet)
Deprecated.
Set the texture sheet for this icon (usually /terrain.png or /gui/items.png)
See also the
setRenderingIcon(Icon) for the icon itself |
Modifier and Type | Method and Description |
---|---|
static Map<String,LiquidStack> |
LiquidDictionary.getLiquids()
Deprecated.
Get an immutable list of the liquids defined
|
Modifier and Type | Method and Description |
---|---|
static boolean |
LiquidContainerRegistry.containsLiquid(ItemStack filledContainer,
LiquidStack liquid)
Deprecated.
|
boolean |
LiquidStack.containsLiquid(LiquidStack other)
Deprecated.
|
int |
ITankContainer.fill(ForgeDirection from,
LiquidStack resource,
boolean doFill)
Deprecated.
Fills liquid into internal tanks, distribution is left to the ITankContainer.
|
int |
ITankContainer.fill(int tankIndex,
LiquidStack resource,
boolean doFill)
Deprecated.
Fills liquid into the specified internal tank.
|
int |
LiquidTank.fill(LiquidStack resource,
boolean doFill)
Deprecated.
|
int |
ILiquidTank.fill(LiquidStack resource,
boolean doFill)
Deprecated.
|
static ItemStack |
LiquidContainerRegistry.fillLiquidContainer(LiquidStack liquid,
ItemStack emptyContainer)
Deprecated.
|
static String |
LiquidDictionary.findLiquidName(LiquidStack reference)
Deprecated.
|
static LiquidStack |
LiquidDictionary.getCanonicalLiquid(LiquidStack liquidStack)
Deprecated.
|
static LiquidStack |
LiquidDictionary.getOrCreateLiquid(String name,
LiquidStack liquid)
Deprecated.
When creating liquids you should call this function.
|
ILiquidTank |
ITankContainer.getTank(ForgeDirection direction,
LiquidStack type)
Deprecated.
Return the tank that this tank container desired to be used for the specified liquid type from the specified direction
|
boolean |
LiquidStack.isLiquidEqual(LiquidStack other)
Deprecated.
|
void |
LiquidTank.setLiquid(LiquidStack liquid)
Deprecated.
|
Constructor and Description |
---|
LiquidContainerData(LiquidStack stillLiquid,
ItemStack filled,
ItemStack container)
Deprecated.
|
LiquidDictionary.LiquidRegisterEvent(String name,
LiquidStack liquid) |
LiquidEvent.LiquidDrainingEvent(LiquidStack liquid,
World world,
int x,
int y,
int z,
ILiquidTank tank) |
LiquidEvent.LiquidFillingEvent(LiquidStack liquid,
World world,
int x,
int y,
int z,
ILiquidTank tank) |
LiquidEvent.LiquidMotionEvent(LiquidStack liquid,
World world,
int x,
int y,
int z) |
LiquidEvent.LiquidSpilledEvent(LiquidStack liquid,
World world,
int x,
int y,
int z) |
LiquidEvent(LiquidStack liquid,
World world,
int x,
int y,
int z)
Deprecated.
|
LiquidTank(LiquidStack liquid,
int capacity)
Deprecated.
|
LiquidTank(LiquidStack liquid,
int capacity,
TileEntity tile)
Deprecated.
|