YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraftforge.liquids.IBlockLiquid Interface Reference
Inheritance diagram for net.minecraftforge.liquids.IBlockLiquid:
net.minecraftforge.liquids.ILiquid

Classes

enum  BlockType
 

Public Member Functions

boolean willGenerateSources ()
 
int getFlowDistance ()
 
byte[] getLiquidRGB ()
 
String getLiquidBlockTextureFile ()
 
NBTTagCompound getLiquidProperties ()
 
- Public Member Functions inherited from net.minecraftforge.liquids.ILiquid
int stillLiquidId ()
 
boolean isMetaSensitive ()
 
int stillLiquidMeta ()
 

Detailed Description

Implementors of this interface are a liquid which may receive a block implementation and can be placed in the world.

Author
cpw

Member Function Documentation

int net.minecraftforge.liquids.IBlockLiquid.getFlowDistance ( )
Returns
the distance this liquid will flow if placed in the world. Maximum of 7 levels for vanilla types.
String net.minecraftforge.liquids.IBlockLiquid.getLiquidBlockTextureFile ( )

Get the texture file for rendering the liquid

Returns
the texture file for this liquid
NBTTagCompound net.minecraftforge.liquids.IBlockLiquid.getLiquidProperties ( )

Custom properties of the liquid.

Returns
a compound tag of custom liquid properties
byte [] net.minecraftforge.liquids.IBlockLiquid.getLiquidRGB ( )
Returns
the RGB rendering for this liquid
boolean net.minecraftforge.liquids.IBlockLiquid.willGenerateSources ( )

Can this liquid, when placed in a specific configuration, generate new source blocks of the liquid.

Returns
if this liquid will generate new sources

The documentation for this interface was generated from the following file: