public class ForgeBlockModelRenderer extends BlockModelRenderer
BlockModelRenderer.EnumNeighborInfo, BlockModelRenderer.Orientation
Modifier and Type | Field and Description |
---|---|
private java.lang.ThreadLocal<VertexBufferConsumer> |
consumerFlat |
private java.lang.ThreadLocal<VertexBufferConsumer> |
consumerSmooth |
private java.lang.ThreadLocal<VertexLighterFlat> |
lighterFlat |
private java.lang.ThreadLocal<VertexLighterSmoothAo> |
lighterSmooth |
Constructor and Description |
---|
ForgeBlockModelRenderer(BlockColors colors) |
Modifier and Type | Method and Description |
---|---|
static boolean |
render(VertexLighterFlat lighter,
IBlockAccess world,
IBakedModel model,
IBlockState state,
BlockPos pos,
BufferBuilder wr,
boolean checkSides,
long rand) |
boolean |
renderModelFlat(IBlockAccess world,
IBakedModel model,
IBlockState state,
BlockPos pos,
BufferBuilder buffer,
boolean checkSides,
long rand) |
boolean |
renderModelSmooth(IBlockAccess world,
IBakedModel model,
IBlockState state,
BlockPos pos,
BufferBuilder buffer,
boolean checkSides,
long rand) |
renderModel, renderModel, renderModelBrightness, renderModelBrightnessColor, renderModelBrightnessColor
private final java.lang.ThreadLocal<VertexLighterFlat> lighterFlat
private final java.lang.ThreadLocal<VertexLighterSmoothAo> lighterSmooth
private final java.lang.ThreadLocal<VertexBufferConsumer> consumerFlat
private final java.lang.ThreadLocal<VertexBufferConsumer> consumerSmooth
public ForgeBlockModelRenderer(BlockColors colors)
public boolean renderModelFlat(IBlockAccess world, IBakedModel model, IBlockState state, BlockPos pos, BufferBuilder buffer, boolean checkSides, long rand)
renderModelFlat
in class BlockModelRenderer
public boolean renderModelSmooth(IBlockAccess world, IBakedModel model, IBlockState state, BlockPos pos, BufferBuilder buffer, boolean checkSides, long rand)
renderModelSmooth
in class BlockModelRenderer
public static boolean render(VertexLighterFlat lighter, IBlockAccess world, IBakedModel model, IBlockState state, BlockPos pos, BufferBuilder wr, boolean checkSides, long rand)