public enum AdvancementFrame extends Enum<AdvancementFrame>
Modifier and Type | Field and Description |
---|---|
private String |
id |
private int |
texV |
private Formatting |
titleFormat |
Modifier and Type | Method and Description |
---|---|
static AdvancementFrame |
forName(String name) |
String |
getId() |
Formatting |
getTitleFormat() |
int |
texV() |
static AdvancementFrame |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdvancementFrame[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvancementFrame TASK
public static final AdvancementFrame CHALLENGE
public static final AdvancementFrame GOAL
private final String id
private final int texV
private final Formatting titleFormat
public static AdvancementFrame[] values()
for (AdvancementFrame c : AdvancementFrame.values()) System.out.println(c);
public static AdvancementFrame 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 String getId()
@Environment(value=CLIENT) public int texV()
public static AdvancementFrame forName(String name)
public Formatting getTitleFormat()