Enum Class VertexFormatElement.Usage

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

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

    • POSITION

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

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

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

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

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

    • name

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

      Mappings:
      Namespace Name Mixin selector
      named setupTask Lnet/minecraft/client/render/VertexFormatElement$Usage;setupTask:Lnet/minecraft/client/render/VertexFormatElement$Usage$SetupTask;
      intermediary field_20783 Lnet/minecraft/class_296$class_298;field_20783:Lnet/minecraft/class_296$class_298$class_4575;
      official g Lfgx$b;g:Lfgx$b$a;
  • Constructor Details

    • Usage

      private Usage(String name, VertexFormatElement.Usage.SetupTask setupTask)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/VertexFormatElement$Usage;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/client/render/VertexFormatElement$Usage$SetupTask;)V
      intermediary <init> Lnet/minecraft/class_296$class_298;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_296$class_298$class_4575;)V
      official <init> Lfgx$b;<init>(Ljava/lang/String;ILjava/lang/String;Lfgx$b$a;)V
  • Method Details

    • values

      public static VertexFormatElement.Usage[] 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.Usage 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<VertexFormatElement.Usage>