public static enum Advancement.DisplayData.AdvancementType extends Enum<Advancement.DisplayData.AdvancementType>
| Modifier and Type | Method and Description |
|---|---|
static Advancement.DisplayData.AdvancementType |
from(int id) |
static Advancement.DisplayData.AdvancementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advancement.DisplayData.AdvancementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advancement.DisplayData.AdvancementType TASK
public static final Advancement.DisplayData.AdvancementType CHALLENGE
public static final Advancement.DisplayData.AdvancementType GOAL
public static Advancement.DisplayData.AdvancementType[] values()
for (Advancement.DisplayData.AdvancementType c : Advancement.DisplayData.AdvancementType.values()) System.out.println(c);
public static Advancement.DisplayData.AdvancementType 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 static Advancement.DisplayData.AdvancementType from(int id)
Copyright © 2023. All rights reserved.