Enum Class EmptyVertexConsumer

java.lang.Object
java.lang.Enum<EmptyVertexConsumer>
dev.latvian.mods.klib.vertex.EmptyVertexConsumer
All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer, KLibVertexConsumer, VertexCallback, Serializable, Comparable<EmptyVertexConsumer>, Constable, net.neoforged.neoforge.client.extensions.IVertexConsumerExtension

public enum EmptyVertexConsumer extends Enum<EmptyVertexConsumer> implements com.mojang.blaze3d.vertex.VertexConsumer
  • Enum Constant Details

  • Method Details

    • values

      public static EmptyVertexConsumer[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EmptyVertexConsumer valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • addVertex

      public com.mojang.blaze3d.vertex.VertexConsumer addVertex(float x, float y, float z)
      Specified by:
      addVertex in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setColor

      public 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 com.mojang.blaze3d.vertex.VertexConsumer setColor(int color)
      Specified by:
      setColor in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setUv

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

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

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

      public com.mojang.blaze3d.vertex.VertexConsumer setNormal(float normalX, float normalY, float normalZ)
      Specified by:
      setNormal in interface com.mojang.blaze3d.vertex.VertexConsumer
    • setLineWidth

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

      public void addVertex(float x, float y, float z, int color, float u, float v, int packedOverlay, int packedLight, float normalX, float normalY, float normalZ)
      Specified by:
      addVertex in interface com.mojang.blaze3d.vertex.VertexConsumer
    • putBulkData

      public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.resources.model.geometry.BakedQuad quad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay)
    • putBulkData

      public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.resources.model.geometry.BakedQuad bakedQuad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay, boolean readExistingColor)
    • putBulkData

      public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.resources.model.geometry.BakedQuad quad, float[] brightness, float red, float green, float blue, float alpha, int[] lightmap, int packedOverlay, boolean readExistingColor)