| Enum Constant and Description |
|---|
DAMAGEABLE |
FURNACE_FUEL |
MATERIAL_DIAMOND |
MATERIAL_GOLD |
MATERIAL_IRON |
MATERIAL_LEATHER |
MATERIAL_STONE |
MATERIAL_WOOD |
POTION_INGREDIENT |
SUBTYPES |
| Modifier and Type | Method and Description |
|---|---|
static ItemType |
getMaterial(java.util.List<ItemTag> tags)
Get the material type for the given item tags.
|
static ItemTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemTag DAMAGEABLE
public static final ItemTag SUBTYPES
public static final ItemTag FURNACE_FUEL
public static final ItemTag POTION_INGREDIENT
public static final ItemTag MATERIAL_LEATHER
public static final ItemTag MATERIAL_WOOD
public static final ItemTag MATERIAL_STONE
public static final ItemTag MATERIAL_IRON
public static final ItemTag MATERIAL_GOLD
public static final ItemTag MATERIAL_DIAMOND
public static ItemTag[] values()
for (ItemTag c : ItemTag.values()) System.out.println(c);
public static ItemTag 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 null