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 flk
-
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 TypeMethodDescriptionintbooleanisColor()booleanisDepth()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 aLflk;a:Lflk;
-
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 bLflk;b:Lflk;
-
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 cLflk;c:Lflk;
-
-
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 dLflk;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>Lflk;<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 aLflk;a()I
-
isColor
public boolean isColor()- Mappings:
Namespace Name Mixin selector named isColorLnet/minecraft/client/texture/TextureType;isColor()Zintermediary method_68696Lnet/minecraft/class_10793;method_68696()Zofficial bLflk;b()Z
-
isDepth
public boolean isDepth()- Mappings:
Namespace Name Mixin selector named isDepthLnet/minecraft/client/texture/TextureType;isDepth()Zintermediary method_68697Lnet/minecraft/class_10793;method_68697()Zofficial cLflk;c()Z
-