Class MeshBuilderVertexConsumerProvider.MeshBuilderVertexConsumer
java.lang.Object
meteordevelopment.meteorclient.utils.render.MeshBuilderVertexConsumerProvider.MeshBuilderVertexConsumer
- All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer
- Enclosing class:
MeshBuilderVertexConsumerProvider
public static class MeshBuilderVertexConsumerProvider.MeshBuilderVertexConsumer
extends Object
implements com.mojang.blaze3d.vertex.VertexConsumer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull com.mojang.blaze3d.vertex.VertexConsumeraddVertex(float x, float y, float z) voidfixedColor(int red, int green, int blue, int alpha) @NonNull com.mojang.blaze3d.vertex.VertexConsumersetColor(int argb) @NonNull com.mojang.blaze3d.vertex.VertexConsumersetColor(int red, int green, int blue, int alpha) @NonNull com.mojang.blaze3d.vertex.VertexConsumersetLineWidth(float width) @NonNull com.mojang.blaze3d.vertex.VertexConsumersetNormal(float x, float y, float z) voidsetOffset(int offsetX, int offsetY, int offsetZ) @NonNull com.mojang.blaze3d.vertex.VertexConsumersetUv(float u, float v) Set texture coordinates@NonNull com.mojang.blaze3d.vertex.VertexConsumersetUv1(int u, int v) Set overlay coordinates@NonNull com.mojang.blaze3d.vertex.VertexConsumersetUv2(int u, int v) Set lightmap coordinatesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
addVertex, addVertex, addVertex, addVertex, addVertex, addVertexWith2DPose, putBakedQuad, putBlockBakedQuad, setColor, setLight, setNormal, setNormal, setOverlay
-
Constructor Details
-
MeshBuilderVertexConsumer
-
-
Method Details
-
setOffset
public void setOffset(int offsetX, int offsetY, int offsetZ) -
addVertex
public @NonNull com.mojang.blaze3d.vertex.VertexConsumer addVertex(float x, float y, float z) - Specified by:
addVertexin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setColor
public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setColor(int red, int green, int blue, int alpha) - Specified by:
setColorin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setColor
public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setColor(int argb) - Specified by:
setColorin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv
public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setUv(float u, float v) Set texture coordinates- Specified by:
setUvin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv1
public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setUv1(int u, int v) Set overlay coordinates- Specified by:
setUv1in interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv2
public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setUv2(int u, int v) Set lightmap coordinates- Specified by:
setUv2in interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setNormal
public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setNormal(float x, float y, float z) - Specified by:
setNormalin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setLineWidth
public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setLineWidth(float width) - Specified by:
setLineWidthin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
fixedColor
public void fixedColor(int red, int green, int blue, int alpha)
-