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