From a1c68609d9b30223bdf126220b9dc328f28af226 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Sat, 14 Jun 2025 04:21:34 +0200 Subject: [PATCH] working emote test --- build.gradle | 9 + gradle.properties | 4 +- .../saturnclient/event/KeyInputHandler.java | 63 +- .../player_animations/backflip.json | 1385 +++++++++++++++++ 4 files changed, 1422 insertions(+), 39 deletions(-) create mode 100644 src/main/resources/assets/saturnclient/player_animations/backflip.json diff --git a/build.gradle b/build.gradle index 9f5c6bd..d99ed5d 100644 --- a/build.gradle +++ b/build.gradle @@ -19,6 +19,10 @@ dependencies { modApi "dev.felnull:special-model-loader:1.4.0+pre.1" include "dev.felnull:special-model-loader:1.4.0+pre.1" + + include modImplementation("dev.kosmx.player-anim:player-animation-lib-fabric:${project.player_anim}") + //You might want bendy-lib. playerAnimator will wrap it. + // include modRuntimeOnly("io.github.kosmx.bendy-lib:bendy-lib-fabric:${project.bendylib_version}") } @@ -28,6 +32,11 @@ repositories { name = "FelNull Maven" url = "https://maven.felnull.dev" } + + maven { + name "KosmX's maven" + url 'https://maven.kosmx.dev/' + } } processResources { diff --git a/gradle.properties b/gradle.properties index ef73f40..66a3369 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,4 +8,6 @@ fabric_version=0.114.0+1.21.4 mod_version = 0.0.2-beta1 maven_group = org.saturnclient -archives_base_name = saturnclient \ No newline at end of file +archives_base_name = saturnclient + +player_anim = 2.0.3+1.21.4 \ No newline at end of file diff --git a/src/main/java/org/saturnclient/saturnclient/event/KeyInputHandler.java b/src/main/java/org/saturnclient/saturnclient/event/KeyInputHandler.java index 8fe7aa0..6a037a5 100644 --- a/src/main/java/org/saturnclient/saturnclient/event/KeyInputHandler.java +++ b/src/main/java/org/saturnclient/saturnclient/event/KeyInputHandler.java @@ -3,12 +3,16 @@ package org.saturnclient.saturnclient.event; import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents; import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper; import net.minecraft.client.option.KeyBinding; -// import net.minecraft.client.option.Perspective; import net.minecraft.client.util.InputUtil; +import net.minecraft.util.Identifier; -// import org.saturnclient.modules.mods.FreeLook; +import org.saturnclient.saturnclient.SaturnClient; import org.saturnclient.ui2.screens.ShiftMenu; -// import org.saturnclient.saturnclient.menus.SaturnMenu; + +import dev.kosmx.playerAnim.api.layered.AnimationStack; +import dev.kosmx.playerAnim.minecraftApi.PlayerAnimationAccess; +import dev.kosmx.playerAnim.minecraftApi.PlayerAnimationRegistry; + import org.lwjgl.glfw.GLFW; /** @@ -21,55 +25,38 @@ public class KeyInputHandler { private static final int DEFAULT_MENU_KEY = GLFW.GLFW_KEY_RIGHT_SHIFT; private static KeyBinding mainMenuKeyBinding; - // private static final String FREELOOK_KEY_ID = "key.saturnclient.freelook"; - // private static final int FREELOOK_KEY = GLFW.GLFW_KEY_M; - // private static KeyBinding freelookKeyBinding; + private static final String FREELOOK_KEY_ID = "key.saturnclient.emote"; + private static final int FREELOOK_KEY = GLFW.GLFW_KEY_B; + private static KeyBinding freelookKeyBinding; - /** - * Registers all keybindings and their associated event handlers. - * Should be called during mod initialization. - */ public static void register() { - // Register the main menu key binding mainMenuKeyBinding = KeyBindingHelper.registerKeyBinding(new KeyBinding( MAIN_MENU_KEY_ID, InputUtil.Type.KEYSYM, DEFAULT_MENU_KEY, KEY_CATEGORY)); - // freelookKeyBinding = KeyBindingHelper.registerKeyBinding(new KeyBinding( - // FREELOOK_KEY_ID, - // InputUtil.Type.KEYSYM, - // FREELOOK_KEY, - // KEY_CATEGORY)); + freelookKeyBinding = KeyBindingHelper.registerKeyBinding(new KeyBinding( + FREELOOK_KEY_ID, + InputUtil.Type.KEYSYM, + FREELOOK_KEY, + KEY_CATEGORY)); // Register the event handler for the main menu key ClientTickEvents.END_CLIENT_TICK.register(client -> { if (mainMenuKeyBinding.wasPressed()) { client.setScreen(new ShiftMenu()); } - // else if (freelookKeyBinding.wasPressed() && FreeLook.enabled.value && FreeLook.toggle.value) { - // FreeLook.isFreeLooking = !FreeLook.isFreeLooking; - // if (FreeLook.isFreeLooking) { - // FreeLook.lastPerspective = client.options.getPerspective(); - // client.options.setPerspective(Perspective.THIRD_PERSON_BACK); - // } else if (FreeLook.lastPerspective != null) { - // client.options.setPerspective(FreeLook.lastPerspective); - // FreeLook.lastPerspective = null; - // } - // } else if (FreeLook.enabled.value && !FreeLook.toggle.value) { - // if (freelookKeyBinding.isPressed()) { - // if (!FreeLook.isFreeLooking) { - // FreeLook.lastPerspective = client.options.getPerspective(); - // client.options.setPerspective(Perspective.THIRD_PERSON_BACK); - // FreeLook.isFreeLooking = true; - // } - // } else if (FreeLook.isFreeLooking && FreeLook.lastPerspective != null) { - // client.options.setPerspective(FreeLook.lastPerspective); - // FreeLook.isFreeLooking = false; - // FreeLook.lastPerspective = null; - // } - // } + + if (SaturnClient.client.player != null && SaturnClient.client.player.isSneaking()) { + AnimationStack animationStack = PlayerAnimationAccess.getPlayerAnimLayer(SaturnClient.client.player); + animationStack.removeLayer(1000); + } + + if (freelookKeyBinding.wasPressed()) { + AnimationStack animationStack = PlayerAnimationAccess.getPlayerAnimLayer(SaturnClient.client.player); + animationStack.addAnimLayer(1000, PlayerAnimationRegistry.getAnimation(Identifier.of("saturnclient", "backflip")).playAnimation()); + } }); } } diff --git a/src/main/resources/assets/saturnclient/player_animations/backflip.json b/src/main/resources/assets/saturnclient/player_animations/backflip.json new file mode 100644 index 0000000..9f23206 --- /dev/null +++ b/src/main/resources/assets/saturnclient/player_animations/backflip.json @@ -0,0 +1,1385 @@ +{ + "name": "backflip", + "author": "Kale Ko", + "description": "Makes You Do A Back Flip", + "uuid": "ebfb1e69-330a-4970-8bca-f5625c90681a", + "emote":{ + "isLoop": "false", + "returnTick": 2, + "beginTick":0, + "endTick":80, + "stopTick":81, + "degrees":false, + "moves":[ + + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "y":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "y":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "z":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "z":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "x":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "x":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "yaw":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "yaw":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "roll":0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "roll":0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "head":{ + "pitch":-0.2994975745677948 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "head":{ + "pitch":-0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":15, + "easing": "EASEINSINE", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":55, + "easing": "EASEOUTSINE", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":70, + "easing": "CONSTANT", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "yaw":0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "roll":-0.0 + } + }, + { + "tick":15, + "easing": "EASEINSINE", + "turn": 0, + "torso":{ + "roll":0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "roll":0.0 + } + }, + { + "tick":55, + "easing": "EASEOUTSINE", + "turn": 0, + "torso":{ + "roll":0.0 + } + }, + { + "tick":70, + "easing": "CONSTANT", + "turn": 0, + "torso":{ + "roll":0.0 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "roll":-0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "pitch":0.0 + } + }, + { + "tick":15, + "easing": "EASEINSINE", + "turn": 0, + "torso":{ + "pitch":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "pitch":0.9649674892425537 + } + }, + { + "tick":55, + "easing": "EASEOUTSINE", + "turn": 0, + "torso":{ + "pitch":5.110422611236572 + } + }, + { + "tick":70, + "easing": "CONSTANT", + "turn": 0, + "torso":{ + "pitch":6.2831854820251465 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "pitch":0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "y":-0.05682346969842911 + } + }, + { + "tick":40, + "easing": "EASEINQUAD", + "turn": 0, + "torso":{ + "y":1.46522855758667 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "y":0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "x":0.0 + } + }, + { + "tick":40, + "easing": "EASEINQUAD", + "turn": 0, + "torso":{ + "x":0.0 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "x":0.0 + } + }, + { + "tick":10, + "easing": "EASEOUTQUAD", + "turn": 0, + "torso":{ + "z":-0.0 + } + }, + { + "tick":40, + "easing": "EASEINQUAD", + "turn": 0, + "torso":{ + "z":-0.0 + } + }, + { + "tick":71, + "easing": "LINEAR", + "turn": 0, + "torso":{ + "z":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "yaw":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "yaw":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "yaw":-0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "yaw":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "yaw":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "roll":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "roll":0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "roll":-0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "roll":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "roll":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "y":2.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "y":2.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "y":2.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "y":2.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "y":2.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "z":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "z":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "z":-0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "z":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "z":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "x":-5.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "x":-5.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "x":-5.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "x":-5.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "x":-5.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "rightArm":{ + "pitch":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "rightArm":{ + "pitch":-3.4906585216522217 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "pitch":-3.665191411972046 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightArm":{ + "pitch":-2.7925267219543457 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightArm":{ + "pitch":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "roll":0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "roll":0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "roll":0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "roll":0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "roll":0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "yaw":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "yaw":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "yaw":-0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "yaw":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "yaw":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "pitch":0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "pitch":-3.4906585216522217 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "pitch":-3.665191411972046 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "pitch":-2.7925267219543457 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "pitch":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "y":2.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "y":2.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "y":2.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "y":2.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "y":2.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "z":-0.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "z":-0.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "z":-0.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "z":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "z":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINSINE", + "turn": 0, + "leftArm":{ + "x":5.0 + } + }, + { + "tick":15, + "easing": "EASEOUTQUART", + "turn": 0, + "leftArm":{ + "x":5.0 + } + }, + { + "tick":24, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "x":5.0 + } + }, + { + "tick":55, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftArm":{ + "x":5.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftArm":{ + "x":5.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "yaw":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "roll":-0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "roll":-0.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "roll":0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "roll":0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "roll":0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "roll":0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "pitch":-0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "pitch":0.2617993950843811 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "pitch":-0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "pitch":0.45378559827804565 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "pitch":-0.1745329201221466 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "pitch":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "x":-1.9 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "y":12.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "rightLeg":{ + "z":0.1 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "yaw":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "roll":0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "roll":-0.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "roll":-0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "roll":-0.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "roll":-0.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "roll":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "pitch":-0.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "pitch":0.2617993950843811 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "pitch":-0.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "pitch":0.45378559827804565 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "pitch":-0.1745329201221466 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "pitch":-0.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "y":12.0 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "z":-0.1 + } + }, + { + "tick":1, + "easing": "EASEINOUTQUAD", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + }, + { + "tick":5, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + }, + { + "tick":15, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + }, + { + "tick":24, + "easing": "EASEINOUTSINE", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + }, + { + "tick":55, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + }, + { + "tick":70, + "easing": "LINEAR", + "turn": 0, + "leftLeg":{ + "x":1.9 + } + } + ] + } +} \ No newline at end of file