public static enum ItemBuilderAPI.ToolType extends java.lang.Enum<ItemBuilderAPI.ToolType>
| Enum Constant and Description |
|---|
AXE |
CUSTOM |
HOE |
PICKAXE |
SHOVEL |
SWORD |
| Modifier and Type | Method and Description |
|---|---|
static ItemBuilderAPI.ToolType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemBuilderAPI.ToolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemBuilderAPI.ToolType AXE
public static final ItemBuilderAPI.ToolType CUSTOM
public static final ItemBuilderAPI.ToolType HOE
public static final ItemBuilderAPI.ToolType PICKAXE
public static final ItemBuilderAPI.ToolType SHOVEL
public static final ItemBuilderAPI.ToolType SWORD
public static ItemBuilderAPI.ToolType[] values()
for (ItemBuilderAPI.ToolType c : ItemBuilderAPI.ToolType.values()) System.out.println(c);
public static ItemBuilderAPI.ToolType 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