22 lines
48 KiB
Java
22 lines
48 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 ArmadilloAnimation {
|
|
public static final AnimationDefinition ARMADILLO_ROLL_UP = AnimationDefinition.Builder.withLength(0.5f).addAnimation("body", 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))).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.1667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 6.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 6.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.375f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -1.0f, -1.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("tail", 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))).addAnimation("tail", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -2.0f), AnimationChannel.Interpolations.LINEAR))).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.1667f, (Vector3fc)KeyframeAnimations.degreeVec(17.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(-72.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("head", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.0f, 1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.0f, 1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2917f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.0f, 6.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.375f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.0f, 7.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_hind_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(-35.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_hind_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.1667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 5.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1875f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 8.0f, -3.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 8.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 8.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.375f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 3.0f, -6.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_hind_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(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_hind_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.1667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 5.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1875f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 8.0f, -3.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 8.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 8.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.375f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 3.0f, -6.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_front_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(-27.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.degreeVec(-32.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(-85.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_front_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.1667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1875f, (Vector3fc)KeyframeAnimations.posVec(-0.5f, 11.5f, 0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 9.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 9.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.375f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, 3.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_front_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(-12.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.degreeVec(-35.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(-85.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_front_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.1667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1875f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 11.5f, 0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 9.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 9.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.375f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, 3.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("cube", 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.4167f, (Vector3fc)KeyframeAnimations.degreeVec(-2.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.degreeVec(5.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("cube", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 3.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1667f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 8.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 7.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 7.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, 1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.6f, 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 ARMADILLO_WALK = AnimationDefinition.Builder.withLength(1.4583f).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.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 4.6f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.2917f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 6.81f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.7083f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, -4.6f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, -6.89f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("body", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -0.2f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.7083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -0.2f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("tail", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(-9.17f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.degreeVec(5.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2083f, (Vector3fc)KeyframeAnimations.degreeVec(-8.24f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_hind_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(-50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.degreeVec(50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.degreeVec(50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2917f, (Vector3fc)KeyframeAnimations.degreeVec(-20.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.degreeVec(-50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_hind_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.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2917f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, -0.18f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_hind_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5417f, (Vector3fc)KeyframeAnimations.degreeVec(-20.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7083f, (Vector3fc)KeyframeAnimations.degreeVec(-50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2083f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.degreeVec(50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_hind_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.25f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5417f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, -0.18f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.25f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_front_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2917f, (Vector3fc)KeyframeAnimations.degreeVec(50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5417f, (Vector3fc)KeyframeAnimations.degreeVec(-20.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7083f, (Vector3fc)KeyframeAnimations.degreeVec(-50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2083f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.degreeVec(50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_front_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.25f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5417f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, -0.18f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2083f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.25f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_front_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(-50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.degreeVec(50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.degreeVec(50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2917f, (Vector3fc)KeyframeAnimations.degreeVec(-20.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.degreeVec(-50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_front_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.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2917f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, -0.18f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).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.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, -2.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7083f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 2.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4583f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).build();
|
|
public static final AnimationDefinition ARMADILLO_PEEK = AnimationDefinition.Builder.withLength(2.5f).addAnimation("head", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(-70.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.15f, (Vector3fc)KeyframeAnimations.degreeVec(-65.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4f, (Vector3fc)KeyframeAnimations.degreeVec(-50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9f, (Vector3fc)KeyframeAnimations.degreeVec(-7.5f, 0.0f, 45.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.15f, (Vector3fc)KeyframeAnimations.degreeVec(-7.5f, 0.0f, 45.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.degreeVec(-0.8639f, -1.4959f, -39.1287f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.6f, (Vector3fc)KeyframeAnimations.degreeVec(-0.8639f, -1.4959f, -39.1287f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.75f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.8f, (Vector3fc)KeyframeAnimations.degreeVec(-25.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.85f, (Vector3fc)KeyframeAnimations.degreeVec(-70.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("head", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 7.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.05f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 4.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.15f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 4.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 5.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.35f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.1f, 1.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.6f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.1f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.1f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.75f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.1f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.8f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.95f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, 5.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, 7.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.15f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, 8.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.3f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, 5.2f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_hind_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 3.0f, -2.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_hind_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 3.0f, -2.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_front_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5833f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.8333f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.75f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.8f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.95f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("right_front_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, 2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5833f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, 2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.6667f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, -2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.8333f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.75f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.95f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(2.0f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, 3.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(2.15f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 3.0f, 4.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_front_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.6667f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.8333f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.75f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.8f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.95f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_front_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, 2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.6667f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, 2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, -2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.8333f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.75f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.95f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(2.0f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, 3.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(2.15f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 3.0f, 4.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("cube", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.35f, (Vector3fc)KeyframeAnimations.degreeVec(15.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(-7.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.6f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.05f, (Vector3fc)KeyframeAnimations.degreeVec(-17.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.15f, (Vector3fc)KeyframeAnimations.degreeVec(-25.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.3f, (Vector3fc)KeyframeAnimations.degreeVec(12.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("cube", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.35f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.6f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.5f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.6f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.05f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.2f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.15f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.7f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.3f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.3f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).build();
|
|
public static final AnimationDefinition ARMADILLO_ROLL_OUT = AnimationDefinition.Builder.withLength(1.5f).addAnimation("head", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.1f, (Vector3fc)KeyframeAnimations.degreeVec(-50.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.15f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.65f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.85f, (Vector3fc)KeyframeAnimations.degreeVec(-2.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.95f, (Vector3fc)KeyframeAnimations.degreeVec(-7.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.05f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.degreeVec(7.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("head", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 5.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.05f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.15f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.1f, 1.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.03f, 0.13f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.4f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.03f, 0.13f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.65f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.03f, 0.13f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.1f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 4.1f, 2.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.85f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 5.1f, 3.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.1f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.95f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.9f, -0.8f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.05f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.9f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.6f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.15f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.4f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.2f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.2f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_hind_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 30.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.45f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_hind_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 3.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 8.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 3.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.45f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_hind_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, -30.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.45f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_hind_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 3.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 8.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 3.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.35f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 3.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.45f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("right_front_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.05f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.55f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.6f, (Vector3fc)KeyframeAnimations.degreeVec(-92.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 30.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.4f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.45f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("right_front_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, 2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.05f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, 2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.55f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, 2.63f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 2.0f, 2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 7.0f, 2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.posVec(-1.0f, 3.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.45f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("left_front_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.05f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.55f, (Vector3fc)KeyframeAnimations.degreeVec(-45.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.6f, (Vector3fc)KeyframeAnimations.degreeVec(-87.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.degreeVec(-90.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, -30.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.4f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.45f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("left_front_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, 2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.05f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, 2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.15f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.55f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, 1.88f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, 2.67f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 2.0f, 2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.2f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 8.0f, 2.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.posVec(1.06f, 5.06f, 1.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.posVec(1.0f, 3.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.4f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(1.45f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("cube", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.05f, (Vector3fc)KeyframeAnimations.degreeVec(15.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.15f, (Vector3fc)KeyframeAnimations.degreeVec(-7.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.degreeVec(-17.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.85f, (Vector3fc)KeyframeAnimations.degreeVec(-25.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.95f, (Vector3fc)KeyframeAnimations.degreeVec(12.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.05f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("cube", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.05f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.6f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.15f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.5f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.2f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.85f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.7f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.95f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.3f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.05f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 8.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("body", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(1.1f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.2f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 4.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.3f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 4.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.4f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).build();
|
|
}
|
|
|