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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull com.mojang.blaze3d.vertex.VertexConsumer
    addVertex(float x, float y, float z)
     
    void
    fixedColor(int red, int green, int blue, int alpha)
     
    @NonNull com.mojang.blaze3d.vertex.VertexConsumer
    setColor(int argb)
     
    @NonNull com.mojang.blaze3d.vertex.VertexConsumer
    setColor(int red, int green, int blue, int alpha)
     
    @NonNull com.mojang.blaze3d.vertex.VertexConsumer
    setLineWidth(float width)
     
    @NonNull com.mojang.blaze3d.vertex.VertexConsumer
    setNormal(float x, float y, float z)
     
    void
    setOffset(int offsetX, int offsetY, int offsetZ)
     
    @NonNull com.mojang.blaze3d.vertex.VertexConsumer
    setUv(float u, float v)
    Set texture coordinates
    @NonNull com.mojang.blaze3d.vertex.VertexConsumer
    setUv1(int u, int v)
    Set overlay coordinates
    @NonNull com.mojang.blaze3d.vertex.VertexConsumer
    setUv2(int u, int v)
    Set lightmap coordinates

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer

    addVertex, addVertex, addVertex, addVertex, addVertex, addVertexWith2DPose, putBakedQuad, putBlockBakedQuad, setColor, setLight, setNormal, setNormal, setOverlay
  • Constructor Details

    • MeshBuilderVertexConsumer

      public MeshBuilderVertexConsumer(MeshBuilder mesh)
  • 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:
      addVertex in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setColor

      public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setColor(int red, int green, int blue, int alpha)
      Specified by:
      setColor in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setColor

      public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setColor(int argb)
      Specified by:
      setColor in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setUv

      public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setUv(float u, float v)
      Set texture coordinates
      Specified by:
      setUv in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setUv1

      public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setUv1(int u, int v)
      Set overlay coordinates
      Specified by:
      setUv1 in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setUv2

      public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setUv2(int u, int v)
      Set lightmap coordinates
      Specified by:
      setUv2 in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setNormal

      public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setNormal(float x, float y, float z)
      Specified by:
      setNormal in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setLineWidth

      public @NonNull com.mojang.blaze3d.vertex.VertexConsumer setLineWidth(float width)
      Specified by:
      setLineWidth in interface com.mojang.blaze3d.vertex.VertexConsumer
    • fixedColor

      public void fixedColor(int red, int green, int blue, int alpha)