Enum VertexFormat.DrawMode

java.lang.Object
java.lang.Enum<VertexFormat.DrawMode>
net.minecraft.client.render.VertexFormat.DrawMode
All Implemented Interfaces:
Serializable, Comparable<VertexFormat.DrawMode>, java.lang.constant.Constable
Enclosing class:
VertexFormat

@Environment(CLIENT)
public static enum VertexFormat.DrawMode
extends Enum<VertexFormat.DrawMode>
  • Enum Constant Details

  • Field Details

    • mode

      public final int mode
    • field_27384

      public final int field_27384
    • field_27385

      public final int field_27385
  • Constructor Details

    • DrawMode

      private DrawMode​(int mode, int int2, int int3)
  • Method Details

    • values

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

      public static VertexFormat.DrawMode valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • method_31973

      public int method_31973​(int vertexCount)