Enum AdvancementObtainedStatus
java.lang.Object
java.lang.Enum<AdvancementObtainedStatus>
net.minecraft.client.gui.screen.advancement.AdvancementObtainedStatus
- All Implemented Interfaces:
Serializable,Comparable<AdvancementObtainedStatus>,java.lang.constant.Constable
@Environment(CLIENT) public enum AdvancementObtainedStatus extends Enum<AdvancementObtainedStatus>
- Mappings:
Namespace Name official dvsintermediary net/minecraft/class_455named net/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description OBTAINEDUNOBTAINED -
Field Summary
Fields Modifier and Type Field Description private intspriteIndex -
Constructor Summary
Constructors Modifier Constructor Description privateAdvancementObtainedStatus(int spriteIndex) -
Method Summary
Modifier and Type Method Description intgetSpriteIndex()static AdvancementObtainedStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static AdvancementObtainedStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OBTAINED
- Mappings:
Namespace Name Mixin selector official aLdvs;a:Ldvs;intermediary field_2701Lnet/minecraft/class_455;field_2701:Lnet/minecraft/class_455;named OBTAINEDLnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;OBTAINED:Lnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;
-
UNOBTAINED
- Mappings:
Namespace Name Mixin selector official bLdvs;b:Ldvs;intermediary field_2699Lnet/minecraft/class_455;field_2699:Lnet/minecraft/class_455;named UNOBTAINEDLnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;UNOBTAINED:Lnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;
-
-
Field Details
-
spriteIndex
private final int spriteIndex- Mappings:
Namespace Name Mixin selector official cLdvs;c:Iintermediary field_2700Lnet/minecraft/class_455;field_2700:Inamed spriteIndexLnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;spriteIndex:I
-
-
Constructor Details
-
AdvancementObtainedStatus
private AdvancementObtainedStatus(int spriteIndex)- Mappings:
Namespace Name Mixin selector official <init>Ldvs;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_455;<init>(Ljava/lang/String;II)Vnamed <init>Lnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;<init>(Ljava/lang/String;II)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getSpriteIndex
public int getSpriteIndex()- Mappings:
Namespace Name Mixin selector official aLdvs;a()Iintermediary method_2320Lnet/minecraft/class_455;method_2320()Inamed getSpriteIndexLnet/minecraft/client/gui/screen/advancement/AdvancementObtainedStatus;getSpriteIndex()I
-