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 fli
-
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 TypeMethodDescriptionintstatic 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 aLfli;a:Lfli;
-
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 bLfli;b:Lfli;
-
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 cLfli;c:Lfli;
-
-
Field Details
-
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 dLfli;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)Vintermediary <init>Lnet/minecraft/class_10793;<init>(Ljava/lang/String;II)Vofficial <init>Lfli;<init>(Ljava/lang/String;II)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
-
getPixelSize
public int getPixelSize()- Mappings:
Namespace Name Mixin selector named getPixelSizeLnet/minecraft/client/texture/TextureType;getPixelSize()Iintermediary method_68155Lnet/minecraft/class_10793;method_68155()Iofficial aLfli;a()I
-