Enum Class VertexFormat.IntType

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

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

    • BYTE

      public static final VertexFormat.IntType BYTE
      Mappings:
      Namespace Name Mixin selector
      official a Ldso$a;a:Ldso$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$IntType;BYTE:Lnet/minecraft/client/render/VertexFormat$IntType;
    • SHORT

      public static final VertexFormat.IntType SHORT
      Mappings:
      Namespace Name Mixin selector
      official b Ldso$a;b:Ldso$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$IntType;SHORT:Lnet/minecraft/client/render/VertexFormat$IntType;
    • INT

      public static final VertexFormat.IntType INT
      Mappings:
      Namespace Name Mixin selector
      official c Ldso$a;c:Ldso$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$IntType;INT:Lnet/minecraft/client/render/VertexFormat$IntType;
  • Field Details

    • count

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

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

    • IntType

      private IntType(int count, int size)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldso$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$IntType;<init>(Ljava/lang/String;III)V
  • Method Details

    • values

      public static VertexFormat.IntType[] 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.IntType 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
    • getSmallestTypeFor

      public static VertexFormat.IntType getSmallestTypeFor(int number)
      Gets the smallest type in which the given number fits.
      Parameters:
      number - a number from 8 to 32 bits of memory
      Returns:
      the smallest type
      Mappings:
      Namespace Name Mixin selector
      official a Ldso$a;a(I)Ldso$a;
      intermediary method_31972 Lnet/minecraft/class_293$class_5595;method_31972(I)Lnet/minecraft/class_293$class_5595;
      named getSmallestTypeFor Lnet/minecraft/client/render/VertexFormat$IntType;getSmallestTypeFor(I)Lnet/minecraft/client/render/VertexFormat$IntType;