2025-11-24 22:52:51 +03:00

24 lines
27 KiB
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* org.joml.Vector3fc
*/
package net.minecraft.client.animation.definitions;
import net.minecraft.client.animation.AnimationChannel;
import net.minecraft.client.animation.AnimationDefinition;
import net.minecraft.client.animation.Keyframe;
import net.minecraft.client.animation.KeyframeAnimations;
import org.joml.Vector3fc;
public class FrogAnimation {
public static final AnimationDefinition FROG_CROAK = AnimationDefinition.Builder.withLength(3.0f).addAnimation("croaking_body", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.375f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4167f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.9583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("croaking_body", new AnimationChannel(AnimationChannel.Targets.SCALE, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.scaleVec(0.0, 0.0, 0.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.375f, (Vector3fc)KeyframeAnimations.scaleVec(0.0, 0.0, 0.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4167f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5417f, (Vector3fc)KeyframeAnimations.scaleVec(1.3f, 2.1f, 1.6f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.scaleVec(1.3f, 2.1f, 1.6f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7083f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.25f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.3333f, (Vector3fc)KeyframeAnimations.scaleVec(1.3f, 2.1f, 1.6f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.4167f, (Vector3fc)KeyframeAnimations.scaleVec(1.3f, 2.1f, 1.6f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.5f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.5833f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.6667f, (Vector3fc)KeyframeAnimations.scaleVec(1.3f, 2.1f, 1.6f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.875f, (Vector3fc)KeyframeAnimations.scaleVec(1.3f, 2.1f, 1.6f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.9583f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.scaleVec(0.0, 0.0, 0.0), AnimationChannel.Interpolations.LINEAR))).build();
public static final AnimationDefinition FROG_WALK = AnimationDefinition.Builder.withLength(1.25f).looping().addAnimation("left_arm", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, -5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2917f, (Vector3fc)KeyframeAnimations.degreeVec(7.5f, -2.67f, -7.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7917f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.125f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, -5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_arm", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2917f, (Vector3fc)KeyframeAnimations.posVec(-0.5f, -0.25f, -0.13f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.posVec(-0.5f, 0.1f, 2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 1.0f, -0.11f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, -2.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_arm", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.125f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.degreeVec(7.5f, 2.33f, 7.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_arm", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 0.1f, 2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2917f, (Vector3fc)KeyframeAnimations.posVec(-0.5f, 1.0f, 0.12f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(0.5f, -0.25f, -0.13f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 0.1f, 2.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1667f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2917f, (Vector3fc)KeyframeAnimations.degreeVec(45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7917f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, 1.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, 2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.0f, 1.06f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7917f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, 1.2f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(-33.75f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.0417f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1667f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7917f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.degreeVec(45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.degreeVec(-33.75f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.14f, 0.11f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7917f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, 2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.125f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.0f, 0.95f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.14f, 0.11f), AnimationChannel.Interpolations.LINEAR))).addAnimation("body", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2917f, (Vector3fc)KeyframeAnimations.degreeVec(-7.5f, 0.33f, 7.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, -5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.degreeVec(-7.5f, 0.33f, -7.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).build();
public static final AnimationDefinition FROG_JUMP = AnimationDefinition.Builder.withLength(0.5f).addAnimation("body", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(-22.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(-22.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("body", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_arm", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(-56.14f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(-56.14f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_arm", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_arm", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(-56.14f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(-56.14f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_arm", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).build();
public static final AnimationDefinition FROG_TONGUE = AnimationDefinition.Builder.withLength(0.5f).addAnimation("head", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.0833f, (Vector3fc)KeyframeAnimations.degreeVec(-60.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4167f, (Vector3fc)KeyframeAnimations.degreeVec(-60.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("head", new AnimationChannel(AnimationChannel.Targets.SCALE, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(1.0f, 1.0f, 1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.0833f, (Vector3fc)KeyframeAnimations.degreeVec(0.998f, 1.0f, 1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4167f, (Vector3fc)KeyframeAnimations.degreeVec(0.998f, 1.0f, 1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(1.0f, 1.0f, 1.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("tongue", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.0833f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4167f, (Vector3fc)KeyframeAnimations.degreeVec(-18.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("tongue", new AnimationChannel(AnimationChannel.Targets.SCALE, new Keyframe(0.0833f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1667f, (Vector3fc)KeyframeAnimations.scaleVec(0.5, 1.0, 5.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4167f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR))).build();
public static final AnimationDefinition FROG_SWIM = AnimationDefinition.Builder.withLength(1.04167f).looping().addAnimation("body", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.3333f, (Vector3fc)KeyframeAnimations.degreeVec(10.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.6667f, (Vector3fc)KeyframeAnimations.degreeVec(-10.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0417f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_arm", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.degreeVec(45.0f, 22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.6667f, (Vector3fc)KeyframeAnimations.degreeVec(-22.5f, -22.5f, -22.5f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.875f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, -22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, 0.0f, 22.5f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0417f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_arm", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -0.64f, 2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -0.64f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.6667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.875f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -0.27f, -1.14f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -1.45f, 0.43f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0417f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -0.64f, 2.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("right_arm", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, -22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.degreeVec(45.0f, -22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.6667f, (Vector3fc)KeyframeAnimations.degreeVec(-22.5f, 22.5f, 22.5f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.875f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, 0.0f, -22.5f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0417f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, -22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("right_arm", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -0.64f, 2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -0.64f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.6667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.875f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -0.27f, -1.14f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -1.45f, 0.43f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0417f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -0.64f, 2.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.degreeVec(67.5f, -45.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.7917f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 45.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0417f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(-2.5f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(-2.0f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.posVec(1.0f, -2.0f, -1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.7917f, (Vector3fc)KeyframeAnimations.posVec(0.58f, 0.0f, -2.83f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(-2.5f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0417f, (Vector3fc)KeyframeAnimations.posVec(-2.5f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("right_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.degreeVec(67.5f, 45.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.7917f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, -45.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0417f, (Vector3fc)KeyframeAnimations.degreeVec(90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("right_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(2.5f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(2.0f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, -2.0f, -1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.7917f, (Vector3fc)KeyframeAnimations.posVec(-0.58f, 0.0f, -2.83f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(2.5f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0417f, (Vector3fc)KeyframeAnimations.posVec(2.5f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM))).build();
public static final AnimationDefinition FROG_IDLE_WATER = AnimationDefinition.Builder.withLength(3.0f).looping().addAnimation("body", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.625f, (Vector3fc)KeyframeAnimations.degreeVec(-10.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_arm", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, -22.5f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(2.2083f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, -45.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, -22.5f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_arm", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(2.2083f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, -0.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("right_arm", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 22.5f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(2.2083f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 45.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 22.5f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("right_arm", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(2.2083f, (Vector3fc)KeyframeAnimations.posVec(1.0f, -0.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, -22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, -22.5f, -45.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, -22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -1.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("right_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, 22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, 22.5f, 45.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, 22.5f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("right_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -1.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(3.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 1.0f), AnimationChannel.Interpolations.CATMULLROM))).build();
}