/* * 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 BreezeAnimation { public static final AnimationDefinition IDLE = AnimationDefinition.Builder.withLength(2.0f).looping().addAnimation("wind_top", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.25f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.posVec(-0.5f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.25f, (Vector3fc)KeyframeAnimations.posVec(-0.5f, 0.0f, 0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.75f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 0.0f, 0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.0f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_mid", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(-0.5f, 0.0f, -0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.posVec(-0.5f, 0.0f, 0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.5f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 0.0f, 0.5f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.0f, (Vector3fc)KeyframeAnimations.posVec(0.5f, 0.0f, -0.5f), 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.CATMULLROM), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 1.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM), new Keyframe(2.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.CATMULLROM))).addAnimation("rods", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 1080.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("rods", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(2.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).build(); public static final AnimationDefinition SHOOT = AnimationDefinition.Builder.withLength(1.125f).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(-12.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.degreeVec(-12.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9167f, (Vector3fc)KeyframeAnimations.degreeVec(5.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.125f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 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.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -2.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.7917f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -1.0f, 2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -1.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.125f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_bottom", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_mid", 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(12.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.degreeVec(12.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9167f, (Vector3fc)KeyframeAnimations.degreeVec(-10.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.125f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_mid", 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, 5.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 6.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9167f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.125f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_top", 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(15.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.degreeVec(15.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9167f, (Vector3fc)KeyframeAnimations.degreeVec(-10.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.125f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_top", 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, 3.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.8333f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 4.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.125f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).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.25f, (Vector3fc)KeyframeAnimations.degreeVec(12.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.75f, (Vector3fc)KeyframeAnimations.degreeVec(12.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9167f, (Vector3fc)KeyframeAnimations.degreeVec(-2.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.125f, (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.25f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 3.0f, 5.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.8333f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 3.0f, 6.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.9583f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 3.0f, -1.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.125f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("rods", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(1.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 360.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).build(); public static final AnimationDefinition JUMP = AnimationDefinition.Builder.withLength(0.5f).addAnimation("body", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -10.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.125f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 11.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (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(22.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2083f, (Vector3fc)KeyframeAnimations.degreeVec(-19.25f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_body", new AnimationChannel(AnimationChannel.Targets.SCALE, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.125f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.3f, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_bottom", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 90.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 360.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_bottom", new AnimationChannel(AnimationChannel.Targets.SCALE, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.125f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.1f, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_mid", 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(0.0f, 180.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_mid", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -6.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.125f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_top", 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(0.0f, 90.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_top", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.125f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 2.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("rods", 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(0.0f, 360.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).build(); public static final AnimationDefinition INHALE = AnimationDefinition.Builder.withLength(2.0f).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, -10.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -10.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.5f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.degreeVec(22.5f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_body", new AnimationChannel(AnimationChannel.Targets.SCALE, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_bottom", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 90.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_bottom", new AnimationChannel(AnimationChannel.Targets.SCALE, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.5f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_mid", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_mid", 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, -6.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -6.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_top", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_top", 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, -5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.posVec(0.0f, -5.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("rods", new AnimationChannel(AnimationChannel.Targets.ROTATION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.625f, (Vector3fc)KeyframeAnimations.degreeVec(0.0f, 360.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).build(); public static final AnimationDefinition SLIDE = AnimationDefinition.Builder.withLength(0.2f).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.2f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -6.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_mid", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -3.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_top", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.2f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -2.0f), AnimationChannel.Interpolations.LINEAR))).build(); public static final AnimationDefinition SLIDE_BACK = AnimationDefinition.Builder.withLength(0.1f).addAnimation("body", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -6.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_mid", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -3.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).addAnimation("wind_top", new AnimationChannel(AnimationChannel.Targets.POSITION, new Keyframe(0.0f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, -2.0f), AnimationChannel.Interpolations.LINEAR), new Keyframe(0.1f, (Vector3fc)KeyframeAnimations.posVec(0.0f, 0.0f, 0.0f), AnimationChannel.Interpolations.LINEAR))).build(); }