public class BlockModelRenderer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
BlockModelRenderer.AmbientOcclusionFace |
static class |
BlockModelRenderer.EnumNeighborInfo |
static class |
BlockModelRenderer.Orientation |
(package private) static class |
BlockModelRenderer.VertexTranslations |
Modifier and Type | Field and Description |
---|---|
private BlockColors |
blockColors |
Constructor and Description |
---|
BlockModelRenderer(BlockColors blockColorsIn) |
Modifier and Type | Method and Description |
---|---|
private void |
fillQuadBounds(IBlockState stateIn,
int[] vertexData,
EnumFacing face,
float[] quadBounds,
java.util.BitSet boundsFlags) |
boolean |
renderModel(IBlockAccess blockAccessIn,
IBakedModel modelIn,
IBlockState blockStateIn,
BlockPos blockPosIn,
BufferBuilder buffer,
boolean checkSides) |
boolean |
renderModel(IBlockAccess worldIn,
IBakedModel modelIn,
IBlockState stateIn,
BlockPos posIn,
BufferBuilder buffer,
boolean checkSides,
long rand) |
void |
renderModelBrightness(IBakedModel model,
IBlockState state,
float brightness,
boolean p_178266_4_) |
void |
renderModelBrightnessColor(IBakedModel bakedModel,
float p_178262_2_,
float red,
float green,
float blue) |
void |
renderModelBrightnessColor(IBlockState state,
IBakedModel p_187495_2_,
float p_187495_3_,
float p_187495_4_,
float p_187495_5_,
float p_187495_6_) |
private void |
renderModelBrightnessColorQuads(float brightness,
float red,
float green,
float blue,
java.util.List<BakedQuad> listQuads) |
boolean |
renderModelFlat(IBlockAccess worldIn,
IBakedModel modelIn,
IBlockState stateIn,
BlockPos posIn,
BufferBuilder buffer,
boolean checkSides,
long rand) |
boolean |
renderModelSmooth(IBlockAccess worldIn,
IBakedModel modelIn,
IBlockState stateIn,
BlockPos posIn,
BufferBuilder buffer,
boolean checkSides,
long rand) |
private void |
renderQuadsFlat(IBlockAccess blockAccessIn,
IBlockState stateIn,
BlockPos posIn,
int brightnessIn,
boolean ownBrightness,
BufferBuilder buffer,
java.util.List<BakedQuad> list,
java.util.BitSet bitSet) |
private void |
renderQuadsSmooth(IBlockAccess blockAccessIn,
IBlockState stateIn,
BlockPos posIn,
BufferBuilder buffer,
java.util.List<BakedQuad> list,
float[] quadBounds,
java.util.BitSet bitSet,
BlockModelRenderer.AmbientOcclusionFace aoFace) |
private final BlockColors blockColors
public BlockModelRenderer(BlockColors blockColorsIn)
public boolean renderModel(IBlockAccess blockAccessIn, IBakedModel modelIn, IBlockState blockStateIn, BlockPos blockPosIn, BufferBuilder buffer, boolean checkSides)
public boolean renderModel(IBlockAccess worldIn, IBakedModel modelIn, IBlockState stateIn, BlockPos posIn, BufferBuilder buffer, boolean checkSides, long rand)
public boolean renderModelSmooth(IBlockAccess worldIn, IBakedModel modelIn, IBlockState stateIn, BlockPos posIn, BufferBuilder buffer, boolean checkSides, long rand)
public boolean renderModelFlat(IBlockAccess worldIn, IBakedModel modelIn, IBlockState stateIn, BlockPos posIn, BufferBuilder buffer, boolean checkSides, long rand)
private void renderQuadsSmooth(IBlockAccess blockAccessIn, IBlockState stateIn, BlockPos posIn, BufferBuilder buffer, java.util.List<BakedQuad> list, float[] quadBounds, java.util.BitSet bitSet, BlockModelRenderer.AmbientOcclusionFace aoFace)
private void fillQuadBounds(IBlockState stateIn, int[] vertexData, EnumFacing face, @Nullable float[] quadBounds, java.util.BitSet boundsFlags)
private void renderQuadsFlat(IBlockAccess blockAccessIn, IBlockState stateIn, BlockPos posIn, int brightnessIn, boolean ownBrightness, BufferBuilder buffer, java.util.List<BakedQuad> list, java.util.BitSet bitSet)
public void renderModelBrightnessColor(IBakedModel bakedModel, float p_178262_2_, float red, float green, float blue)
public void renderModelBrightnessColor(IBlockState state, IBakedModel p_187495_2_, float p_187495_3_, float p_187495_4_, float p_187495_5_, float p_187495_6_)
public void renderModelBrightness(IBakedModel model, IBlockState state, float brightness, boolean p_178266_4_)
private void renderModelBrightnessColorQuads(float brightness, float red, float green, float blue, java.util.List<BakedQuad> listQuads)