Enum Class UniformType

java.lang.Object
java.lang.Enum<UniformType>
net.minecraft.client.gl.UniformType
All Implemented Interfaces:
Serializable, Comparable<UniformType>, Constable, StringIdentifiable

@Environment(CLIENT) public enum UniformType extends Enum<UniformType> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/client/gl/UniformType
intermediary net/minecraft/class_10789
official fku
  • Enum Constant Details

    • INT

      public static final UniformType INT
      Mappings:
      Namespace Name Mixin selector
      named INT Lnet/minecraft/client/gl/UniformType;INT:Lnet/minecraft/client/gl/UniformType;
      intermediary field_56741 Lnet/minecraft/class_10789;field_56741:Lnet/minecraft/class_10789;
      official a Lfku;a:Lfku;
    • IVEC3

      public static final UniformType IVEC3
      Mappings:
      Namespace Name Mixin selector
      named IVEC3 Lnet/minecraft/client/gl/UniformType;IVEC3:Lnet/minecraft/client/gl/UniformType;
      intermediary field_56742 Lnet/minecraft/class_10789;field_56742:Lnet/minecraft/class_10789;
      official b Lfku;b:Lfku;
    • FLOAT

      public static final UniformType FLOAT
      Mappings:
      Namespace Name Mixin selector
      named FLOAT Lnet/minecraft/client/gl/UniformType;FLOAT:Lnet/minecraft/client/gl/UniformType;
      intermediary field_56743 Lnet/minecraft/class_10789;field_56743:Lnet/minecraft/class_10789;
      official c Lfku;c:Lfku;
    • VEC2

      public static final UniformType VEC2
      Mappings:
      Namespace Name Mixin selector
      named VEC2 Lnet/minecraft/client/gl/UniformType;VEC2:Lnet/minecraft/client/gl/UniformType;
      intermediary field_56744 Lnet/minecraft/class_10789;field_56744:Lnet/minecraft/class_10789;
      official d Lfku;d:Lfku;
    • VEC3

      public static final UniformType VEC3
      Mappings:
      Namespace Name Mixin selector
      named VEC3 Lnet/minecraft/client/gl/UniformType;VEC3:Lnet/minecraft/client/gl/UniformType;
      intermediary field_56745 Lnet/minecraft/class_10789;field_56745:Lnet/minecraft/class_10789;
      official e Lfku;e:Lfku;
    • VEC4

      public static final UniformType VEC4
      Mappings:
      Namespace Name Mixin selector
      named VEC4 Lnet/minecraft/client/gl/UniformType;VEC4:Lnet/minecraft/client/gl/UniformType;
      intermediary field_56746 Lnet/minecraft/class_10789;field_56746:Lnet/minecraft/class_10789;
      official f Lfku;f:Lfku;
    • MATRIX4X4

      public static final UniformType MATRIX4X4
      Mappings:
      Namespace Name Mixin selector
      named MATRIX4X4 Lnet/minecraft/client/gl/UniformType;MATRIX4X4:Lnet/minecraft/client/gl/UniformType;
      intermediary field_56747 Lnet/minecraft/class_10789;field_56747:Lnet/minecraft/class_10789;
      official g Lfku;g:Lfku;
  • Field Details

    • CODEC

      public static final StringIdentifiable.EnumCodec<UniformType> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/gl/UniformType;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
      intermediary field_56748 Lnet/minecraft/class_10789;field_56748:Lnet/minecraft/class_3542$class_7292;
      official h Lfku;h:Lbax$a;
    • size

      final int size
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/client/gl/UniformType;size:I
      intermediary field_56749 Lnet/minecraft/class_10789;field_56749:I
      official i Lfku;i:I
    • name

      final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/gl/UniformType;name:Ljava/lang/String;
      intermediary field_56750 Lnet/minecraft/class_10789;field_56750:Ljava/lang/String;
      official j Lfku;j:Ljava/lang/String;
  • Constructor Details

    • UniformType

      private UniformType(int size, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gl/UniformType;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_10789;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lfku;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static UniformType[] 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 UniformType 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
    • size

      public int size()
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/client/gl/UniformType;size()I
      intermediary method_68449 Lnet/minecraft/class_10789;method_68449()I
      official a Lfku;a()I
    • isIntegerData

      public boolean isIntegerData()
      Mappings:
      Namespace Name Mixin selector
      named isIntegerData Lnet/minecraft/client/gl/UniformType;isIntegerData()Z
      intermediary method_67771 Lnet/minecraft/class_10789;method_67771()Z
      official b Lfku;b()Z
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbax;c()Ljava/lang/String;
    • count

      public int count()
      Mappings:
      Namespace Name Mixin selector
      named count Lnet/minecraft/client/gl/UniformType;count()I
      intermediary method_68450 Lnet/minecraft/class_10789;method_68450()I
      official d Lfku;d()I