public class BlockRendererDispatcher extends java.lang.Object implements IResourceManagerReloadListener
Modifier and Type | Field and Description |
---|---|
private BlockModelRenderer |
blockModelRenderer |
private BlockModelShapes |
blockModelShapes |
private ChestRenderer |
chestRenderer |
private BlockFluidRenderer |
fluidRenderer |
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,
BufferBuilder bufferBuilderIn) |
void |
renderBlockBrightness(IBlockState state,
float brightness) |
void |
renderBlockDamage(IBlockState state,
BlockPos pos,
TextureAtlasSprite texture,
IBlockAccess blockAccess) |
private final BlockModelShapes blockModelShapes
private final BlockModelRenderer blockModelRenderer
private final ChestRenderer chestRenderer
private final BlockFluidRenderer fluidRenderer
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, BufferBuilder bufferBuilderIn)
public BlockModelRenderer getBlockModelRenderer()
public IBakedModel getModelForState(IBlockState state)
public void renderBlockBrightness(IBlockState state, float brightness)
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener