Enum Class VertexFormatElement.ComponentType

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

@Environment(CLIENT) public static enum VertexFormatElement.ComponentType extends Enum<VertexFormatElement.ComponentType>
Represents a type of components in an element.
Mappings:
Namespace Name
official eej$a
intermediary net/minecraft/class_296$class_297
named net/minecraft/client/render/VertexFormatElement$ComponentType
  • Enum Constant Details

    • FLOAT

      public static final VertexFormatElement.ComponentType FLOAT
      Mappings:
      Namespace Name Mixin selector
      official a Leej$a;a:Leej$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$ComponentType;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
    • UBYTE

      public static final VertexFormatElement.ComponentType UBYTE
      Mappings:
      Namespace Name Mixin selector
      official b Leej$a;b:Leej$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$ComponentType;UBYTE:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
    • BYTE

      public static final VertexFormatElement.ComponentType BYTE
      Mappings:
      Namespace Name Mixin selector
      official c Leej$a;c:Leej$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$ComponentType;BYTE:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
    • USHORT

      public static final VertexFormatElement.ComponentType USHORT
      Mappings:
      Namespace Name Mixin selector
      official d Leej$a;d:Leej$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$ComponentType;USHORT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
    • SHORT

      public static final VertexFormatElement.ComponentType SHORT
      Mappings:
      Namespace Name Mixin selector
      official e Leej$a;e:Leej$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$ComponentType;SHORT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
    • UINT

      public static final VertexFormatElement.ComponentType UINT
      Mappings:
      Namespace Name Mixin selector
      official f Leej$a;f:Leej$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$ComponentType;UINT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
    • INT

      public static final VertexFormatElement.ComponentType INT
      Mappings:
      Namespace Name Mixin selector
      official g Leej$a;g:Leej$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$ComponentType;INT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
  • Field Details

    • byteLength

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

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official i Leej$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$ComponentType;name:Ljava/lang/String;
    • glType

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

    • ComponentType

      private ComponentType(int byteLength, String name, int glType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leej$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$ComponentType;<init>(Ljava/lang/String;IILjava/lang/String;I)V
  • Method Details

    • values

      public static VertexFormatElement.ComponentType[] 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.ComponentType 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 Leej$a;a()I
      intermediary method_1391 Lnet/minecraft/class_296$class_297;method_1391()I
      named getByteLength Lnet/minecraft/client/render/VertexFormatElement$ComponentType;getByteLength()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Leej$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$ComponentType;getName()Ljava/lang/String;
    • getGlType

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