public class WorldRendererConsumer extends java.lang.Object implements IVertexConsumer
Constructor and Description |
---|
WorldRendererConsumer(WorldRenderer renderer) |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
getVertexFormat() |
void |
put(int e,
float... data) |
void |
setOffset(BlockPos offset) |
void |
setQuadColored() |
void |
setQuadOrientation(EnumFacing orientation) |
void |
setQuadTint(int tint) |
public WorldRendererConsumer(WorldRenderer renderer)
public VertexFormat getVertexFormat()
getVertexFormat
in interface IVertexConsumer
public void put(int e, float... data)
put
in interface IVertexConsumer
public void setOffset(BlockPos offset)
public void setQuadTint(int tint)
setQuadTint
in interface IVertexConsumer
public void setQuadOrientation(EnumFacing orientation)
setQuadOrientation
in interface IVertexConsumer
public void setQuadColored()
setQuadColored
in interface IVertexConsumer