@Environment(value=CLIENT) public enum AdvancementObtainedStatus extends Enum<AdvancementObtainedStatus>
Enum Constant and Description |
---|
OBTAINED |
UNOBTAINED |
Modifier and Type | Field and Description |
---|---|
private int |
spriteIndex |
Modifier and Type | Method and Description |
---|---|
int |
getSpriteIndex() |
static AdvancementObtainedStatus |
valueOf(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.
|
public static final AdvancementObtainedStatus OBTAINED
public static final AdvancementObtainedStatus UNOBTAINED
public static AdvancementObtainedStatus[] values()
for (AdvancementObtainedStatus c : AdvancementObtainedStatus.values()) System.out.println(c);
public static AdvancementObtainedStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getSpriteIndex()