public class BufferBuilderWrapper
extends java.lang.Object
Constructor and Description |
---|
BufferBuilderWrapper(net.minecraft.client.renderer.BufferBuilder buffer) |
Modifier and Type | Method and Description |
---|---|
void |
begin(int mode,
net.minecraft.client.renderer.vertex.VertexFormat format,
com.mojang.blaze3d.matrix.MatrixStack matrix) |
void |
build(java.util.function.Consumer<net.minecraft.client.renderer.BufferBuilder> consumer) |
boolean |
building() |
net.minecraft.client.renderer.BufferBuilder |
get() |
void |
updateMatrixStack(com.mojang.blaze3d.matrix.MatrixStack matrix) |
void |
vertex(double x,
double y,
double z,
float u,
float v) |
void |
vertex(double x,
double y,
double z,
float a,
float u,
float v) |
void |
vertex(float x,
float y,
float z,
float u,
float v) |
void |
vertex(float x,
float y,
float z,
float a,
float u,
float v) |
void |
vertex(float x,
float y,
float z,
float r,
float g,
float b,
float a,
float u,
float v,
int light) |
public BufferBuilderWrapper(net.minecraft.client.renderer.BufferBuilder buffer)
public net.minecraft.client.renderer.BufferBuilder get()
public boolean building()
public void begin(int mode, net.minecraft.client.renderer.vertex.VertexFormat format, com.mojang.blaze3d.matrix.MatrixStack matrix)
public void updateMatrixStack(com.mojang.blaze3d.matrix.MatrixStack matrix)
public void build(java.util.function.Consumer<net.minecraft.client.renderer.BufferBuilder> consumer)
public void vertex(double x, double y, double z, float a, float u, float v)
public void vertex(double x, double y, double z, float u, float v)
public void vertex(float x, float y, float z, float a, float u, float v)
public void vertex(float x, float y, float z, float u, float v)
public void vertex(float x, float y, float z, float r, float g, float b, float a, float u, float v, int light)