public static class UnpackedBakedQuad.Builder extends java.lang.Object implements IVertexConsumer
Constructor and Description |
---|
Builder(VertexFormat format) |
Modifier and Type | Method and Description |
---|---|
UnpackedBakedQuad |
build() |
VertexFormat |
getVertexFormat() |
void |
put(int element,
float... data) |
void |
setQuadColored() |
void |
setQuadOrientation(EnumFacing orientation) |
void |
setQuadTint(int tint) |
public Builder(VertexFormat format)
public VertexFormat getVertexFormat()
getVertexFormat
in interface IVertexConsumer
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
public void put(int element, float... data)
put
in interface IVertexConsumer
public UnpackedBakedQuad build()