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 IVertexConsumerpublic void setQuadTint(int tint)
setQuadTint in interface IVertexConsumerpublic void setQuadOrientation(EnumFacing orientation)
setQuadOrientation in interface IVertexConsumerpublic void setQuadColored()
setQuadColored in interface IVertexConsumerpublic void put(int element,
float... data)
put in interface IVertexConsumerpublic UnpackedBakedQuad build()