Class KeyframeAnimations

java.lang.Object
net.minecraft.client.animation.KeyframeAnimations

public class KeyframeAnimations extends Object
  • 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)