From 67ba467afd5c0122e15162f1ce6f320eb8a47860 Mon Sep 17 00:00:00 2001 From: advait Date: Wed, 30 Jul 2025 20:30:32 -0400 Subject: [PATCH] Removed arm animations --- .../me/advait/mixin/client/BipedEntityModelMixin.java | 10 ++++++++++ src/main/resources/fabric.mod.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/client/java/me/advait/mixin/client/BipedEntityModelMixin.java b/src/client/java/me/advait/mixin/client/BipedEntityModelMixin.java index 028589a..f6d1871 100644 --- a/src/client/java/me/advait/mixin/client/BipedEntityModelMixin.java +++ b/src/client/java/me/advait/mixin/client/BipedEntityModelMixin.java @@ -18,6 +18,7 @@ public abstract class BipedEntityModelMixin { if (bipedEntityRenderState.isGliding) { BipedEntityModel self = (BipedEntityModel) (Object) this; + // Legs self.leftLeg.pitch = 0; self.leftLeg.yaw = 0; self.leftLeg.roll = 0; @@ -25,6 +26,15 @@ public abstract class BipedEntityModelMixin { self.rightLeg.pitch = 0; self.rightLeg.yaw = 0; self.rightLeg.roll = 0; + + // Arms + self.leftArm.pitch = 0; + self.leftArm.yaw = 0; + self.leftArm.roll = 0; + + self.rightArm.pitch = 0; + self.rightArm.yaw = 0; + self.rightArm.roll = 0; } } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 93f7439..069d379 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -3,7 +3,7 @@ "id": "lifeless-flight", "version": "${version}", "name": "Lifeless Flight", - "description": "Removes the leg animation from elytra flight.", + "description": "Removes the leg and arm animations from elytra flight.", "authors": [ "Advait" ],