Enum Class TextureType

java.lang.Object
java.lang.Enum<TextureType>
net.minecraft.client.texture.TextureType
All Implemented Interfaces:
Serializable, Comparable<TextureType>, Constable

@Environment(CLIENT) public enum TextureType extends Enum<TextureType>
Mappings:
Namespace Name
named net/minecraft/client/texture/TextureType
intermediary net/minecraft/class_10793
official fjs
  • Enum Constant Details

    • RGBA8

      public static final TextureType RGBA8
      Mappings:
      Namespace Name Mixin selector
      named RGBA8 Lnet/minecraft/client/texture/TextureType;RGBA8:Lnet/minecraft/client/texture/TextureType;
      intermediary field_56773 Lnet/minecraft/class_10793;field_56773:Lnet/minecraft/class_10793;
      official a Lfjs;a:Lfjs;
    • RED8

      public static final TextureType RED8
      Mappings:
      Namespace Name Mixin selector
      named RED8 Lnet/minecraft/client/texture/TextureType;RED8:Lnet/minecraft/client/texture/TextureType;
      intermediary field_56774 Lnet/minecraft/class_10793;field_56774:Lnet/minecraft/class_10793;
      official b Lfjs;b:Lfjs;
    • DEPTH32

      public static final TextureType DEPTH32
      Mappings:
      Namespace Name Mixin selector
      named DEPTH32 Lnet/minecraft/client/texture/TextureType;DEPTH32:Lnet/minecraft/client/texture/TextureType;
      intermediary field_56775 Lnet/minecraft/class_10793;field_56775:Lnet/minecraft/class_10793;
      official c Lfjs;c:Lfjs;
  • Field Details

    • glId

      private final int glId
      Mappings:
      Namespace Name Mixin selector
      named glId Lnet/minecraft/client/texture/TextureType;glId:I
      intermediary field_56776 Lnet/minecraft/class_10793;field_56776:I
      official d Lfjs;d:I
    • formatId

      private final int formatId
      Mappings:
      Namespace Name Mixin selector
      named formatId Lnet/minecraft/client/texture/TextureType;formatId:I
      intermediary field_56777 Lnet/minecraft/class_10793;field_56777:I
      official e Lfjs;e:I
    • glType

      private final int glType
      Mappings:
      Namespace Name Mixin selector
      named glType Lnet/minecraft/client/texture/TextureType;glType:I
      intermediary field_56778 Lnet/minecraft/class_10793;field_56778:I
      official f Lfjs;f:I
  • Constructor Details

    • TextureType

      private TextureType(int glId, int formatId, int glType)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/texture/TextureType;<init>(Ljava/lang/String;IIII)V
      intermediary <init> Lnet/minecraft/class_10793;<init>(Ljava/lang/String;IIII)V
      official <init> Lfjs;<init>(Ljava/lang/String;IIII)V
  • Method Details

    • values

      public static TextureType[] 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 TextureType 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
    • glId

      int glId()
      Mappings:
      Namespace Name Mixin selector
      named glId Lnet/minecraft/client/texture/TextureType;glId()I
      intermediary method_67791 Lnet/minecraft/class_10793;method_67791()I
      official a Lfjs;a()I
    • formatId

      int formatId()
      Mappings:
      Namespace Name Mixin selector
      named formatId Lnet/minecraft/client/texture/TextureType;formatId()I
      intermediary method_67792 Lnet/minecraft/class_10793;method_67792()I
      official b Lfjs;b()I
    • glType

      int glType()
      Mappings:
      Namespace Name Mixin selector
      named glType Lnet/minecraft/client/texture/TextureType;glType()I
      intermediary method_67793 Lnet/minecraft/class_10793;method_67793()I
      official c Lfjs;c()I