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 PICKUP
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 SNEAK_TIME
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 SPRINT_ONE_CM
public static final Statistic CROUCH_ONE_CM
public static final Statistic AVIATE_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 final Statistic TIME_SINCE_DEATH
public static final Statistic TALKED_TO_VILLAGER
public static final Statistic TRADED_WITH_VILLAGER
public static final Statistic CAKE_SLICES_EATEN
public static final Statistic CAULDRON_FILLED
public static final Statistic CAULDRON_USED
public static final Statistic ARMOR_CLEANED
public static final Statistic BANNER_CLEANED
public static final Statistic BREWINGSTAND_INTERACTION
public static final Statistic BEACON_INTERACTION
public static final Statistic DROPPER_INSPECTED
public static final Statistic HOPPER_INSPECTED
public static final Statistic DISPENSER_INSPECTED
public static final Statistic NOTEBLOCK_PLAYED
public static final Statistic NOTEBLOCK_TUNED
public static final Statistic FLOWER_POTTED
public static final Statistic TRAPPED_CHEST_TRIGGERED
public static final Statistic ENDERCHEST_OPENED
public static final Statistic ITEM_ENCHANTED
public static final Statistic RECORD_PLAYED
public static final Statistic FURNACE_INTERACTION
public static final Statistic CRAFTING_TABLE_INTERACTION
public static final Statistic CHEST_OPENED
public static final Statistic SLEEP_IN_BED
public static final Statistic SHULKER_BOX_OPENED
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 © 2016. All rights reserved.