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