org.bukkit
public enum Statistic extends Enum<Statistic>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Statistic.Type
The type of statistic. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Statistic.Type | 
getType()
Gets the type of this statistic. 
 | 
boolean | 
isBlock()
Checks if this is a substatistic dealing with blocks. 
 | 
boolean | 
isSubstatistic()
Checks if this is a substatistic. 
 | 
static Statistic | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Statistic[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Statistic DAMAGE_DEALT
public static final Statistic DAMAGE_TAKEN
public static final Statistic DEATHS
public static final Statistic MOB_KILLS
public static final Statistic PLAYER_KILLS
public static final Statistic FISH_CAUGHT
public static final Statistic ANIMALS_BRED
public static final Statistic TREASURE_FISHED
public static final Statistic JUNK_FISHED
public static final Statistic LEAVE_GAME
public static final Statistic JUMP
public static final Statistic DROP
public static final Statistic PLAY_ONE_TICK
public static final Statistic WALK_ONE_CM
public static final Statistic SWIM_ONE_CM
public static final Statistic FALL_ONE_CM
public static final Statistic CLIMB_ONE_CM
public static final Statistic FLY_ONE_CM
public static final Statistic DIVE_ONE_CM
public static final Statistic MINECART_ONE_CM
public static final Statistic BOAT_ONE_CM
public static final Statistic PIG_ONE_CM
public static final Statistic HORSE_ONE_CM
public static final Statistic MINE_BLOCK
public static final Statistic USE_ITEM
public static final Statistic BREAK_ITEM
public static final Statistic CRAFT_ITEM
public static final Statistic KILL_ENTITY
public static final Statistic ENTITY_KILLED_BY
public static Statistic[] values()
for (Statistic c : Statistic.values()) System.out.println(c);
public static Statistic valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic Statistic.Type getType()
public boolean isSubstatistic()
 A substatistic exists en masse for each block, item, or entitytype, depending on
 getType().
 
 This is a redundant method and equivalent to checking
 getType() != Type.UNTYPED
public boolean isBlock()
 This is a redundant method and equivalent to checking
 getType() == Type.BLOCK
Copyright © 2014. All rights reserved.