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 |
setApplyDiffuseLighting(boolean diffuse) |
void |
setContractUVs(boolean value) |
void |
setQuadOrientation(EnumFacing orientation) |
void |
setQuadTint(int tint) |
void |
setTexture(TextureAtlasSprite texture) |
public Builder(VertexFormat format)
public VertexFormat getVertexFormat()
getVertexFormat
in interface IVertexConsumer
public void setContractUVs(boolean value)
public void setQuadTint(int tint)
setQuadTint
in interface IVertexConsumer
public void setQuadOrientation(EnumFacing orientation)
setQuadOrientation
in interface IVertexConsumer
public void setTexture(TextureAtlasSprite texture)
public void setApplyDiffuseLighting(boolean diffuse)
setApplyDiffuseLighting
in interface IVertexConsumer
public void put(int element, float... data)
put
in interface IVertexConsumer
public UnpackedBakedQuad build()