public class BlockRendererDispatcher extends java.lang.Object implements IResourceManagerReloadListener
IFutureReloadListener.IStage
Modifier and Type | Field and Description |
---|---|
private BlockColors |
blockColors |
private BlockModelRenderer |
blockModelRenderer |
private BlockModelShapes |
blockModelShapes |
private FluidBlockRenderer |
fluidRenderer |
private java.util.Random |
random |
Constructor and Description |
---|
BlockRendererDispatcher(BlockModelShapes shapes,
BlockColors colors) |
Modifier and Type | Method and Description |
---|---|
BlockModelRenderer |
getBlockModelRenderer() |
BlockModelShapes |
getBlockModelShapes() |
IBakedModel |
getModelForState(BlockState state) |
IResourceType |
getResourceType() |
void |
onResourceManagerReload(IResourceManager resourceManager) |
void |
renderBlock(BlockState blockStateIn,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferTypeIn,
int combinedLightIn,
int combinedOverlayIn)
Deprecated.
|
void |
renderBlock(BlockState blockStateIn,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferTypeIn,
int combinedLightIn,
int combinedOverlayIn,
IModelData modelData) |
void |
renderBlockDamage(BlockState blockStateIn,
BlockPos posIn,
ILightReader lightReaderIn,
MatrixStack matrixStackIn,
IVertexBuilder vertexBuilderIn)
Deprecated.
|
boolean |
renderFluid(BlockPos posIn,
ILightReader lightReaderIn,
IVertexBuilder vertexBuilderIn,
IFluidState fluidStateIn) |
boolean |
renderModel(BlockState blockStateIn,
BlockPos posIn,
ILightReader lightReaderIn,
MatrixStack matrixStackIn,
IVertexBuilder vertexBuilderIn,
boolean checkSides,
java.util.Random rand)
Deprecated.
|
boolean |
renderModel(BlockState blockStateIn,
BlockPos posIn,
ILightReader lightReaderIn,
MatrixStack matrixStackIn,
IVertexBuilder vertexBuilderIn,
boolean checkSides,
java.util.Random rand,
IModelData modelData) |
void |
renderModel(BlockState blockStateIn,
BlockPos posIn,
ILightReader lightReaderIn,
MatrixStack matrixStackIn,
IVertexBuilder vertexBuilderIn,
IModelData modelData) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reload
func_225594_i_
private final BlockModelShapes blockModelShapes
private final BlockModelRenderer blockModelRenderer
private final FluidBlockRenderer fluidRenderer
private final java.util.Random random
private final BlockColors blockColors
public BlockRendererDispatcher(BlockModelShapes shapes, BlockColors colors)
public BlockModelShapes getBlockModelShapes()
@Deprecated public void renderBlockDamage(BlockState blockStateIn, BlockPos posIn, ILightReader lightReaderIn, MatrixStack matrixStackIn, IVertexBuilder vertexBuilderIn)
public void renderModel(BlockState blockStateIn, BlockPos posIn, ILightReader lightReaderIn, MatrixStack matrixStackIn, IVertexBuilder vertexBuilderIn, IModelData modelData)
@Deprecated public boolean renderModel(BlockState blockStateIn, BlockPos posIn, ILightReader lightReaderIn, MatrixStack matrixStackIn, IVertexBuilder vertexBuilderIn, boolean checkSides, java.util.Random rand)
public boolean renderModel(BlockState blockStateIn, BlockPos posIn, ILightReader lightReaderIn, MatrixStack matrixStackIn, IVertexBuilder vertexBuilderIn, boolean checkSides, java.util.Random rand, IModelData modelData)
public boolean renderFluid(BlockPos posIn, ILightReader lightReaderIn, IVertexBuilder vertexBuilderIn, IFluidState fluidStateIn)
public BlockModelRenderer getBlockModelRenderer()
public IBakedModel getModelForState(BlockState state)
@Deprecated public void renderBlock(BlockState blockStateIn, MatrixStack matrixStackIn, IRenderTypeBuffer bufferTypeIn, int combinedLightIn, int combinedOverlayIn)
public void renderBlock(BlockState blockStateIn, MatrixStack matrixStackIn, IRenderTypeBuffer bufferTypeIn, int combinedLightIn, int combinedOverlayIn, IModelData modelData)
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener
public IResourceType getResourceType()
getResourceType
in interface IResourceManagerReloadListener