public enum AdvancementFrame extends Enum<AdvancementFrame>
Modifier and Type | Field and Description |
---|---|
private String |
id |
private int |
textureV |
private Formatting |
titleFormat |
private Text |
toastText |
Modifier and Type | Method and Description |
---|---|
static AdvancementFrame |
forName(String name) |
String |
getId() |
int |
getTextureV() |
Formatting |
getTitleFormat() |
Text |
getToastText() |
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 textureV
private final Formatting titleFormat
private final Text toastText
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 getTextureV()
public static AdvancementFrame forName(String name)
public Formatting getTitleFormat()
@Environment(value=CLIENT) public Text getToastText()