Package net.minecraft.client.texture
Enum Class TextureType
- All Implemented Interfaces:
Serializable,Comparable<TextureType>,Constable
- Mappings:
Namespace Name named net/minecraft/client/texture/TextureTypeintermediary net/minecraft/class_10793official fjs
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intformatId()(package private) intglId()(package private) intglType()static TextureTypeReturns the enum constant of this class with the specified name.static TextureType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RGBA8
- Mappings:
Namespace Name Mixin selector named RGBA8Lnet/minecraft/client/texture/TextureType;RGBA8:Lnet/minecraft/client/texture/TextureType;intermediary field_56773Lnet/minecraft/class_10793;field_56773:Lnet/minecraft/class_10793;official aLfjs;a:Lfjs;
-
RED8
- Mappings:
Namespace Name Mixin selector named RED8Lnet/minecraft/client/texture/TextureType;RED8:Lnet/minecraft/client/texture/TextureType;intermediary field_56774Lnet/minecraft/class_10793;field_56774:Lnet/minecraft/class_10793;official bLfjs;b:Lfjs;
-
DEPTH32
- Mappings:
Namespace Name Mixin selector named DEPTH32Lnet/minecraft/client/texture/TextureType;DEPTH32:Lnet/minecraft/client/texture/TextureType;intermediary field_56775Lnet/minecraft/class_10793;field_56775:Lnet/minecraft/class_10793;official cLfjs;c:Lfjs;
-
-
Field Details
-
glId
private final int glId- Mappings:
Namespace Name Mixin selector named glIdLnet/minecraft/client/texture/TextureType;glId:Iintermediary field_56776Lnet/minecraft/class_10793;field_56776:Iofficial dLfjs;d:I
-
formatId
private final int formatId- Mappings:
Namespace Name Mixin selector named formatIdLnet/minecraft/client/texture/TextureType;formatId:Iintermediary field_56777Lnet/minecraft/class_10793;field_56777:Iofficial eLfjs;e:I
-
glType
private final int glType- Mappings:
Namespace Name Mixin selector named glTypeLnet/minecraft/client/texture/TextureType;glType:Iintermediary field_56778Lnet/minecraft/class_10793;field_56778:Iofficial fLfjs;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)Vintermediary <init>Lnet/minecraft/class_10793;<init>(Ljava/lang/String;IIII)Vofficial <init>Lfjs;<init>(Ljava/lang/String;IIII)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
glId
int glId()- Mappings:
Namespace Name Mixin selector named glIdLnet/minecraft/client/texture/TextureType;glId()Iintermediary method_67791Lnet/minecraft/class_10793;method_67791()Iofficial aLfjs;a()I
-
formatId
int formatId()- Mappings:
Namespace Name Mixin selector named formatIdLnet/minecraft/client/texture/TextureType;formatId()Iintermediary method_67792Lnet/minecraft/class_10793;method_67792()Iofficial bLfjs;b()I
-
glType
int glType()- Mappings:
Namespace Name Mixin selector named glTypeLnet/minecraft/client/texture/TextureType;glType()Iintermediary method_67793Lnet/minecraft/class_10793;method_67793()Iofficial cLfjs;c()I
-