public enum RewardTypes extends java.lang.Enum<RewardTypes>
Enum Constant and Description |
---|
CUSTOM
A custom reward manager.
|
DEFAULT
Reference to the default reward manager.
|
DROPS
Rewards players with item drops.
|
ECONOMY
Rewards players with currency.
|
EXPERIENCE
Rewards players with experience orbs.
|
VIRTUAL
Rewards players with experience directly by simply adding the experience to their experience bar.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSpecialMarker()
Whether or not the reward type is an ID for a real reward manager.
|
static RewardTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RewardTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RewardTypes DEFAULT
public static final RewardTypes EXPERIENCE
public static final RewardTypes VIRTUAL
public static final RewardTypes ECONOMY
public static final RewardTypes DROPS
public static final RewardTypes CUSTOM
public static RewardTypes[] values()
for (RewardTypes c : RewardTypes.values()) System.out.println(c);
public static RewardTypes 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 boolean isSpecialMarker()