Enum Class VertexFormatElement.Type

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

@Environment(CLIENT) public static enum VertexFormatElement.Type extends Enum<VertexFormatElement.Type>
Describes how the components should be interpreted.
Mappings:
Namespace Name
named net/minecraft/client/render/VertexFormatElement$Type
intermediary net/minecraft/class_296$class_298
official fau$b
  • Enum Constant Details

    • POSITION

      public static final VertexFormatElement.Type POSITION
      Mappings:
      Namespace Name Mixin selector
      named POSITION Lnet/minecraft/client/render/VertexFormatElement$Type;POSITION:Lnet/minecraft/client/render/VertexFormatElement$Type;
      intermediary field_1633 Lnet/minecraft/class_296$class_298;field_1633:Lnet/minecraft/class_296$class_298;
      official a Lfau$b;a:Lfau$b;
    • NORMAL

      public static final VertexFormatElement.Type NORMAL
      Mappings:
      Namespace Name Mixin selector
      named NORMAL Lnet/minecraft/client/render/VertexFormatElement$Type;NORMAL:Lnet/minecraft/client/render/VertexFormatElement$Type;
      intermediary field_1635 Lnet/minecraft/class_296$class_298;field_1635:Lnet/minecraft/class_296$class_298;
      official b Lfau$b;b:Lfau$b;
    • COLOR

      public static final VertexFormatElement.Type COLOR
      Mappings:
      Namespace Name Mixin selector
      named COLOR Lnet/minecraft/client/render/VertexFormatElement$Type;COLOR:Lnet/minecraft/client/render/VertexFormatElement$Type;
      intermediary field_1632 Lnet/minecraft/class_296$class_298;field_1632:Lnet/minecraft/class_296$class_298;
      official c Lfau$b;c:Lfau$b;
    • UV

      public static final VertexFormatElement.Type UV
      Mappings:
      Namespace Name Mixin selector
      named UV Lnet/minecraft/client/render/VertexFormatElement$Type;UV:Lnet/minecraft/client/render/VertexFormatElement$Type;
      intermediary field_1636 Lnet/minecraft/class_296$class_298;field_1636:Lnet/minecraft/class_296$class_298;
      official d Lfau$b;d:Lfau$b;
    • PADDING

      public static final VertexFormatElement.Type PADDING
      Mappings:
      Namespace Name Mixin selector
      named PADDING Lnet/minecraft/client/render/VertexFormatElement$Type;PADDING:Lnet/minecraft/client/render/VertexFormatElement$Type;
      intermediary field_1629 Lnet/minecraft/class_296$class_298;field_1629:Lnet/minecraft/class_296$class_298;
      official e Lfau$b;e:Lfau$b;
    • GENERIC

      public static final VertexFormatElement.Type GENERIC
      Mappings:
      Namespace Name Mixin selector
      named GENERIC Lnet/minecraft/client/render/VertexFormatElement$Type;GENERIC:Lnet/minecraft/client/render/VertexFormatElement$Type;
      intermediary field_20782 Lnet/minecraft/class_296$class_298;field_20782:Lnet/minecraft/class_296$class_298;
      official f Lfau$b;f:Lfau$b;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/render/VertexFormatElement$Type;name:Ljava/lang/String;
      intermediary field_1630 Lnet/minecraft/class_296$class_298;field_1630:Ljava/lang/String;
      official g Lfau$b;g:Ljava/lang/String;
    • setupTask

      private final VertexFormatElement.Type.SetupTask setupTask
      Mappings:
      Namespace Name Mixin selector
      named setupTask Lnet/minecraft/client/render/VertexFormatElement$Type;setupTask:Lnet/minecraft/client/render/VertexFormatElement$Type$SetupTask;
      intermediary field_20783 Lnet/minecraft/class_296$class_298;field_20783:Lnet/minecraft/class_296$class_298$class_4575;
      official h Lfau$b;h:Lfau$b$b;
    • clearTask

      private final VertexFormatElement.Type.ClearTask clearTask
      Mappings:
      Namespace Name Mixin selector
      named clearTask Lnet/minecraft/client/render/VertexFormatElement$Type;clearTask:Lnet/minecraft/client/render/VertexFormatElement$Type$ClearTask;
      intermediary field_20784 Lnet/minecraft/class_296$class_298;field_20784:Lnet/minecraft/class_296$class_298$class_5938;
      official i Lfau$b;i:Lfau$b$a;
  • Constructor Details

    • Type

      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/VertexFormatElement$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/client/render/VertexFormatElement$Type$SetupTask;Lnet/minecraft/client/render/VertexFormatElement$Type$ClearTask;)V
      intermediary <init> Lnet/minecraft/class_296$class_298;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_296$class_298$class_4575;Lnet/minecraft/class_296$class_298$class_5938;)V
      official <init> Lfau$b;<init>(Ljava/lang/String;ILjava/lang/String;Lfau$b$b;Lfau$b$a;)V
  • Method Details

    • values

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

      void setupState(int componentCount, int componentType, int stride, long offset, int uvIndex, int elementIndex)
      Mappings:
      Namespace Name Mixin selector
      named setupState Lnet/minecraft/client/render/VertexFormatElement$Type;setupState(IIIJII)V
      intermediary method_22655 Lnet/minecraft/class_296$class_298;method_22655(IIIJII)V
      official a Lfau$b;a(IIIJII)V
    • clearState

      public void clearState(int uvIndex, int elementIndex)
      Mappings:
      Namespace Name Mixin selector
      named clearState Lnet/minecraft/client/render/VertexFormatElement$Type;clearState(II)V
      intermediary method_22654 Lnet/minecraft/class_296$class_298;method_22654(II)V
      official a Lfau$b;a(II)V
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/client/render/VertexFormatElement$Type;getName()Ljava/lang/String;
      intermediary method_1392 Lnet/minecraft/class_296$class_298;method_1392()Ljava/lang/String;
      official a Lfau$b;a()Ljava/lang/String;