public static enum ScoreboardCriterion.RenderType extends Enum<ScoreboardCriterion.RenderType>
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,ScoreboardCriterion.RenderType> |
CRITERION_TYPES |
private String |
name |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static ScoreboardCriterion.RenderType |
getType(String name) |
static ScoreboardCriterion.RenderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScoreboardCriterion.RenderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScoreboardCriterion.RenderType INTEGER
public static final ScoreboardCriterion.RenderType HEARTS
private static final Map<String,ScoreboardCriterion.RenderType> CRITERION_TYPES
private final String name
public static ScoreboardCriterion.RenderType[] values()
for (ScoreboardCriterion.RenderType c : ScoreboardCriterion.RenderType.values()) System.out.println(c);
public static ScoreboardCriterion.RenderType 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 getName()
public static ScoreboardCriterion.RenderType getType(String name)