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