public class ItemCameraTransforms
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ItemCameraTransforms.Deserializer |
static class |
ItemCameraTransforms.TransformType |
Modifier and Type | Field and Description |
---|---|
static ItemCameraTransforms |
DEFAULT |
ItemTransformVec3f |
firstperson_left |
ItemTransformVec3f |
firstperson_right |
ItemTransformVec3f |
fixed |
ItemTransformVec3f |
ground |
ItemTransformVec3f |
gui |
ItemTransformVec3f |
head |
static float |
offsetRotationX |
static float |
offsetRotationY |
static float |
offsetRotationZ |
static float |
offsetScaleX |
static float |
offsetScaleY |
static float |
offsetScaleZ |
static float |
offsetTranslateX |
static float |
offsetTranslateY |
static float |
offsetTranslateZ |
ItemTransformVec3f |
thirdperson_left |
ItemTransformVec3f |
thirdperson_right |
Modifier | Constructor and Description |
---|---|
private |
ItemCameraTransforms() |
|
ItemCameraTransforms(ItemCameraTransforms transforms)
Deprecated.
|
|
ItemCameraTransforms(ItemTransformVec3f thirdperson_leftIn,
ItemTransformVec3f thirdperson_rightIn,
ItemTransformVec3f firstperson_leftIn,
ItemTransformVec3f firstperson_rightIn,
ItemTransformVec3f headIn,
ItemTransformVec3f guiIn,
ItemTransformVec3f groundIn,
ItemTransformVec3f fixedIn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
applyTransform(ItemCameraTransforms.TransformType type) |
static void |
applyTransformSide(ItemTransformVec3f vec,
boolean leftHand) |
ItemTransformVec3f |
getTransform(ItemCameraTransforms.TransformType type)
Deprecated.
|
boolean |
hasCustomTransform(ItemCameraTransforms.TransformType type) |
private static org.lwjgl.util.vector.Quaternion |
makeQuaternion(float p_188035_0_,
float p_188035_1_,
float p_188035_2_) |
public static final ItemCameraTransforms DEFAULT
public static float offsetTranslateX
public static float offsetTranslateY
public static float offsetTranslateZ
public static float offsetRotationX
public static float offsetRotationY
public static float offsetRotationZ
public static float offsetScaleX
public static float offsetScaleY
public static float offsetScaleZ
public final ItemTransformVec3f thirdperson_left
public final ItemTransformVec3f thirdperson_right
public final ItemTransformVec3f firstperson_left
public final ItemTransformVec3f firstperson_right
public final ItemTransformVec3f head
public final ItemTransformVec3f gui
public final ItemTransformVec3f ground
public final ItemTransformVec3f fixed
private ItemCameraTransforms()
@Deprecated public ItemCameraTransforms(ItemCameraTransforms transforms)
@Deprecated public ItemCameraTransforms(ItemTransformVec3f thirdperson_leftIn, ItemTransformVec3f thirdperson_rightIn, ItemTransformVec3f firstperson_leftIn, ItemTransformVec3f firstperson_rightIn, ItemTransformVec3f headIn, ItemTransformVec3f guiIn, ItemTransformVec3f groundIn, ItemTransformVec3f fixedIn)
public void applyTransform(ItemCameraTransforms.TransformType type)
public static void applyTransformSide(ItemTransformVec3f vec, boolean leftHand)
private static org.lwjgl.util.vector.Quaternion makeQuaternion(float p_188035_0_, float p_188035_1_, float p_188035_2_)
@Deprecated public ItemTransformVec3f getTransform(ItemCameraTransforms.TransformType type)
public boolean hasCustomTransform(ItemCameraTransforms.TransformType type)