Enum Constant and Description |
---|
BUILDER |
CANNON |
CRAFTING |
CROWBAR |
CUBOID |
DRAIN |
HARVESTER |
ICE |
LIGHTNING |
MAGNET |
PILLAR |
SELL |
SORT |
Modifier and Type | Method and Description |
---|---|
static ToolMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ToolMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToolMode BUILDER
public static final ToolMode CANNON
public static final ToolMode CRAFTING
public static final ToolMode CROWBAR
public static final ToolMode CUBOID
public static final ToolMode DRAIN
public static final ToolMode HARVESTER
public static final ToolMode ICE
public static final ToolMode LIGHTNING
public static final ToolMode MAGNET
public static final ToolMode PILLAR
public static final ToolMode SELL
public static final ToolMode SORT
public static ToolMode[] values()
for (ToolMode c : ToolMode.values()) System.out.println(c);
public static ToolMode 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