public enum ScoreboardType extends java.lang.Enum<ScoreboardType>
| Enum Constant and Description |
|---|
AIR |
ARMOR |
DEATHS |
DUMMY |
FOOD |
HEAL |
KILLS |
MONEY |
PLAYERKILLS |
XPLEVEL |
| Modifier and Type | Field and Description |
|---|---|
private Currency |
currency |
private java.lang.String |
type |
| Modifier and Type | Method and Description |
|---|---|
Currency |
getCurrency() |
java.lang.String |
getType() |
void |
setCurrency(Currency c) |
static ScoreboardType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScoreboardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScoreboardType MONEY
public static final ScoreboardType HEAL
public static final ScoreboardType DUMMY
public static final ScoreboardType DEATHS
public static final ScoreboardType KILLS
public static final ScoreboardType PLAYERKILLS
public static final ScoreboardType XPLEVEL
public static final ScoreboardType FOOD
public static final ScoreboardType AIR
public static final ScoreboardType ARMOR
private java.lang.String type
private Currency currency
public static ScoreboardType[] values()
for (ScoreboardType c : ScoreboardType.values()) System.out.println(c);
public static ScoreboardType 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 nullpublic java.lang.String getType()
public void setCurrency(Currency c)
c - The currency of the MONEY objetive
public Currency getCurrency()