public class BlockRendererDispatcher extends java.lang.Object implements IResourceManagerReloadListener
Constructor and Description |
---|
BlockRendererDispatcher(BlockModelShapes p_i46577_1_,
BlockColors p_i46577_2_) |
Modifier and Type | Method and Description |
---|---|
BlockModelRenderer |
getBlockModelRenderer() |
BlockModelShapes |
getBlockModelShapes() |
IBakedModel |
getModelForState(IBlockState state) |
void |
onResourceManagerReload(IResourceManager resourceManager) |
boolean |
renderBlock(IBlockState state,
BlockPos pos,
IBlockAccess blockAccess,
VertexBuffer worldRendererIn) |
void |
renderBlockBrightness(IBlockState state,
float brightness) |
void |
renderBlockDamage(IBlockState state,
BlockPos pos,
TextureAtlasSprite texture,
IBlockAccess blockAccess) |
public BlockRendererDispatcher(BlockModelShapes p_i46577_1_, BlockColors p_i46577_2_)
public BlockModelShapes getBlockModelShapes()
public void renderBlockDamage(IBlockState state, BlockPos pos, TextureAtlasSprite texture, IBlockAccess blockAccess)
public boolean renderBlock(IBlockState state, BlockPos pos, IBlockAccess blockAccess, VertexBuffer worldRendererIn)
public BlockModelRenderer getBlockModelRenderer()
public IBakedModel getModelForState(IBlockState state)
public void renderBlockBrightness(IBlockState state, float brightness)
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener