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 fjx
-
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()intstatic 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 aLfjx;a:Lfjx;
-
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 bLfjx;b:Lfjx;
-
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 cLfjx;c:Lfjx;
-
-
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 dLfjx;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 eLfjx;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 fLfjx;f:I
-
pixelSize
private final int pixelSize- Mappings:
Namespace Name Mixin selector named pixelSizeLnet/minecraft/client/texture/TextureType;pixelSize:Iintermediary field_57101Lnet/minecraft/class_10793;field_57101:Iofficial gLfjx;g:I
-
-
Constructor Details
-
TextureType
private TextureType(int glId, int formatId, int glType, int size) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/texture/TextureType;<init>(Ljava/lang/String;IIIII)Vintermediary <init>Lnet/minecraft/class_10793;<init>(Ljava/lang/String;IIIII)Vofficial <init>Lfjx;<init>(Ljava/lang/String;IIIII)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 aLfjx;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 bLfjx;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 cLfjx;c()I
-
pixelSize
public int pixelSize()- Mappings:
Namespace Name Mixin selector named pixelSizeLnet/minecraft/client/texture/TextureType;pixelSize()Iintermediary method_68155Lnet/minecraft/class_10793;method_68155()Iofficial dLfjx;d()I
-