Enum VertexFormatElement.Type

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

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

    • POSITION

      public static final VertexFormatElement.Type POSITION
      Mappings:
      Namespace Name Mixin selector
      official a Lbmv$b;a:Lbmv$b;
      intermediary field_5211 Lnet/minecraft/class_1242$class_1244;field_5211:Lnet/minecraft/class_1242$class_1244;
      named POSITION Lnet/minecraft/client/render/VertexFormatElement$Type;POSITION:Lnet/minecraft/client/render/VertexFormatElement$Type;
    • NORMAL

      public static final VertexFormatElement.Type NORMAL
      Mappings:
      Namespace Name Mixin selector
      official b Lbmv$b;b:Lbmv$b;
      intermediary field_5212 Lnet/minecraft/class_1242$class_1244;field_5212:Lnet/minecraft/class_1242$class_1244;
      named NORMAL Lnet/minecraft/client/render/VertexFormatElement$Type;NORMAL:Lnet/minecraft/client/render/VertexFormatElement$Type;
    • COLOR

      public static final VertexFormatElement.Type COLOR
      Mappings:
      Namespace Name Mixin selector
      official c Lbmv$b;c:Lbmv$b;
      intermediary field_5213 Lnet/minecraft/class_1242$class_1244;field_5213:Lnet/minecraft/class_1242$class_1244;
      named COLOR Lnet/minecraft/client/render/VertexFormatElement$Type;COLOR:Lnet/minecraft/client/render/VertexFormatElement$Type;
    • UV

      public static final VertexFormatElement.Type UV
      Mappings:
      Namespace Name Mixin selector
      official d Lbmv$b;d:Lbmv$b;
      intermediary field_5214 Lnet/minecraft/class_1242$class_1244;field_5214:Lnet/minecraft/class_1242$class_1244;
      named UV Lnet/minecraft/client/render/VertexFormatElement$Type;UV:Lnet/minecraft/client/render/VertexFormatElement$Type;
    • MATRIX

      public static final VertexFormatElement.Type MATRIX
      Mappings:
      Namespace Name Mixin selector
      official e Lbmv$b;e:Lbmv$b;
      intermediary field_5215 Lnet/minecraft/class_1242$class_1244;field_5215:Lnet/minecraft/class_1242$class_1244;
      named MATRIX Lnet/minecraft/client/render/VertexFormatElement$Type;MATRIX:Lnet/minecraft/client/render/VertexFormatElement$Type;
    • BLEND_WEIGHT

      public static final VertexFormatElement.Type BLEND_WEIGHT
      Mappings:
      Namespace Name Mixin selector
      official f Lbmv$b;f:Lbmv$b;
      intermediary field_5216 Lnet/minecraft/class_1242$class_1244;field_5216:Lnet/minecraft/class_1242$class_1244;
      named BLEND_WEIGHT Lnet/minecraft/client/render/VertexFormatElement$Type;BLEND_WEIGHT:Lnet/minecraft/client/render/VertexFormatElement$Type;
    • PADDING

      public static final VertexFormatElement.Type PADDING
      Mappings:
      Namespace Name Mixin selector
      official g Lbmv$b;g:Lbmv$b;
      intermediary field_5217 Lnet/minecraft/class_1242$class_1244;field_5217:Lnet/minecraft/class_1242$class_1244;
      named PADDING Lnet/minecraft/client/render/VertexFormatElement$Type;PADDING:Lnet/minecraft/client/render/VertexFormatElement$Type;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official h Lbmv$b;h:Ljava/lang/String;
      intermediary field_5218 Lnet/minecraft/class_1242$class_1244;field_5218:Ljava/lang/String;
      named name Lnet/minecraft/client/render/VertexFormatElement$Type;name:Ljava/lang/String;
  • Constructor Details

    • Type

      private Type​(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbmv$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1242$class_1244;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/client/render/VertexFormatElement$Type;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static VertexFormatElement.Type[] 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.Type 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
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lbmv$b;a()Ljava/lang/String;
      intermediary method_4337 Lnet/minecraft/class_1242$class_1244;method_4337()Ljava/lang/String;
      named getName Lnet/minecraft/client/render/VertexFormatElement$Type;getName()Ljava/lang/String;