@Environment(value=CLIENT) public static enum ModelTransformation.Mode extends Enum<ModelTransformation.Mode>
| Enum Constant and Description |
|---|
FIRST_PERSON_LEFT_HAND |
FIRST_PERSON_RIGHT_HAND |
FIXED |
GROUND |
GUI |
HEAD |
NONE |
THIRD_PERSON_LEFT_HAND |
THIRD_PERSON_RIGHT_HAND |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFirstPerson() |
static ModelTransformation.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelTransformation.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelTransformation.Mode NONE
public static final ModelTransformation.Mode THIRD_PERSON_LEFT_HAND
public static final ModelTransformation.Mode THIRD_PERSON_RIGHT_HAND
public static final ModelTransformation.Mode FIRST_PERSON_LEFT_HAND
public static final ModelTransformation.Mode FIRST_PERSON_RIGHT_HAND
public static final ModelTransformation.Mode HEAD
public static final ModelTransformation.Mode GUI
public static final ModelTransformation.Mode GROUND
public static final ModelTransformation.Mode FIXED
public static ModelTransformation.Mode[] values()
for (ModelTransformation.Mode c : ModelTransformation.Mode.values()) System.out.println(c);
public static ModelTransformation.Mode 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 nullpublic boolean isFirstPerson()