public enum ScoreboardLocation extends java.lang.Enum<ScoreboardLocation>
Enum Constant and Description |
---|
CENTER_TOP |
LEFT_BOTTOM |
LEFT_MIDDLE |
LEFT_TOP |
RIGHT_BOTTOM |
RIGHT_MIDDLE |
RIGHT_TOP |
Modifier and Type | Method and Description |
---|---|
static ScoreboardLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScoreboardLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScoreboardLocation RIGHT_TOP
public static final ScoreboardLocation RIGHT_MIDDLE
public static final ScoreboardLocation RIGHT_BOTTOM
public static final ScoreboardLocation LEFT_TOP
public static final ScoreboardLocation LEFT_MIDDLE
public static final ScoreboardLocation LEFT_BOTTOM
public static final ScoreboardLocation CENTER_TOP
public static ScoreboardLocation[] values()
for (ScoreboardLocation c : ScoreboardLocation.values()) System.out.println(c);
public static ScoreboardLocation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null