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