public static enum ItemDurabilityParser.ItemCategory extends java.lang.Enum<ItemDurabilityParser.ItemCategory>
| Enum Constant and Description |
|---|
COAL_ITEMS |
DYED_BLOCKS |
GRASS_BLOCKS |
MONSTER_EGGS_BLOCKS |
SANDSTONE_BLOCKS |
SMOOTH_BRICK_BLOCKS |
STEP_BLOCKS |
TREE_BLOCKS |
| Modifier and Type | Method and Description |
|---|---|
static ItemDurabilityParser.ItemCategory |
matchItem(java.lang.Integer itemID) |
static ItemDurabilityParser.ItemCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemDurabilityParser.ItemCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemDurabilityParser.ItemCategory TREE_BLOCKS
public static final ItemDurabilityParser.ItemCategory DYED_BLOCKS
public static final ItemDurabilityParser.ItemCategory GRASS_BLOCKS
public static final ItemDurabilityParser.ItemCategory STEP_BLOCKS
public static final ItemDurabilityParser.ItemCategory SANDSTONE_BLOCKS
public static final ItemDurabilityParser.ItemCategory SMOOTH_BRICK_BLOCKS
public static final ItemDurabilityParser.ItemCategory MONSTER_EGGS_BLOCKS
public static final ItemDurabilityParser.ItemCategory COAL_ITEMS
public static ItemDurabilityParser.ItemCategory[] values()
for (ItemDurabilityParser.ItemCategory c : ItemDurabilityParser.ItemCategory.values()) System.out.println(c);
public static ItemDurabilityParser.ItemCategory 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 ItemDurabilityParser.ItemCategory matchItem(java.lang.Integer itemID)