@Environment(value=CLIENT) public class ModelTransformation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelTransformation.Deserializer |
static class |
ModelTransformation.Mode |
Modifier and Type | Field and Description |
---|---|
Transformation |
firstPersonLeftHand |
Transformation |
firstPersonRightHand |
Transformation |
fixed |
Transformation |
ground |
Transformation |
gui |
Transformation |
head |
static ModelTransformation |
NONE |
Transformation |
thirdPersonLeftHand |
Transformation |
thirdPersonRightHand |
Modifier | Constructor and Description |
---|---|
private |
ModelTransformation() |
|
ModelTransformation(ModelTransformation other) |
|
ModelTransformation(Transformation thirdPersonLeftHand,
Transformation thirdPersonRightHand,
Transformation firstPersonLeftHand,
Transformation firstPersonRightHand,
Transformation head,
Transformation gui,
Transformation ground,
Transformation fixed) |
Modifier and Type | Method and Description |
---|---|
Transformation |
getTransformation(ModelTransformation.Mode renderMode) |
boolean |
isTransformationDefined(ModelTransformation.Mode renderMode) |
public static final ModelTransformation NONE
public final Transformation thirdPersonLeftHand
public final Transformation thirdPersonRightHand
public final Transformation firstPersonLeftHand
public final Transformation firstPersonRightHand
public final Transformation head
public final Transformation gui
public final Transformation ground
public final Transformation fixed
private ModelTransformation()
public ModelTransformation(ModelTransformation other)
public ModelTransformation(Transformation thirdPersonLeftHand, Transformation thirdPersonRightHand, Transformation firstPersonLeftHand, Transformation firstPersonRightHand, Transformation head, Transformation gui, Transformation ground, Transformation fixed)
public Transformation getTransformation(ModelTransformation.Mode renderMode)
public boolean isTransformationDefined(ModelTransformation.Mode renderMode)