Enum Class VertexFormat.IndexType

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

@Environment(CLIENT) public static enum VertexFormat.IndexType extends Enum<VertexFormat.IndexType>
Mappings:
Namespace Name
official eei$a
intermediary net/minecraft/class_293$class_5595
named net/minecraft/client/render/VertexFormat$IndexType
  • Enum Constant Details

    • BYTE

      public static final VertexFormat.IndexType BYTE
      Mappings:
      Namespace Name Mixin selector
      official a Leei$a;a:Leei$a;
      intermediary field_27371 Lnet/minecraft/class_293$class_5595;field_27371:Lnet/minecraft/class_293$class_5595;
      named BYTE Lnet/minecraft/client/render/VertexFormat$IndexType;BYTE:Lnet/minecraft/client/render/VertexFormat$IndexType;
    • SHORT

      public static final VertexFormat.IndexType SHORT
      Mappings:
      Namespace Name Mixin selector
      official b Leei$a;b:Leei$a;
      intermediary field_27372 Lnet/minecraft/class_293$class_5595;field_27372:Lnet/minecraft/class_293$class_5595;
      named SHORT Lnet/minecraft/client/render/VertexFormat$IndexType;SHORT:Lnet/minecraft/client/render/VertexFormat$IndexType;
    • INT

      public static final VertexFormat.IndexType INT
      Mappings:
      Namespace Name Mixin selector
      official c Leei$a;c:Leei$a;
      intermediary field_27373 Lnet/minecraft/class_293$class_5595;field_27373:Lnet/minecraft/class_293$class_5595;
      named INT Lnet/minecraft/client/render/VertexFormat$IndexType;INT:Lnet/minecraft/client/render/VertexFormat$IndexType;
  • Field Details

    • glType

      public final int glType
      Mappings:
      Namespace Name Mixin selector
      official d Leei$a;d:I
      intermediary field_27374 Lnet/minecraft/class_293$class_5595;field_27374:I
      named glType Lnet/minecraft/client/render/VertexFormat$IndexType;glType:I
    • size

      public final int size
      Mappings:
      Namespace Name Mixin selector
      official e Leei$a;e:I
      intermediary field_27375 Lnet/minecraft/class_293$class_5595;field_27375:I
      named size Lnet/minecraft/client/render/VertexFormat$IndexType;size:I
  • Constructor Details

    • IndexType

      private IndexType(int glType, int size)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leei$a;<init>(Ljava/lang/String;III)V
      intermediary <init> Lnet/minecraft/class_293$class_5595;<init>(Ljava/lang/String;III)V
      named <init> Lnet/minecraft/client/render/VertexFormat$IndexType;<init>(Ljava/lang/String;III)V
  • Method Details

    • values

      public static VertexFormat.IndexType[] 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 VertexFormat.IndexType 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
    • smallestFor

      public static VertexFormat.IndexType smallestFor(int indexCount)
      Returns the smallest type in which indexCount fits.
      Returns:
      the smallest type in which indexCount fits
      Mappings:
      Namespace Name Mixin selector
      official a Leei$a;a(I)Leei$a;
      intermediary method_31972 Lnet/minecraft/class_293$class_5595;method_31972(I)Lnet/minecraft/class_293$class_5595;
      named smallestFor Lnet/minecraft/client/render/VertexFormat$IndexType;smallestFor(I)Lnet/minecraft/client/render/VertexFormat$IndexType;