Enum Class VertexFormatElement.DataType

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

@Environment(CLIENT) public static enum VertexFormatElement.DataType extends Enum<VertexFormatElement.DataType>
Mappings:
Namespace Name
official dsp$a
intermediary net/minecraft/class_296$class_297
named net/minecraft/client/render/VertexFormatElement$DataType
  • Enum Constant Details

    • FLOAT

      public static final VertexFormatElement.DataType FLOAT
      Mappings:
      Namespace Name Mixin selector
      official a Ldsp$a;a:Ldsp$a;
      intermediary field_1623 Lnet/minecraft/class_296$class_297;field_1623:Lnet/minecraft/class_296$class_297;
      named FLOAT Lnet/minecraft/client/render/VertexFormatElement$DataType;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$DataType;
    • UBYTE

      public static final VertexFormatElement.DataType UBYTE
      Mappings:
      Namespace Name Mixin selector
      official b Ldsp$a;b:Ldsp$a;
      intermediary field_1624 Lnet/minecraft/class_296$class_297;field_1624:Lnet/minecraft/class_296$class_297;
      named UBYTE Lnet/minecraft/client/render/VertexFormatElement$DataType;UBYTE:Lnet/minecraft/client/render/VertexFormatElement$DataType;
    • BYTE

      public static final VertexFormatElement.DataType BYTE
      Mappings:
      Namespace Name Mixin selector
      official c Ldsp$a;c:Ldsp$a;
      intermediary field_1621 Lnet/minecraft/class_296$class_297;field_1621:Lnet/minecraft/class_296$class_297;
      named BYTE Lnet/minecraft/client/render/VertexFormatElement$DataType;BYTE:Lnet/minecraft/client/render/VertexFormatElement$DataType;
    • USHORT

      public static final VertexFormatElement.DataType USHORT
      Mappings:
      Namespace Name Mixin selector
      official d Ldsp$a;d:Ldsp$a;
      intermediary field_1622 Lnet/minecraft/class_296$class_297;field_1622:Lnet/minecraft/class_296$class_297;
      named USHORT Lnet/minecraft/client/render/VertexFormatElement$DataType;USHORT:Lnet/minecraft/client/render/VertexFormatElement$DataType;
    • SHORT

      public static final VertexFormatElement.DataType SHORT
      Mappings:
      Namespace Name Mixin selector
      official e Ldsp$a;e:Ldsp$a;
      intermediary field_1625 Lnet/minecraft/class_296$class_297;field_1625:Lnet/minecraft/class_296$class_297;
      named SHORT Lnet/minecraft/client/render/VertexFormatElement$DataType;SHORT:Lnet/minecraft/client/render/VertexFormatElement$DataType;
    • UINT

      public static final VertexFormatElement.DataType UINT
      Mappings:
      Namespace Name Mixin selector
      official f Ldsp$a;f:Ldsp$a;
      intermediary field_1619 Lnet/minecraft/class_296$class_297;field_1619:Lnet/minecraft/class_296$class_297;
      named UINT Lnet/minecraft/client/render/VertexFormatElement$DataType;UINT:Lnet/minecraft/client/render/VertexFormatElement$DataType;
    • INT

      public static final VertexFormatElement.DataType INT
      Mappings:
      Namespace Name Mixin selector
      official g Ldsp$a;g:Ldsp$a;
      intermediary field_1617 Lnet/minecraft/class_296$class_297;field_1617:Lnet/minecraft/class_296$class_297;
      named INT Lnet/minecraft/client/render/VertexFormatElement$DataType;INT:Lnet/minecraft/client/render/VertexFormatElement$DataType;
  • Field Details

    • byteLength

      private final int byteLength
      Mappings:
      Namespace Name Mixin selector
      official h Ldsp$a;h:I
      intermediary field_1618 Lnet/minecraft/class_296$class_297;field_1618:I
      named byteLength Lnet/minecraft/client/render/VertexFormatElement$DataType;byteLength:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official i Ldsp$a;i:Ljava/lang/String;
      intermediary field_1626 Lnet/minecraft/class_296$class_297;field_1626:Ljava/lang/String;
      named name Lnet/minecraft/client/render/VertexFormatElement$DataType;name:Ljava/lang/String;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official j Ldsp$a;j:I
      intermediary field_1627 Lnet/minecraft/class_296$class_297;field_1627:I
      named id Lnet/minecraft/client/render/VertexFormatElement$DataType;id:I
  • Constructor Details

    • DataType

      private DataType(int byteCount, String name, int id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldsp$a;<init>(Ljava/lang/String;IILjava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_296$class_297;<init>(Ljava/lang/String;IILjava/lang/String;I)V
      named <init> Lnet/minecraft/client/render/VertexFormatElement$DataType;<init>(Ljava/lang/String;IILjava/lang/String;I)V
  • Method Details

    • values

      public static VertexFormatElement.DataType[] 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 VertexFormatElement.DataType 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
    • getByteLength

      public int getByteLength()
      Mappings:
      Namespace Name Mixin selector
      official a Ldsp$a;a()I
      intermediary method_1391 Lnet/minecraft/class_296$class_297;method_1391()I
      named getByteLength Lnet/minecraft/client/render/VertexFormatElement$DataType;getByteLength()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Ldsp$a;b()Ljava/lang/String;
      intermediary method_1389 Lnet/minecraft/class_296$class_297;method_1389()Ljava/lang/String;
      named getName Lnet/minecraft/client/render/VertexFormatElement$DataType;getName()Ljava/lang/String;
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official c Ldsp$a;c()I
      intermediary method_1390 Lnet/minecraft/class_296$class_297;method_1390()I
      named getId Lnet/minecraft/client/render/VertexFormatElement$DataType;getId()I