public static enum CitizensNPC.Difficulty extends java.lang.Enum<CitizensNPC.Difficulty>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
ItemStack |
getIcon() |
double |
getReach() |
static CitizensNPC.Difficulty |
of(java.lang.String value) |
static CitizensNPC.Difficulty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CitizensNPC.Difficulty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CitizensNPC.Difficulty EASY
public static final CitizensNPC.Difficulty NORMAL
public static final CitizensNPC.Difficulty HARD
public static final CitizensNPC.Difficulty HACKER
public static final CitizensNPC.Difficulty CUSTOM
public static CitizensNPC.Difficulty[] values()
for (CitizensNPC.Difficulty c : CitizensNPC.Difficulty.values()) System.out.println(c);
public static CitizensNPC.Difficulty 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 getDisplayName()
public double getReach()
public ItemStack getIcon()
public static CitizensNPC.Difficulty of(java.lang.String value)