net.minecraftforge.liquids
Interface IBlockLiquid

All Superinterfaces:
ILiquid

public interface IBlockLiquid
extends ILiquid

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

Author:
cpw

Nested Class Summary
static class IBlockLiquid.BlockType
          Controls the type of block that is generated by this IBlockLiquid
 
Method Summary
 int getFlowDistance()
           
 String getLiquidBlockTextureFile()
          Get the texture file for rendering the liquid
 NBTTagCompound getLiquidProperties()
          Custom properties of the liquid.
 byte[] getLiquidRGB()
           
 boolean willGenerateSources()
          Can this liquid, when placed in a specific configuration, generate new source blocks of the liquid.
 
Methods inherited from interface net.minecraftforge.liquids.ILiquid
isMetaSensitive, stillLiquidId, stillLiquidMeta
 

Method Detail

willGenerateSources

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

Returns:

getFlowDistance

int getFlowDistance()
Returns:
the distance this liquid will flow if placed in the world. Maximum of 7 levels for vanilla types.

getLiquidRGB

byte[] getLiquidRGB()
Returns:
the RGB rendering for this liquid

getLiquidBlockTextureFile

String getLiquidBlockTextureFile()
Get the texture file for rendering the liquid

Returns:

getLiquidProperties

NBTTagCompound getLiquidProperties()
Custom properties of the liquid.

Returns: