public enum CaptureType extends Enum<CaptureType>
Enum Constant and Description |
---|
BREAK |
FLUID |
MODIFY |
PLACE |
POPULATE |
Modifier and Type | Method and Description |
---|---|
static CaptureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaptureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptureType BREAK
public static final CaptureType FLUID
public static final CaptureType MODIFY
public static final CaptureType PLACE
public static final CaptureType POPULATE
public static CaptureType[] values()
for (CaptureType c : CaptureType.values()) System.out.println(c);
public static CaptureType 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 null