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
named net/minecraft/client/render/VertexFormatElement$ComponentType
intermediary net/minecraft/class_296$class_297
official faf$a
  • Enum Constant Details

    • FLOAT

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

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

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

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

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

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

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

    • byteLength

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

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

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

    • ComponentType

      private ComponentType(int byteLength, String name, int glType)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/VertexFormatElement$ComponentType;<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
      official <init> Lfaf$a;<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
      named getByteLength Lnet/minecraft/client/render/VertexFormatElement$ComponentType;getByteLength()I
      intermediary method_1391 Lnet/minecraft/class_296$class_297;method_1391()I
      official a Lfaf$a;a()I
    • getName

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

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