public enum StatisticCategory extends Enum<StatisticCategory>
| Enum Constant and Description |
|---|
BREAK_BLOCK |
BREAK_ITEM |
CRAFT_ITEM |
CUSTOM |
DROP_ITEM |
KILL_ENTITY |
KILLED_BY_ENTITY |
PICKED_UP_ITEM |
USE_ITEM |
| Modifier and Type | Method and Description |
|---|---|
static StatisticCategory |
fromId(int id) |
static StatisticCategory |
read(com.github.steveice10.packetlib.io.NetInput in) |
static StatisticCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatisticCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatisticCategory BREAK_BLOCK
public static final StatisticCategory CRAFT_ITEM
public static final StatisticCategory USE_ITEM
public static final StatisticCategory BREAK_ITEM
public static final StatisticCategory PICKED_UP_ITEM
public static final StatisticCategory DROP_ITEM
public static final StatisticCategory KILL_ENTITY
public static final StatisticCategory KILLED_BY_ENTITY
public static final StatisticCategory CUSTOM
public static StatisticCategory[] values()
for (StatisticCategory c : StatisticCategory.values()) System.out.println(c);
public static StatisticCategory 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 static StatisticCategory read(com.github.steveice10.packetlib.io.NetInput in) throws IOException
IOExceptionpublic static StatisticCategory fromId(int id)
Copyright © 2022. All rights reserved.