| 1 | package net.minecraft.client.animation.definitions;
|
| 2 |
|
| 3 | import net.fabricmc.api.EnvType;
|
| 4 | import net.fabricmc.api.Environment;
|
| 5 | import net.minecraft.client.animation.AnimationChannel;
|
| 6 | import net.minecraft.client.animation.AnimationDefinition;
|
| 7 | import net.minecraft.client.animation.Keyframe;
|
| 8 | import net.minecraft.client.animation.KeyframeAnimations;
|
| 9 |
|
| 10 | @Environment(EnvType.CLIENT)
|
| 11 | public class BabyRabbitAnimation {
|
| 12 | public static final AnimationDefinition HOP = AnimationDefinition.Builder.withLength(0.75F)
|
| 13 | .looping()
|
| 14 | .addAnimation(
|
| 15 | "body",
|
| 16 | new AnimationChannel(
|
| 17 | AnimationChannel.Targets.ROTATION,
|
| 18 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.01F), AnimationChannel.Interpolations.LINEAR),
|
| 19 | new Keyframe(0.125F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.01F), AnimationChannel.Interpolations.LINEAR),
|
| 20 | new Keyframe(0.2083F, KeyframeAnimations.degreeVec(3.75F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 21 | new Keyframe(0.2917F, KeyframeAnimations.degreeVec(32.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 22 | new Keyframe(0.4167F, KeyframeAnimations.degreeVec(33.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 23 | new Keyframe(0.5833F, KeyframeAnimations.degreeVec(18.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 24 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.01F), AnimationChannel.Interpolations.LINEAR)
|
| 25 | )
|
| 26 | )
|
| 27 | .addAnimation(
|
| 28 | "body",
|
| 29 | new AnimationChannel(
|
| 30 | AnimationChannel.Targets.POSITION,
|
| 31 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 32 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 33 | )
|
| 34 | )
|
| 35 | .addAnimation(
|
| 36 | "head",
|
| 37 | new AnimationChannel(
|
| 38 | AnimationChannel.Targets.ROTATION,
|
| 39 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 40 | new Keyframe(0.125F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 41 | new Keyframe(0.2083F, KeyframeAnimations.degreeVec(-5.25F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 42 | new Keyframe(0.2917F, KeyframeAnimations.degreeVec(-32.17F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 43 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(-34.58F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 44 | new Keyframe(0.5833F, KeyframeAnimations.degreeVec(-20.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 45 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 46 | )
|
| 47 | )
|
| 48 | .addAnimation(
|
| 49 | "head",
|
| 50 | new AnimationChannel(
|
| 51 | AnimationChannel.Targets.POSITION,
|
| 52 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 53 | new Keyframe(0.125F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 54 | new Keyframe(0.375F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 55 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 56 | )
|
| 57 | )
|
| 58 | .addAnimation(
|
| 59 | "backlegs",
|
| 60 | new AnimationChannel(
|
| 61 | AnimationChannel.Targets.ROTATION,
|
| 62 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 63 | new Keyframe(0.125F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 64 | new Keyframe(0.25F, KeyframeAnimations.degreeVec(125.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 65 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(125.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 66 | new Keyframe(0.4583F, KeyframeAnimations.degreeVec(95.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 67 | new Keyframe(0.5417F, KeyframeAnimations.degreeVec(42.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 68 | new Keyframe(0.6667F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 69 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 70 | )
|
| 71 | )
|
| 72 | .addAnimation(
|
| 73 | "backlegs",
|
| 74 | new AnimationChannel(
|
| 75 | AnimationChannel.Targets.POSITION,
|
| 76 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 77 | new Keyframe(0.6667F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 78 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 79 | )
|
| 80 | )
|
| 81 | .addAnimation(
|
| 82 | "frontlegs",
|
| 83 | new AnimationChannel(
|
| 84 | AnimationChannel.Targets.ROTATION,
|
| 85 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(-0.17F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 86 | new Keyframe(0.125F, KeyframeAnimations.degreeVec(-0.17F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 87 | new Keyframe(0.2083F, KeyframeAnimations.degreeVec(14.61F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 88 | new Keyframe(0.3333F, KeyframeAnimations.degreeVec(-74.37F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 89 | new Keyframe(0.5F, KeyframeAnimations.degreeVec(-78.19F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 90 | new Keyframe(0.5417F, KeyframeAnimations.degreeVec(-62.47F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 91 | new Keyframe(0.625F, KeyframeAnimations.degreeVec(-1.25F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 92 | new Keyframe(0.749F, KeyframeAnimations.degreeVec(-1.25F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 93 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 94 | )
|
| 95 | )
|
| 96 | .addAnimation(
|
| 97 | "frontlegs",
|
| 98 | new AnimationChannel(
|
| 99 | AnimationChannel.Targets.POSITION,
|
| 100 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 101 | new Keyframe(0.125F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 102 | new Keyframe(0.2083F, KeyframeAnimations.posVec(0.0F, -0.16F, 0.16F), AnimationChannel.Interpolations.LINEAR),
|
| 103 | new Keyframe(0.3333F, KeyframeAnimations.posVec(0.0F, 0.1F, -0.1F), AnimationChannel.Interpolations.CATMULLROM),
|
| 104 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 105 | )
|
| 106 | )
|
| 107 | .addAnimation(
|
| 108 | "right_front_leg",
|
| 109 | new AnimationChannel(
|
| 110 | AnimationChannel.Targets.ROTATION,
|
| 111 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 112 | new Keyframe(0.125F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 113 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(0.0F, 0.0F, -8.45F), AnimationChannel.Interpolations.CATMULLROM),
|
| 114 | new Keyframe(0.4583F, KeyframeAnimations.degreeVec(0.0F, 0.0F, -8.48F), AnimationChannel.Interpolations.CATMULLROM),
|
| 115 | new Keyframe(0.5833F, KeyframeAnimations.degreeVec(0.0F, 0.0F, -2.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 116 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM)
|
| 117 | )
|
| 118 | )
|
| 119 | .addAnimation(
|
| 120 | "right_front_leg",
|
| 121 | new AnimationChannel(
|
| 122 | AnimationChannel.Targets.POSITION,
|
| 123 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 124 | new Keyframe(0.125F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 125 | new Keyframe(0.2083F, KeyframeAnimations.posVec(0.0F, 0.5F, -0.5F), AnimationChannel.Interpolations.CATMULLROM),
|
| 126 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 127 | )
|
| 128 | )
|
| 129 | .addAnimation(
|
| 130 | "left_front_leg",
|
| 131 | new AnimationChannel(
|
| 132 | AnimationChannel.Targets.ROTATION,
|
| 133 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 134 | new Keyframe(0.125F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 135 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 10.44F), AnimationChannel.Interpolations.CATMULLROM),
|
| 136 | new Keyframe(0.4583F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 10.61F), AnimationChannel.Interpolations.CATMULLROM),
|
| 137 | new Keyframe(0.5833F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 2.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 138 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM)
|
| 139 | )
|
| 140 | )
|
| 141 | .addAnimation(
|
| 142 | "left_front_leg",
|
| 143 | new AnimationChannel(
|
| 144 | AnimationChannel.Targets.POSITION,
|
| 145 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 146 | new Keyframe(0.125F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 147 | new Keyframe(0.2083F, KeyframeAnimations.posVec(0.0F, 0.5F, -0.5F), AnimationChannel.Interpolations.CATMULLROM),
|
| 148 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 149 | )
|
| 150 | )
|
| 151 | .addAnimation(
|
| 152 | "left_ear",
|
| 153 | new AnimationChannel(
|
| 154 | AnimationChannel.Targets.ROTATION,
|
| 155 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 156 | new Keyframe(0.1667F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 157 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(-48.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 158 | new Keyframe(0.5417F, KeyframeAnimations.degreeVec(-41.24F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 159 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 160 | )
|
| 161 | )
|
| 162 | .addAnimation(
|
| 163 | "left_ear",
|
| 164 | new AnimationChannel(
|
| 165 | AnimationChannel.Targets.POSITION,
|
| 166 | new Keyframe(0.0F, KeyframeAnimations.posVec(-0.02F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 167 | new Keyframe(0.1667F, KeyframeAnimations.posVec(-0.02F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 168 | new Keyframe(0.375F, KeyframeAnimations.posVec(-0.025F, -0.5F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 169 | new Keyframe(0.5417F, KeyframeAnimations.posVec(-0.02F, -0.38F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 170 | new Keyframe(0.75F, KeyframeAnimations.posVec(-0.02F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM)
|
| 171 | )
|
| 172 | )
|
| 173 | .addAnimation(
|
| 174 | "right_ear",
|
| 175 | new AnimationChannel(
|
| 176 | AnimationChannel.Targets.ROTATION,
|
| 177 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 178 | new Keyframe(0.1667F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 179 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(-44.95F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 180 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM)
|
| 181 | )
|
| 182 | )
|
| 183 | .addAnimation(
|
| 184 | "right_ear",
|
| 185 | new AnimationChannel(
|
| 186 | AnimationChannel.Targets.POSITION,
|
| 187 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.05F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 188 | new Keyframe(0.1667F, KeyframeAnimations.posVec(0.05F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 189 | new Keyframe(0.3333F, KeyframeAnimations.posVec(0.05F, -0.475F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 190 | new Keyframe(0.5417F, KeyframeAnimations.posVec(0.04F, -0.385F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 191 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.05F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM)
|
| 192 | )
|
| 193 | )
|
| 194 | .addAnimation(
|
| 195 | "right_hind_leg",
|
| 196 | new AnimationChannel(
|
| 197 | AnimationChannel.Targets.ROTATION,
|
| 198 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, -2.5F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 199 | new Keyframe(0.0833F, KeyframeAnimations.degreeVec(0.0F, -2.5F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 200 | new Keyframe(0.25F, KeyframeAnimations.degreeVec(-25.0F, -22.5F, -17.5F), AnimationChannel.Interpolations.CATMULLROM),
|
| 201 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(-25.0F, -22.5F, -17.5F), AnimationChannel.Interpolations.CATMULLROM),
|
| 202 | new Keyframe(0.5417F, KeyframeAnimations.degreeVec(0.0F, -2.5F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 203 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, -2.5F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 204 | )
|
| 205 | )
|
| 206 | .addAnimation(
|
| 207 | "right_hind_leg",
|
| 208 | new AnimationChannel(
|
| 209 | AnimationChannel.Targets.POSITION,
|
| 210 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 211 | new Keyframe(0.6667F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 212 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 213 | )
|
| 214 | )
|
| 215 | .addAnimation(
|
| 216 | "left_hind_leg",
|
| 217 | new AnimationChannel(
|
| 218 | AnimationChannel.Targets.ROTATION,
|
| 219 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 220 | new Keyframe(0.0833F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 221 | new Keyframe(0.25F, KeyframeAnimations.degreeVec(-25.0F, 25.0F, 22.5F), AnimationChannel.Interpolations.CATMULLROM),
|
| 222 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(-25.0F, 25.0F, 22.5F), AnimationChannel.Interpolations.CATMULLROM),
|
| 223 | new Keyframe(0.5417F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 224 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 225 | )
|
| 226 | )
|
| 227 | .addAnimation(
|
| 228 | "left_hind_leg",
|
| 229 | new AnimationChannel(
|
| 230 | AnimationChannel.Targets.POSITION,
|
| 231 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 232 | new Keyframe(0.6667F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 233 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 234 | )
|
| 235 | )
|
| 236 | .addAnimation(
|
| 237 | "tail",
|
| 238 | new AnimationChannel(
|
| 239 | AnimationChannel.Targets.ROTATION,
|
| 240 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 241 | new Keyframe(0.125F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 242 | new Keyframe(0.3333F, KeyframeAnimations.degreeVec(15.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 243 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(47.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 244 | new Keyframe(0.5F, KeyframeAnimations.degreeVec(43.33F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 245 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM)
|
| 246 | )
|
| 247 | )
|
| 248 | .addAnimation(
|
| 249 | "tail",
|
| 250 | new AnimationChannel(
|
| 251 | AnimationChannel.Targets.POSITION,
|
| 252 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 253 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 254 | )
|
| 255 | )
|
| 256 | .build();
|
| 257 | public static final AnimationDefinition IDLE_HEAD_TILT = AnimationDefinition.Builder.withLength(4.0F)
|
| 258 | .addAnimation(
|
| 259 | "body",
|
| 260 | new AnimationChannel(
|
| 261 | AnimationChannel.Targets.ROTATION,
|
| 262 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 263 | new Keyframe(0.25F, KeyframeAnimations.degreeVec(-62.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 264 | new Keyframe(0.3333F, KeyframeAnimations.degreeVec(-57.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 265 | new Keyframe(0.7083F, KeyframeAnimations.degreeVec(-57.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 266 | new Keyframe(0.875F, KeyframeAnimations.degreeVec(-57.0F, 12.0F, 2.0F), AnimationChannel.Interpolations.LINEAR),
|
| 267 | new Keyframe(0.9583F, KeyframeAnimations.degreeVec(-57.0F, 5.0F, 1.0F), AnimationChannel.Interpolations.LINEAR),
|
| 268 | new Keyframe(1.5417F, KeyframeAnimations.degreeVec(-57.0F, 5.0F, 1.0F), AnimationChannel.Interpolations.LINEAR),
|
| 269 | new Keyframe(1.7083F, KeyframeAnimations.degreeVec(-56.5F, -16.0F, -3.0F), AnimationChannel.Interpolations.LINEAR),
|
| 270 | new Keyframe(1.7917F, KeyframeAnimations.degreeVec(-57.0F, -7.5F, -1.5F), AnimationChannel.Interpolations.LINEAR),
|
| 271 | new Keyframe(2.5417F, KeyframeAnimations.degreeVec(-57.0F, -7.5F, -1.5F), AnimationChannel.Interpolations.LINEAR),
|
| 272 | new Keyframe(2.7083F, KeyframeAnimations.degreeVec(-57.0F, 11.0F, 2.0F), AnimationChannel.Interpolations.LINEAR),
|
| 273 | new Keyframe(2.7917F, KeyframeAnimations.degreeVec(-57.0F, 5.0F, 1.0F), AnimationChannel.Interpolations.LINEAR),
|
| 274 | new Keyframe(2.9583F, KeyframeAnimations.degreeVec(-57.0F, 5.0F, 1.0F), AnimationChannel.Interpolations.LINEAR),
|
| 275 | new Keyframe(3.1667F, KeyframeAnimations.degreeVec(-57.0F, 5.0F, 1.0F), AnimationChannel.Interpolations.LINEAR),
|
| 276 | new Keyframe(3.25F, KeyframeAnimations.degreeVec(-57.5F, 5.0F, 1.0F), AnimationChannel.Interpolations.LINEAR),
|
| 277 | new Keyframe(3.4583F, KeyframeAnimations.degreeVec(-60.0F, 5.0F, 0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 278 | new Keyframe(3.5833F, KeyframeAnimations.degreeVec(-60.0F, 5.0F, 0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 279 | new Keyframe(3.6667F, KeyframeAnimations.degreeVec(-39.5F, 3.5F, 0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 280 | new Keyframe(3.8333F, KeyframeAnimations.degreeVec(10.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 281 | new Keyframe(3.9167F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 282 | )
|
| 283 | )
|
| 284 | .addAnimation(
|
| 285 | "body",
|
| 286 | new AnimationChannel(
|
| 287 | AnimationChannel.Targets.POSITION,
|
| 288 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 289 | new Keyframe(0.1667F, KeyframeAnimations.posVec(0.0F, 0.7F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 290 | new Keyframe(0.25F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 291 | new Keyframe(3.8333F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 292 | new Keyframe(3.9167F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 293 | )
|
| 294 | )
|
| 295 | .addAnimation(
|
| 296 | "body",
|
| 297 | new AnimationChannel(
|
| 298 | AnimationChannel.Targets.SCALE,
|
| 299 | new Keyframe(0.0F, KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR),
|
| 300 | new Keyframe(3.8333F, KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR),
|
| 301 | new Keyframe(3.9167F, KeyframeAnimations.scaleVec(1.0, 1.0, 1.0), AnimationChannel.Interpolations.LINEAR)
|
| 302 | )
|
| 303 | )
|
| 304 | .addAnimation(
|
| 305 | "tail",
|
| 306 | new AnimationChannel(
|
| 307 | AnimationChannel.Targets.ROTATION,
|
| 308 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(55.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 309 | new Keyframe(0.0833F, KeyframeAnimations.degreeVec(55.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 310 | new Keyframe(0.2083F, KeyframeAnimations.degreeVec(37.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 311 | new Keyframe(0.25F, KeyframeAnimations.degreeVec(72.25F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 312 | new Keyframe(0.2917F, KeyframeAnimations.degreeVec(72.25F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 313 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(72.25F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 314 | new Keyframe(0.7083F, KeyframeAnimations.degreeVec(72.25F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 315 | new Keyframe(0.8333F, KeyframeAnimations.degreeVec(72.25F, -3.5F, -19.5F), AnimationChannel.Interpolations.CATMULLROM),
|
| 316 | new Keyframe(0.9167F, KeyframeAnimations.degreeVec(72.25F, 1.5F, 15.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 317 | new Keyframe(1.0417F, KeyframeAnimations.degreeVec(72.25F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 318 | new Keyframe(1.5417F, KeyframeAnimations.degreeVec(72.25F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 319 | new Keyframe(1.625F, KeyframeAnimations.degreeVec(72.25F, 2.5F, 12.5F), AnimationChannel.Interpolations.CATMULLROM),
|
| 320 | new Keyframe(1.7083F, KeyframeAnimations.degreeVec(72.25F, 4.5F, 25.5F), AnimationChannel.Interpolations.CATMULLROM),
|
| 321 | new Keyframe(1.7917F, KeyframeAnimations.degreeVec(72.25F, -3.0F, -26.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 322 | new Keyframe(1.875F, KeyframeAnimations.degreeVec(72.25F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 323 | new Keyframe(2.5417F, KeyframeAnimations.degreeVec(71.75F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 324 | new Keyframe(2.7083F, KeyframeAnimations.degreeVec(71.75F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 325 | new Keyframe(2.7917F, KeyframeAnimations.degreeVec(76.75F, 17.5F, 17.5F), AnimationChannel.Interpolations.LINEAR),
|
| 326 | new Keyframe(2.875F, KeyframeAnimations.degreeVec(71.75F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 327 | new Keyframe(3.5833F, KeyframeAnimations.degreeVec(71.75F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 328 | new Keyframe(3.8333F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 329 | new Keyframe(3.9167F, KeyframeAnimations.degreeVec(32.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 330 | new Keyframe(4.0F, KeyframeAnimations.degreeVec(55.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 331 | )
|
| 332 | )
|
| 333 | .addAnimation(
|
| 334 | "tail",
|
| 335 | new AnimationChannel(
|
| 336 | AnimationChannel.Targets.POSITION,
|
| 337 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 338 | new Keyframe(0.25F, KeyframeAnimations.posVec(0.0F, 0.4294F, -0.6732F), AnimationChannel.Interpolations.LINEAR),
|
| 339 | new Keyframe(0.7083F, KeyframeAnimations.posVec(0.0F, 0.4294F, -0.6732F), AnimationChannel.Interpolations.LINEAR),
|
| 340 | new Keyframe(0.8333F, KeyframeAnimations.posVec(0.0F, 0.4294F, -0.6732F), AnimationChannel.Interpolations.LINEAR),
|
| 341 | new Keyframe(0.9167F, KeyframeAnimations.posVec(0.0F, 0.4294F, -0.6732F), AnimationChannel.Interpolations.LINEAR),
|
| 342 | new Keyframe(1.0417F, KeyframeAnimations.posVec(0.0F, 0.4294F, -0.6732F), AnimationChannel.Interpolations.LINEAR),
|
| 343 | new Keyframe(1.5417F, KeyframeAnimations.posVec(0.0F, 0.4294F, -0.6732F), AnimationChannel.Interpolations.LINEAR),
|
| 344 | new Keyframe(3.5833F, KeyframeAnimations.posVec(0.0F, 0.4294F, -0.6732F), AnimationChannel.Interpolations.LINEAR),
|
| 345 | new Keyframe(3.8333F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 346 | new Keyframe(3.9167F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 347 | )
|
| 348 | )
|
| 349 | .addAnimation(
|
| 350 | "head",
|
| 351 | new AnimationChannel(
|
| 352 | AnimationChannel.Targets.ROTATION,
|
| 353 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 354 | new Keyframe(0.25F, KeyframeAnimations.degreeVec(54.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 355 | new Keyframe(0.3333F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 356 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 357 | new Keyframe(0.9167F, KeyframeAnimations.degreeVec(40.0F, 20.5F, -11.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 358 | new Keyframe(1.0F, KeyframeAnimations.degreeVec(39.5F, 11.5F, -6.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 359 | new Keyframe(1.2917F, KeyframeAnimations.degreeVec(39.3F, 11.5F, -6.0F), AnimationChannel.Interpolations.LINEAR),
|
| 360 | new Keyframe(1.75F, KeyframeAnimations.degreeVec(39.5F, 11.5F, -6.0F), AnimationChannel.Interpolations.LINEAR),
|
| 361 | new Keyframe(1.9167F, KeyframeAnimations.degreeVec(36.0F, -28.5F, 16.5F), AnimationChannel.Interpolations.LINEAR),
|
| 362 | new Keyframe(2.0F, KeyframeAnimations.degreeVec(38.0F, -18.5F, 10.0F), AnimationChannel.Interpolations.LINEAR),
|
| 363 | new Keyframe(2.625F, KeyframeAnimations.degreeVec(38.0F, -18.5F, 10.0F), AnimationChannel.Interpolations.LINEAR),
|
| 364 | new Keyframe(2.7083F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 365 | new Keyframe(2.7917F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 366 | new Keyframe(2.9583F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 367 | new Keyframe(3.1667F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 368 | new Keyframe(3.25F, KeyframeAnimations.degreeVec(42.5F, -0.25F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 369 | new Keyframe(3.5833F, KeyframeAnimations.degreeVec(45.5F, -0.5F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 370 | new Keyframe(3.8333F, KeyframeAnimations.degreeVec(-20.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 371 | new Keyframe(3.9167F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 372 | )
|
| 373 | )
|
| 374 | .addAnimation(
|
| 375 | "head",
|
| 376 | new AnimationChannel(
|
| 377 | AnimationChannel.Targets.POSITION,
|
| 378 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 379 | new Keyframe(0.25F, KeyframeAnimations.posVec(0.0F, -0.025F, -1.975F), AnimationChannel.Interpolations.LINEAR),
|
| 380 | new Keyframe(0.3333F, KeyframeAnimations.posVec(0.0F, 0.0F, -2.0F), AnimationChannel.Interpolations.LINEAR),
|
| 381 | new Keyframe(0.5833F, KeyframeAnimations.posVec(0.0F, 0.0F, -2.0F), AnimationChannel.Interpolations.LINEAR),
|
| 382 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.0F, 0.0F, -2.0F), AnimationChannel.Interpolations.LINEAR),
|
| 383 | new Keyframe(1.75F, KeyframeAnimations.posVec(0.0F, 0.0F, -2.0F), AnimationChannel.Interpolations.LINEAR),
|
| 384 | new Keyframe(2.7083F, KeyframeAnimations.posVec(0.0F, 0.0F, -2.0F), AnimationChannel.Interpolations.LINEAR),
|
| 385 | new Keyframe(3.5833F, KeyframeAnimations.posVec(0.0F, 0.0F, -2.0F), AnimationChannel.Interpolations.LINEAR),
|
| 386 | new Keyframe(3.8333F, KeyframeAnimations.posVec(0.0F, -1.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM),
|
| 387 | new Keyframe(3.9167F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 388 | )
|
| 389 | )
|
| 390 | .addAnimation(
|
| 391 | "left_ear",
|
| 392 | new AnimationChannel(
|
| 393 | AnimationChannel.Targets.ROTATION,
|
| 394 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 395 | new Keyframe(0.2083F, KeyframeAnimations.degreeVec(35.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 396 | new Keyframe(0.2917F, KeyframeAnimations.degreeVec(19.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 397 | new Keyframe(0.3333F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 398 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 399 | new Keyframe(0.9167F, KeyframeAnimations.degreeVec(-15.0F, 0.0F, 7.5F), AnimationChannel.Interpolations.LINEAR),
|
| 400 | new Keyframe(1.0F, KeyframeAnimations.degreeVec(-7.5F, 0.0F, -5.0F), AnimationChannel.Interpolations.LINEAR),
|
| 401 | new Keyframe(1.0833F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 402 | new Keyframe(1.6667F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 403 | new Keyframe(1.75F, KeyframeAnimations.degreeVec(-3.0F, 1.5F, -17.0F), AnimationChannel.Interpolations.LINEAR),
|
| 404 | new Keyframe(1.8333F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 405 | new Keyframe(1.9167F, KeyframeAnimations.degreeVec(-48.75F, 0.0F, 5.0F), AnimationChannel.Interpolations.LINEAR),
|
| 406 | new Keyframe(2.0F, KeyframeAnimations.degreeVec(-65.0F, 2.5F, 0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 407 | new Keyframe(2.0833F, KeyframeAnimations.degreeVec(-45.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 408 | new Keyframe(2.1667F, KeyframeAnimations.degreeVec(-40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 409 | new Keyframe(2.5417F, KeyframeAnimations.degreeVec(-40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 410 | new Keyframe(2.625F, KeyframeAnimations.degreeVec(11.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 411 | new Keyframe(2.7083F, KeyframeAnimations.degreeVec(23.25F, 0.0F, 3.75F), AnimationChannel.Interpolations.LINEAR),
|
| 412 | new Keyframe(2.75F, KeyframeAnimations.degreeVec(25.5F, 2.0F, 6.0F), AnimationChannel.Interpolations.LINEAR),
|
| 413 | new Keyframe(2.8333F, KeyframeAnimations.degreeVec(10.0F, -0.5F, 0.75F), AnimationChannel.Interpolations.LINEAR),
|
| 414 | new Keyframe(3.625F, KeyframeAnimations.degreeVec(10.0F, -0.5F, 0.75F), AnimationChannel.Interpolations.LINEAR),
|
| 415 | new Keyframe(3.7083F, KeyframeAnimations.degreeVec(-25.0F, 0.25F, -1.0F), AnimationChannel.Interpolations.LINEAR),
|
| 416 | new Keyframe(3.7917F, KeyframeAnimations.degreeVec(-19.0F, 0.0F, -1.0F), AnimationChannel.Interpolations.LINEAR),
|
| 417 | new Keyframe(3.8333F, KeyframeAnimations.degreeVec(2.5F, 0.2F, -0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 418 | new Keyframe(3.9167F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 419 | )
|
| 420 | )
|
| 421 | .addAnimation(
|
| 422 | "left_ear",
|
| 423 | new AnimationChannel(
|
| 424 | AnimationChannel.Targets.POSITION,
|
| 425 | new Keyframe(0.0F, KeyframeAnimations.posVec(-0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 426 | new Keyframe(0.2083F, KeyframeAnimations.posVec(-0.125F, -0.6553F, 0.4589F), AnimationChannel.Interpolations.LINEAR),
|
| 427 | new Keyframe(0.3333F, KeyframeAnimations.posVec(-0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 428 | new Keyframe(0.75F, KeyframeAnimations.posVec(-0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 429 | new Keyframe(0.9167F, KeyframeAnimations.posVec(-0.0502F, -0.1915F, -0.0518F), AnimationChannel.Interpolations.LINEAR),
|
| 430 | new Keyframe(1.0F, KeyframeAnimations.posVec(-0.2423F, -0.1025F, 0.0261F), AnimationChannel.Interpolations.LINEAR),
|
| 431 | new Keyframe(1.0833F, KeyframeAnimations.posVec(-0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 432 | new Keyframe(1.6667F, KeyframeAnimations.posVec(-0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 433 | new Keyframe(1.75F, KeyframeAnimations.posVec(-0.125F, -0.325F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 434 | new Keyframe(1.8333F, KeyframeAnimations.posVec(-0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 435 | new Keyframe(2.0F, KeyframeAnimations.posVec(-0.025F, -0.75F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 436 | new Keyframe(2.0833F, KeyframeAnimations.posVec(-0.025F, -0.75F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 437 | new Keyframe(2.1667F, KeyframeAnimations.posVec(-0.025F, -0.75F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 438 | new Keyframe(2.4167F, KeyframeAnimations.posVec(-0.025F, -0.75F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 439 | new Keyframe(2.5417F, KeyframeAnimations.posVec(-0.025F, -0.75F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 440 | new Keyframe(2.625F, KeyframeAnimations.posVec(-0.025F, -0.375F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 441 | new Keyframe(2.75F, KeyframeAnimations.posVec(-0.025F, -0.375F, 0.25F), AnimationChannel.Interpolations.LINEAR),
|
| 442 | new Keyframe(2.7917F, KeyframeAnimations.posVec(-0.025F, -0.375F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 443 | new Keyframe(2.8333F, KeyframeAnimations.posVec(-0.025F, -0.125F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 444 | new Keyframe(3.625F, KeyframeAnimations.posVec(-0.025F, -0.125F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 445 | new Keyframe(3.9167F, KeyframeAnimations.posVec(-0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 446 | )
|
| 447 | )
|
| 448 | .addAnimation(
|
| 449 | "right_ear",
|
| 450 | new AnimationChannel(
|
| 451 | AnimationChannel.Targets.ROTATION,
|
| 452 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 453 | new Keyframe(0.1667F, KeyframeAnimations.degreeVec(35.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 454 | new Keyframe(0.3333F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 455 | new Keyframe(0.75F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 456 | new Keyframe(0.9167F, KeyframeAnimations.degreeVec(-22.3423F, -2.5587F, 5.4476F), AnimationChannel.Interpolations.LINEAR),
|
| 457 | new Keyframe(1.0F, KeyframeAnimations.degreeVec(-11.17F, -1.28F, -21.03F), AnimationChannel.Interpolations.LINEAR),
|
| 458 | new Keyframe(1.0833F, KeyframeAnimations.degreeVec(-4.1101F, 3.0703F, -18.1443F), AnimationChannel.Interpolations.LINEAR),
|
| 459 | new Keyframe(1.125F, KeyframeAnimations.degreeVec(-0.0844F, 3.027F, -9.5338F), AnimationChannel.Interpolations.LINEAR),
|
| 460 | new Keyframe(1.5417F, KeyframeAnimations.degreeVec(-0.0844F, 3.027F, -9.5338F), AnimationChannel.Interpolations.LINEAR),
|
| 461 | new Keyframe(1.6667F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 462 | new Keyframe(1.75F, KeyframeAnimations.degreeVec(-1.5F, 1.0F, -14.5F), AnimationChannel.Interpolations.LINEAR),
|
| 463 | new Keyframe(1.8333F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 464 | new Keyframe(1.9167F, KeyframeAnimations.degreeVec(-45.0F, 0.0F, 5.0F), AnimationChannel.Interpolations.LINEAR),
|
| 465 | new Keyframe(2.0F, KeyframeAnimations.degreeVec(-60.0F, 1.0F, 5.0F), AnimationChannel.Interpolations.LINEAR),
|
| 466 | new Keyframe(2.0833F, KeyframeAnimations.degreeVec(-50.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 467 | new Keyframe(2.5417F, KeyframeAnimations.degreeVec(-50.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 468 | new Keyframe(2.625F, KeyframeAnimations.degreeVec(16.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 469 | new Keyframe(2.7083F, KeyframeAnimations.degreeVec(25.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 470 | new Keyframe(2.7917F, KeyframeAnimations.degreeVec(5.25F, 0.5F, -2.0F), AnimationChannel.Interpolations.LINEAR),
|
| 471 | new Keyframe(2.8333F, KeyframeAnimations.degreeVec(8.5F, 1.0F, -4.0F), AnimationChannel.Interpolations.LINEAR),
|
| 472 | new Keyframe(3.625F, KeyframeAnimations.degreeVec(8.5F, 1.0F, -4.0F), AnimationChannel.Interpolations.LINEAR),
|
| 473 | new Keyframe(3.7083F, KeyframeAnimations.degreeVec(-37.5F, 0.25F, -1.5F), AnimationChannel.Interpolations.LINEAR),
|
| 474 | new Keyframe(3.7917F, KeyframeAnimations.degreeVec(-23.5F, 0.0F, -1.0F), AnimationChannel.Interpolations.LINEAR),
|
| 475 | new Keyframe(3.8333F, KeyframeAnimations.degreeVec(10.0F, 0.25F, -0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 476 | new Keyframe(3.9167F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 477 | )
|
| 478 | )
|
| 479 | .addAnimation(
|
| 480 | "right_ear",
|
| 481 | new AnimationChannel(
|
| 482 | AnimationChannel.Targets.POSITION,
|
| 483 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 484 | new Keyframe(0.2083F, KeyframeAnimations.posVec(0.075F, -0.3588F, 0.1769F), AnimationChannel.Interpolations.LINEAR),
|
| 485 | new Keyframe(0.3333F, KeyframeAnimations.posVec(0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 486 | new Keyframe(0.75F, KeyframeAnimations.posVec(0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 487 | new Keyframe(0.875F, KeyframeAnimations.posVec(0.13F, -0.15F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 488 | new Keyframe(0.9167F, KeyframeAnimations.posVec(0.125F, -0.2F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 489 | new Keyframe(1.0F, KeyframeAnimations.posVec(0.0182F, -0.4258F, 0.0581F), AnimationChannel.Interpolations.LINEAR),
|
| 490 | new Keyframe(1.0833F, KeyframeAnimations.posVec(0.02F, -0.34F, 0.02F), AnimationChannel.Interpolations.LINEAR),
|
| 491 | new Keyframe(1.125F, KeyframeAnimations.posVec(0.025F, -0.175F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 492 | new Keyframe(1.5417F, KeyframeAnimations.posVec(0.025F, -0.175F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 493 | new Keyframe(1.6667F, KeyframeAnimations.posVec(0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 494 | new Keyframe(1.75F, KeyframeAnimations.posVec(0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 495 | new Keyframe(1.8333F, KeyframeAnimations.posVec(0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 496 | new Keyframe(1.9167F, KeyframeAnimations.posVec(0.055F, -0.5F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 497 | new Keyframe(2.0F, KeyframeAnimations.posVec(0.075F, -0.75F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 498 | new Keyframe(2.0833F, KeyframeAnimations.posVec(0.025F, -0.75F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 499 | new Keyframe(2.5417F, KeyframeAnimations.posVec(0.025F, -0.75F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 500 | new Keyframe(2.5833F, KeyframeAnimations.posVec(0.025F, -0.5F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 501 | new Keyframe(2.625F, KeyframeAnimations.posVec(0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 502 | new Keyframe(2.7083F, KeyframeAnimations.posVec(0.025F, -0.25F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 503 | new Keyframe(2.7917F, KeyframeAnimations.posVec(0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 504 | new Keyframe(2.8333F, KeyframeAnimations.posVec(0.025F, -0.25F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 505 | new Keyframe(3.625F, KeyframeAnimations.posVec(0.025F, -0.25F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 506 | new Keyframe(3.9167F, KeyframeAnimations.posVec(0.025F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 507 | )
|
| 508 | )
|
| 509 | .addAnimation(
|
| 510 | "right_front_leg",
|
| 511 | new AnimationChannel(
|
| 512 | AnimationChannel.Targets.ROTATION,
|
| 513 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 514 | new Keyframe(0.1667F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 515 | new Keyframe(0.3333F, KeyframeAnimations.degreeVec(60.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 516 | new Keyframe(0.4167F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 517 | new Keyframe(0.7083F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 518 | new Keyframe(0.8333F, KeyframeAnimations.degreeVec(39.0F, 12.5F, 6.16F), AnimationChannel.Interpolations.LINEAR),
|
| 519 | new Keyframe(0.9167F, KeyframeAnimations.degreeVec(39.0F, 12.5F, -21.34F), AnimationChannel.Interpolations.LINEAR),
|
| 520 | new Keyframe(1.0F, KeyframeAnimations.degreeVec(40.0F, 10.0F, -7.5F), AnimationChannel.Interpolations.LINEAR),
|
| 521 | new Keyframe(1.0833F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 522 | new Keyframe(1.6667F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 523 | new Keyframe(1.75F, KeyframeAnimations.degreeVec(36.5F, 21.5F, 1.5F), AnimationChannel.Interpolations.LINEAR),
|
| 524 | new Keyframe(1.8333F, KeyframeAnimations.degreeVec(38.5F, 20.0F, -0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 525 | new Keyframe(1.875F, KeyframeAnimations.degreeVec(41.0F, 20.0F, -0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 526 | new Keyframe(3.5F, KeyframeAnimations.degreeVec(41.0F, 20.0F, -0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 527 | new Keyframe(3.5833F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 528 | new Keyframe(3.75F, KeyframeAnimations.degreeVec(12.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 529 | new Keyframe(3.8333F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 530 | new Keyframe(3.9167F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 531 | )
|
| 532 | )
|
| 533 | .addAnimation(
|
| 534 | "right_front_leg",
|
| 535 | new AnimationChannel(
|
| 536 | AnimationChannel.Targets.POSITION,
|
| 537 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 538 | new Keyframe(0.1667F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 539 | new Keyframe(0.3333F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 540 | new Keyframe(0.4167F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 541 | new Keyframe(0.7083F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 542 | new Keyframe(1.0F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 543 | new Keyframe(1.0833F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 544 | new Keyframe(1.6667F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 545 | new Keyframe(3.5833F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 546 | new Keyframe(3.75F, KeyframeAnimations.posVec(0.0153F, 0.3728F, 0.0167F), AnimationChannel.Interpolations.LINEAR),
|
| 547 | new Keyframe(3.8333F, KeyframeAnimations.posVec(0.0F, 1.0F, -0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 548 | new Keyframe(3.9167F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 549 | )
|
| 550 | )
|
| 551 | .addAnimation(
|
| 552 | "left_front_leg",
|
| 553 | new AnimationChannel(
|
| 554 | AnimationChannel.Targets.ROTATION,
|
| 555 | new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 556 | new Keyframe(0.2083F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 557 | new Keyframe(0.375F, KeyframeAnimations.degreeVec(52.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 558 | new Keyframe(0.4583F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 559 | new Keyframe(0.7083F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 560 | new Keyframe(0.8333F, KeyframeAnimations.degreeVec(40.0F, 9.0F, -18.5F), AnimationChannel.Interpolations.LINEAR),
|
| 561 | new Keyframe(0.9167F, KeyframeAnimations.degreeVec(39.5F, 5.0F, -14.5F), AnimationChannel.Interpolations.LINEAR),
|
| 562 | new Keyframe(1.0F, KeyframeAnimations.degreeVec(40.0F, 0.0F, -10.0F), AnimationChannel.Interpolations.LINEAR),
|
| 563 | new Keyframe(1.0833F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 564 | new Keyframe(1.6667F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 565 | new Keyframe(1.75F, KeyframeAnimations.degreeVec(40.0F, -24.5F, -7.0F), AnimationChannel.Interpolations.LINEAR),
|
| 566 | new Keyframe(1.8333F, KeyframeAnimations.degreeVec(39.5F, -15.5F, 0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 567 | new Keyframe(1.875F, KeyframeAnimations.degreeVec(42.0F, -15.5F, 0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 568 | new Keyframe(3.5F, KeyframeAnimations.degreeVec(42.0F, -15.5F, 0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 569 | new Keyframe(3.5833F, KeyframeAnimations.degreeVec(40.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 570 | new Keyframe(3.75F, KeyframeAnimations.degreeVec(15.5F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 571 | new Keyframe(3.8333F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 572 | new Keyframe(3.9167F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 573 | )
|
| 574 | )
|
| 575 | .addAnimation(
|
| 576 | "left_front_leg",
|
| 577 | new AnimationChannel(
|
| 578 | AnimationChannel.Targets.POSITION,
|
| 579 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 580 | new Keyframe(0.2083F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 581 | new Keyframe(0.375F, KeyframeAnimations.posVec(0.0F, 0.8F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 582 | new Keyframe(0.4583F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 583 | new Keyframe(0.7083F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 584 | new Keyframe(1.0F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 585 | new Keyframe(1.0833F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 586 | new Keyframe(1.6667F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 587 | new Keyframe(3.5833F, KeyframeAnimations.posVec(0.0F, 0.6F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 588 | new Keyframe(3.75F, KeyframeAnimations.posVec(0.0F, 0.5F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 589 | new Keyframe(3.8333F, KeyframeAnimations.posVec(0.0F, 1.0F, -0.5F), AnimationChannel.Interpolations.LINEAR),
|
| 590 | new Keyframe(3.9167F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 591 | )
|
| 592 | )
|
| 593 | .addAnimation(
|
| 594 | "frontlegs",
|
| 595 | new AnimationChannel(
|
| 596 | AnimationChannel.Targets.POSITION,
|
| 597 | new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR),
|
| 598 | new Keyframe(0.3333F, KeyframeAnimations.posVec(0.0F, -0.4193F, -0.2723F), AnimationChannel.Interpolations.LINEAR),
|
| 599 | new Keyframe(3.5833F, KeyframeAnimations.posVec(0.0F, -0.4193F, -0.2723F), AnimationChannel.Interpolations.LINEAR),
|
| 600 | new Keyframe(4.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 601 | )
|
| 602 | )
|
| 603 | .addAnimation(
|
| 604 | "right_hind_leg",
|
| 605 | new AnimationChannel(
|
| 606 | AnimationChannel.Targets.ROTATION, new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, -2.5F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 607 | )
|
| 608 | )
|
| 609 | .addAnimation(
|
| 610 | "right_hind_leg",
|
| 611 | new AnimationChannel(
|
| 612 | AnimationChannel.Targets.POSITION, new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.LINEAR)
|
| 613 | )
|
| 614 | )
|
| 615 | .build();
|
| 616 | }
|
| 617 |
|