public class RenderBlockFluid extends java.lang.Object implements ISimpleBlockRenderingHandler
| Modifier and Type | Field and Description |
|---|---|
static RenderBlockFluid |
instance |
| Constructor and Description |
|---|
RenderBlockFluid() |
| Modifier and Type | Method and Description |
|---|---|
float |
getFluidHeightAverage(float[] flow) |
float |
getFluidHeightForRender(IBlockAccess world,
int x,
int y,
int z,
BlockFluidBase block) |
int |
getRenderId() |
void |
renderInventoryBlock(Block block,
int metadata,
int modelID,
RenderBlocks renderer) |
boolean |
renderWorldBlock(IBlockAccess world,
int x,
int y,
int z,
Block block,
int modelId,
RenderBlocks renderer) |
boolean |
shouldRender3DInInventory(int modelId) |
public static RenderBlockFluid instance
public float getFluidHeightAverage(float[] flow)
public float getFluidHeightForRender(IBlockAccess world, int x, int y, int z, BlockFluidBase block)
public void renderInventoryBlock(Block block, int metadata, int modelID, RenderBlocks renderer)
renderInventoryBlock in interface ISimpleBlockRenderingHandlerpublic boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer)
renderWorldBlock in interface ISimpleBlockRenderingHandlerpublic boolean shouldRender3DInInventory(int modelId)
shouldRender3DInInventory in interface ISimpleBlockRenderingHandlerpublic int getRenderId()
getRenderId in interface ISimpleBlockRenderingHandler