mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 22:38:00 +01:00
Fixed clash between snuzzles and the pony's hair layer
This commit is contained in:
parent
1676c237e8
commit
389fb1857e
2 changed files with 2 additions and 2 deletions
|
@ -569,7 +569,7 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel, P
|
||||||
bipedHeadwear = new PonyRenderer(this, 32, 0)
|
bipedHeadwear = new PonyRenderer(this, 32, 0)
|
||||||
.offset(HEAD_CENTRE_X, HEAD_CENTRE_Y, HEAD_CENTRE_Z)
|
.offset(HEAD_CENTRE_X, HEAD_CENTRE_Y, HEAD_CENTRE_Z)
|
||||||
.around(HEAD_RP_X, HEAD_RP_Y + yOffset, HEAD_RP_Z - 2)
|
.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 = new PonySnout(this);
|
||||||
snout.init(yOffset, stretch);
|
snout.init(yOffset, stretch);
|
||||||
|
|
|
@ -26,7 +26,7 @@ public class PonySnout {
|
||||||
public <T extends ModelBase & ICapitated> PonySnout(T pony, int x, int y, int z) {
|
public <T extends ModelBase & ICapitated> PonySnout(T pony, int x, int y, int z) {
|
||||||
head = pony;
|
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);
|
stallion = new PlaneRenderer(pony).offset(HEAD_CENTRE_X + x, HEAD_CENTRE_Y + y, HEAD_CENTRE_Z + z);
|
||||||
|
|
||||||
pony.getHead().addChild(stallion);
|
pony.getHead().addChild(stallion);
|
||||||
|
|
Loading…
Reference in a new issue