public class BlockFluidRenderer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private TextureAtlasSprite[] |
atlasSpritesLava |
private TextureAtlasSprite[] |
atlasSpritesWater |
| Constructor and Description |
|---|
BlockFluidRenderer() |
| Modifier and Type | Method and Description |
|---|---|
private float |
getFluidHeight(IBlockAccess blockAccess,
BlockPos blockPosIn,
Material blockMaterial) |
protected void |
initAtlasSprites() |
boolean |
renderFluid(IBlockAccess blockAccess,
IBlockState blockStateIn,
BlockPos blockPosIn,
WorldRenderer worldRendererIn) |
private TextureAtlasSprite[] atlasSpritesLava
private TextureAtlasSprite[] atlasSpritesWater
protected void initAtlasSprites()
public boolean renderFluid(IBlockAccess blockAccess, IBlockState blockStateIn, BlockPos blockPosIn, WorldRenderer worldRendererIn)
private float getFluidHeight(IBlockAccess blockAccess, BlockPos blockPosIn, Material blockMaterial)