Enum VertexFormatElement.Format

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

@Environment(CLIENT)
public static enum VertexFormatElement.Format
extends Enum<VertexFormatElement.Format>
Mappings:
Namespace Name
official bmv$a
intermediary net/minecraft/class_1242$class_1243
named net/minecraft/client/render/VertexFormatElement$Format
  • Enum Constant Details

    • FLOAT

      public static final VertexFormatElement.Format FLOAT
      Mappings:
      Namespace Name Mixin selector
      official a Lbmv$a;a:Lbmv$a;
      intermediary field_5200 Lnet/minecraft/class_1242$class_1243;field_5200:Lnet/minecraft/class_1242$class_1243;
      named FLOAT Lnet/minecraft/client/render/VertexFormatElement$Format;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$Format;
    • UNSIGNED_BYTE

      public static final VertexFormatElement.Format UNSIGNED_BYTE
      Mappings:
      Namespace Name Mixin selector
      official b Lbmv$a;b:Lbmv$a;
      intermediary field_5201 Lnet/minecraft/class_1242$class_1243;field_5201:Lnet/minecraft/class_1242$class_1243;
      named UNSIGNED_BYTE Lnet/minecraft/client/render/VertexFormatElement$Format;UNSIGNED_BYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
    • BYTE

      public static final VertexFormatElement.Format BYTE
      Mappings:
      Namespace Name Mixin selector
      official c Lbmv$a;c:Lbmv$a;
      intermediary field_5202 Lnet/minecraft/class_1242$class_1243;field_5202:Lnet/minecraft/class_1242$class_1243;
      named BYTE Lnet/minecraft/client/render/VertexFormatElement$Format;BYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
    • UNSIGNED_SHORT

      public static final VertexFormatElement.Format UNSIGNED_SHORT
      Mappings:
      Namespace Name Mixin selector
      official d Lbmv$a;d:Lbmv$a;
      intermediary field_5203 Lnet/minecraft/class_1242$class_1243;field_5203:Lnet/minecraft/class_1242$class_1243;
      named UNSIGNED_SHORT Lnet/minecraft/client/render/VertexFormatElement$Format;UNSIGNED_SHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
    • SHORT

      public static final VertexFormatElement.Format SHORT
      Mappings:
      Namespace Name Mixin selector
      official e Lbmv$a;e:Lbmv$a;
      intermediary field_5204 Lnet/minecraft/class_1242$class_1243;field_5204:Lnet/minecraft/class_1242$class_1243;
      named SHORT Lnet/minecraft/client/render/VertexFormatElement$Format;SHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
    • UNSIGNED_INT

      public static final VertexFormatElement.Format UNSIGNED_INT
      Mappings:
      Namespace Name Mixin selector
      official f Lbmv$a;f:Lbmv$a;
      intermediary field_5205 Lnet/minecraft/class_1242$class_1243;field_5205:Lnet/minecraft/class_1242$class_1243;
      named UNSIGNED_INT Lnet/minecraft/client/render/VertexFormatElement$Format;UNSIGNED_INT:Lnet/minecraft/client/render/VertexFormatElement$Format;
    • INT

      public static final VertexFormatElement.Format INT
      Mappings:
      Namespace Name Mixin selector
      official g Lbmv$a;g:Lbmv$a;
      intermediary field_5206 Lnet/minecraft/class_1242$class_1243;field_5206:Lnet/minecraft/class_1242$class_1243;
      named INT Lnet/minecraft/client/render/VertexFormatElement$Format;INT:Lnet/minecraft/client/render/VertexFormatElement$Format;
  • Field Details

    • glId

      private final int glId
      Mappings:
      Namespace Name Mixin selector
      official h Lbmv$a;h:I
      intermediary field_5207 Lnet/minecraft/class_1242$class_1243;field_5207:I
      named glId Lnet/minecraft/client/render/VertexFormatElement$Format;glId:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official i Lbmv$a;i:Ljava/lang/String;
      intermediary field_5208 Lnet/minecraft/class_1242$class_1243;field_5208:Ljava/lang/String;
      named name Lnet/minecraft/client/render/VertexFormatElement$Format;name:Ljava/lang/String;
    • size

      private final int size
      Mappings:
      Namespace Name Mixin selector
      official j Lbmv$a;j:I
      intermediary field_5209 Lnet/minecraft/class_1242$class_1243;field_5209:I
      named size Lnet/minecraft/client/render/VertexFormatElement$Format;size:I
  • Constructor Details

    • Format

      private Format​(int glId, String name, int size)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbmv$a;<init>(Ljava/lang/String;IILjava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_1242$class_1243;<init>(Ljava/lang/String;IILjava/lang/String;I)V
      named <init> Lnet/minecraft/client/render/VertexFormatElement$Format;<init>(Ljava/lang/String;IILjava/lang/String;I)V
  • Method Details

    • values

      public static VertexFormatElement.Format[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static VertexFormatElement.Format valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getGlId

      public int getGlId()
      Mappings:
      Namespace Name Mixin selector
      official a Lbmv$a;a()I
      intermediary method_4334 Lnet/minecraft/class_1242$class_1243;method_4334()I
      named getGlId Lnet/minecraft/client/render/VertexFormatElement$Format;getGlId()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lbmv$a;b()Ljava/lang/String;
      intermediary method_4335 Lnet/minecraft/class_1242$class_1243;method_4335()Ljava/lang/String;
      named getName Lnet/minecraft/client/render/VertexFormatElement$Format;getName()Ljava/lang/String;
    • getSize

      public int getSize()
      Mappings:
      Namespace Name Mixin selector
      official c Lbmv$a;c()I
      intermediary method_4336 Lnet/minecraft/class_1242$class_1243;method_4336()I
      named getSize Lnet/minecraft/client/render/VertexFormatElement$Format;getSize()I