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