From 2e5fec310675c7c73c69c326f7307e501c4953ee Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 10 Apr 2023 17:04:44 +0200 Subject: [PATCH] Fix spyglass placement and third person orientation of items in unicorn's auras --- .../client/model/entity/race/UnicornModel.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/minelittlepony/client/model/entity/race/UnicornModel.java b/src/main/java/com/minelittlepony/client/model/entity/race/UnicornModel.java index 5909d612..0e858d3f 100644 --- a/src/main/java/com/minelittlepony/client/model/entity/race/UnicornModel.java +++ b/src/main/java/com/minelittlepony/client/model/entity/race/UnicornModel.java @@ -91,7 +91,7 @@ public class UnicornModel extends EarthPonyModel impl float left = arm == Arm.LEFT ? -1 : 1; - matrices.translate(-0.3F, -0.675F, -0.3F - (0.3F * left)); + matrices.translate(0.4F - (0.3F * left), -0.675F, -0.3F); UseAction action = getAttributes().heldStack.getUseAction(); @@ -103,8 +103,8 @@ public class UnicornModel extends EarthPonyModel impl if (main == arm) { if (action == UseAction.SPYGLASS) { Size size = getSize(); - float x = 0.4F; - float z = -0.5F; + float x = 0.3F; + float z = -0.4F; if (size == Sizes.TALL || size == Sizes.YEARLING) { z += 0.05F; @@ -113,8 +113,7 @@ public class UnicornModel extends EarthPonyModel impl z -= 0.1F; } - //matrices.translate(x * left, -0.2, z); - matrices.translate(-z, 0.9, x * left); + matrices.translate(x * left, 1, -z); } else { matrices.translate(-0.6, -0.2, 0); }