public class VertexBufferConsumer extends java.lang.Object implements IVertexConsumer
Constructor and Description |
---|
VertexBufferConsumer() |
VertexBufferConsumer(BufferBuilder buffer) |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
getVertexFormat() |
void |
put(int e,
float... data) |
void |
setApplyDiffuseLighting(boolean diffuse) |
void |
setBuffer(BufferBuilder buffer) |
void |
setOffset(BlockPos offset) |
void |
setQuadOrientation(Direction orientation) |
void |
setQuadTint(int tint) |
void |
setTexture(TextureAtlasSprite texture) |
public VertexBufferConsumer()
public VertexBufferConsumer(BufferBuilder buffer)
public VertexFormat getVertexFormat()
getVertexFormat
in interface IVertexConsumer
public void put(int e, float... data)
put
in interface IVertexConsumer
public void setBuffer(BufferBuilder buffer)
public void setOffset(BlockPos offset)
public void setQuadTint(int tint)
setQuadTint
in interface IVertexConsumer
public void setQuadOrientation(Direction orientation)
setQuadOrientation
in interface IVertexConsumer
public void setApplyDiffuseLighting(boolean diffuse)
setApplyDiffuseLighting
in interface IVertexConsumer
public void setTexture(TextureAtlasSprite texture)
setTexture
in interface IVertexConsumer