From 389fb1857e2061ce70270fc7391893724b401641 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 20 Oct 2018 14:12:12 +0200 Subject: [PATCH] Fixed clash between snuzzles and the pony's hair layer --- src/main/java/com/minelittlepony/model/AbstractPonyModel.java | 2 +- .../java/com/minelittlepony/model/components/PonySnout.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minelittlepony/model/AbstractPonyModel.java b/src/main/java/com/minelittlepony/model/AbstractPonyModel.java index 8cf3fd0d..928dc051 100644 --- a/src/main/java/com/minelittlepony/model/AbstractPonyModel.java +++ b/src/main/java/com/minelittlepony/model/AbstractPonyModel.java @@ -569,7 +569,7 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel, P bipedHeadwear = new PonyRenderer(this, 32, 0) .offset(HEAD_CENTRE_X, HEAD_CENTRE_Y, HEAD_CENTRE_Z) .around(HEAD_RP_X, HEAD_RP_Y + yOffset, HEAD_RP_Z - 2) - .box(-4, -4, -4, 8, 8, 8, stretch + 0.5F); + .box(-4, -4, -4, 8, 8, 8, stretch + 0.7504F); snout = new PonySnout(this); snout.init(yOffset, stretch); diff --git a/src/main/java/com/minelittlepony/model/components/PonySnout.java b/src/main/java/com/minelittlepony/model/components/PonySnout.java index bfc442dc..edf79eaa 100644 --- a/src/main/java/com/minelittlepony/model/components/PonySnout.java +++ b/src/main/java/com/minelittlepony/model/components/PonySnout.java @@ -26,7 +26,7 @@ public class PonySnout { public PonySnout(T pony, int x, int y, int z) { head = pony; - mare = new PlaneRenderer(pony).offset(HEAD_CENTRE_X + x, HEAD_CENTRE_Y + y, HEAD_CENTRE_Z + z); + mare = new PlaneRenderer(pony).offset(HEAD_CENTRE_X + x, HEAD_CENTRE_Y + y, HEAD_CENTRE_Z + z + 0.25F); stallion = new PlaneRenderer(pony).offset(HEAD_CENTRE_X + x, HEAD_CENTRE_Y + y, HEAD_CENTRE_Z + z); pony.getHead().addChild(stallion);