Fixed clash between snuzzles and the pony's hair layer

This commit is contained in:
Sollace 2018-10-20 14:12:12 +02:00
parent 1676c237e8
commit 389fb1857e
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -26,7 +26,7 @@ public class PonySnout {
public <T extends ModelBase & ICapitated> 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);