public class VertexLighterFlat extends QuadGatheringTransformer
Modifier and Type | Field and Description |
---|---|
protected BlockInfo |
blockInfo |
protected int |
colorIndex |
protected int |
lightmapIndex |
protected int |
normalIndex |
protected int |
posIndex |
dataLength, format, parent, quadData, vertices
Constructor and Description |
---|
VertexLighterFlat() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyAnaglyph(float[] color) |
protected void |
processQuad() |
void |
setBlock(Block block) |
void |
setBlockPos(BlockPos blockPos) |
void |
setParent(IVertexConsumer parent) |
void |
setQuadColored() |
void |
setQuadCulled() |
void |
setQuadOrientation(EnumFacing orientation) |
void |
setQuadTint(int tint) |
void |
setWorld(IBlockAccess world) |
void |
updateBlockInfo() |
protected void |
updateColor(float[] normal,
float[] color,
float x,
float y,
float z,
float tint,
int multiplier) |
protected void |
updateLightmap(float[] normal,
float[] lightmap,
float x,
float y,
float z) |
getVertexFormat, put, setVertexFormat
protected final BlockInfo blockInfo
protected int posIndex
protected int normalIndex
protected int colorIndex
protected int lightmapIndex
public void setParent(IVertexConsumer parent)
setParent
in class QuadGatheringTransformer
protected void processQuad()
processQuad
in class QuadGatheringTransformer
protected void applyAnaglyph(float[] color)
protected void updateLightmap(float[] normal, float[] lightmap, float x, float y, float z)
protected void updateColor(float[] normal, float[] color, float x, float y, float z, float tint, int multiplier)
public void setQuadTint(int tint)
public void setQuadOrientation(EnumFacing orientation)
public void setQuadCulled()
public void setQuadColored()
public void setWorld(IBlockAccess world)
public void setBlock(Block block)
public void setBlockPos(BlockPos blockPos)
public void updateBlockInfo()