public enum ObservationRank extends java.lang.Enum<ObservationRank>
| Enum Constant and Description | 
|---|
A
Third tier rank, increasing damage against the mob by 25%. 
 | 
B
Second tier rank, showing all base stats. 
 | 
C
First tier rank, showing a detailed description or backstory. 
 | 
D
Default rank, showing the mob name, if at least one kill was achieved. 
 | 
S
Highest tier rank, increases experience gained from the mob by 40%. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
private int | 
bossKills
The amount of kills needed to rach the rank for boss mobs. 
 | 
private org.bukkit.inventory.ItemStack | 
iconItemStack
The icon item stack representing the rank in menus. 
 | 
private int | 
normalKills
The amount of kills needed to rach the rank for normal mobs. 
 | 
private java.lang.String | 
rankName
The name of the observation rank. 
 | 
private int | 
rankTier
The tier of the observation rank. 
 | 
private int | 
souls
The amount of soulstones rewarded for reaching the rank. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getBossKills()  | 
org.bukkit.inventory.ItemStack | 
getIconItemStack()  | 
ObservationRank | 
getNextRank()  | 
int | 
getNormalKills()  | 
static ObservationRank | 
getObservationRank(int mobKills,
                  boolean isBoss)
Determines the observation rank, based on the amount of mob kills. 
 | 
java.lang.String | 
getRankName()  | 
int | 
getRankTier()  | 
int | 
getSouls()  | 
static ObservationRank | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static ObservationRank[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ObservationRank D
public static final ObservationRank C
public static final ObservationRank B
public static final ObservationRank A
public static final ObservationRank S
private java.lang.String rankName
private int rankTier
private int normalKills
private int bossKills
private org.bukkit.inventory.ItemStack iconItemStack
private int souls
public static ObservationRank[] values()
for (ObservationRank c : ObservationRank.values()) System.out.println(c);
public static ObservationRank 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 static ObservationRank getObservationRank(int mobKills, boolean isBoss)
mobKills - The mob kills to determine the level for.isBoss - If the kills where on a boss mob.public java.lang.String getRankName()
public int getRankTier()
public int getNormalKills()
public int getBossKills()
public org.bukkit.inventory.ItemStack getIconItemStack()
public int getSouls()
public ObservationRank getNextRank()