Package net.minecraft.client.animation
Class KeyframeAnimations
java.lang.Object
net.minecraft.client.animation.KeyframeAnimations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidanimate(HierarchicalModel<?> model, AnimationDefinition animationDefinition, long accumulatedTime, float scale, Vector3f animationVecCache) static Vector3fdegreeVec(float xDegrees, float yDegrees, float zDegrees) private static floatgetElapsedSeconds(AnimationDefinition animationDefinition, long accumulatedTime) static Vector3fposVec(float x, float y, float z) static Vector3fscaleVec(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, Vector3f animationVecCache) -
getElapsedSeconds
private static float getElapsedSeconds(AnimationDefinition animationDefinition, long accumulatedTime) -
posVec
-
degreeVec
-
scaleVec
-