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