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 flk
  • 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 Lflk;a:Lflk;
    • 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 Lflk;b:Lflk;
    • 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 Lflk;c:Lflk;
  • Field Details

    • pixelSize

      private final int pixelSize
      Mappings:
      Namespace Name Mixin selector
      named pixelSize Lnet/minecraft/client/texture/TextureType;pixelSize:I
      intermediary field_57101 Lnet/minecraft/class_10793;field_57101:I
      official d Lflk;d:I
  • Constructor Details

    • TextureType

      private TextureType(int glId)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/texture/TextureType;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_10793;<init>(Ljava/lang/String;II)V
      official <init> Lflk;<init>(Ljava/lang/String;II)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
    • getPixelSize

      public int getPixelSize()
      Mappings:
      Namespace Name Mixin selector
      named getPixelSize Lnet/minecraft/client/texture/TextureType;getPixelSize()I
      intermediary method_68155 Lnet/minecraft/class_10793;method_68155()I
      official a Lflk;a()I
    • isColor

      public boolean isColor()
      Mappings:
      Namespace Name Mixin selector
      named isColor Lnet/minecraft/client/texture/TextureType;isColor()Z
      intermediary method_68696 Lnet/minecraft/class_10793;method_68696()Z
      official b Lflk;b()Z
    • isDepth

      public boolean isDepth()
      Mappings:
      Namespace Name Mixin selector
      named isDepth Lnet/minecraft/client/texture/TextureType;isDepth()Z
      intermediary method_68697 Lnet/minecraft/class_10793;method_68697()Z
      official c Lflk;c()Z