Package net.minecraft.client.animation
Class KeyframeAnimations
java.lang.Object
net.minecraft.client.animation.KeyframeAnimations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
animate
(HierarchicalModel<?> model, AnimationDefinition animationDefinition, long accumulatedTime, float scale, org.joml.Vector3f animationVecCache) static org.joml.Vector3f
degreeVec
(float xDegrees, float yDegrees, float zDegrees) private static float
getElapsedSeconds
(AnimationDefinition animationDefinition, long accumulatedTime) static org.joml.Vector3f
posVec
(float x, float y, float z) static org.joml.Vector3f
scaleVec
(double xScale, double yScale, double zScale)
-
Constructor Details
-
KeyframeAnimations
public KeyframeAnimations()
-
-
Method Details
-
animate
public static void animate(HierarchicalModel<?> model, AnimationDefinition animationDefinition, long accumulatedTime, float scale, org.joml.Vector3f animationVecCache) -
getElapsedSeconds
private static float getElapsedSeconds(AnimationDefinition animationDefinition, long accumulatedTime) -
posVec
public static org.joml.Vector3f posVec(float x, float y, float z) -
degreeVec
public static org.joml.Vector3f degreeVec(float xDegrees, float yDegrees, float zDegrees) -
scaleVec
public static org.joml.Vector3f scaleVec(double xScale, double yScale, double zScale)
-