public interface IVertexConsumer extends IVertexBuilder
LOGGER
Modifier and Type | Method and Description |
---|---|
default IVertexBuilder |
color(int red,
int green,
int blue,
int alpha) |
VertexFormatElement |
getCurrentElement() |
default IVertexBuilder |
lightmap(int u,
int v) |
void |
nextVertexFormatIndex() |
default IVertexBuilder |
normal(float x,
float y,
float z) |
static byte |
normalInt(float p_227846_0_) |
default IVertexBuilder |
overlay(int u,
int v) |
default IVertexBuilder |
pos(double x,
double y,
double z) |
void |
putByte(int indexIn,
byte byteIn) |
void |
putFloat(int indexIn,
float floatIn) |
void |
putShort(int indexIn,
short shortIn) |
default IVertexBuilder |
tex(float u,
float v) |
default IVertexBuilder |
texShort(short p_227847_1_,
short p_227847_2_,
int p_227847_3_) |
addQuad, addQuad, addVertex, color, endVertex, lightmap, normal, overlay, pos
addVertexData, addVertexData, addVertexData, addVertexData, applyBakedLighting, applyBakedNormals, getVertexBuilder
VertexFormatElement getCurrentElement()
void nextVertexFormatIndex()
void putByte(int indexIn, byte byteIn)
void putShort(int indexIn, short shortIn)
void putFloat(int indexIn, float floatIn)
default IVertexBuilder pos(double x, double y, double z)
pos
in interface IVertexBuilder
default IVertexBuilder color(int red, int green, int blue, int alpha)
color
in interface IVertexBuilder
default IVertexBuilder tex(float u, float v)
tex
in interface IVertexBuilder
default IVertexBuilder overlay(int u, int v)
overlay
in interface IVertexBuilder
default IVertexBuilder lightmap(int u, int v)
lightmap
in interface IVertexBuilder
default IVertexBuilder texShort(short p_227847_1_, short p_227847_2_, int p_227847_3_)
default IVertexBuilder normal(float x, float y, float z)
normal
in interface IVertexBuilder
static byte normalInt(float p_227846_0_)