public static enum RotationMoveEvent.Type extends java.lang.Enum<RotationMoveEvent.Type>
Enum Constant and Description |
---|
JUMP
Called when the player jumps.
|
MOTION_UPDATE
Called when the player's motion is updated.
|
Modifier and Type | Method and Description |
---|---|
static RotationMoveEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RotationMoveEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotationMoveEvent.Type MOTION_UPDATE
Entity.moveRelative(float, float, float, float)
public static final RotationMoveEvent.Type JUMP
EntityLivingBase.jump()
public static RotationMoveEvent.Type[] values()
for (RotationMoveEvent.Type c : RotationMoveEvent.Type.values()) System.out.println(c);
public static RotationMoveEvent.Type 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