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<?> pModel, AnimationDefinition pAnimationDefinition, long pAccumulatedTime, float pScale, org.joml.Vector3f pAnimationVecCache) static org.joml.Vector3fdegreeVec(float pXDegrees, float pYDegrees, float pZDegrees) private static floatgetElapsedSeconds(AnimationDefinition pAnimationDefinition, long pAccumulatedTime) static org.joml.Vector3fposVec(float pX, float pY, float pZ) static org.joml.Vector3fscaleVec(double pXScale, double pYScale, double pZScale)
-
Constructor Details
-
KeyframeAnimations
public KeyframeAnimations()
-
-
Method Details
-
animate
public static void animate(HierarchicalModel<?> pModel, AnimationDefinition pAnimationDefinition, long pAccumulatedTime, float pScale, org.joml.Vector3f pAnimationVecCache) -
getElapsedSeconds
private static float getElapsedSeconds(AnimationDefinition pAnimationDefinition, long pAccumulatedTime) -
posVec
public static org.joml.Vector3f posVec(float pX, float pY, float pZ) -
degreeVec
public static org.joml.Vector3f degreeVec(float pXDegrees, float pYDegrees, float pZDegrees) -
scaleVec
public static org.joml.Vector3f scaleVec(double pXScale, double pYScale, double pZScale)
-