mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 23:48:00 +01:00
Fixed some armour issues
This commit is contained in:
parent
f01bdd973b
commit
ca2e5ddf46
2 changed files with 5 additions and 4 deletions
|
@ -37,7 +37,7 @@ public class ModelPonyArmor extends ModelMobPony {
|
||||||
protected void updateHeadRotation(float x, float y) {
|
protected void updateHeadRotation(float x, float y) {
|
||||||
super.updateHeadRotation(x, y);
|
super.updateHeadRotation(x, y);
|
||||||
extHead.rotateAngleX = x;
|
extHead.rotateAngleX = x;
|
||||||
extHead.rotateAngleX = x;
|
extHead.rotateAngleY = y;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -158,11 +158,12 @@ public class ModelPonyArmor extends ModelMobPony {
|
||||||
@Override
|
@Override
|
||||||
protected void initLegPositions(float yOffset, float stretch) {
|
protected void initLegPositions(float yOffset, float stretch) {
|
||||||
super.initLegPositions(yOffset, stretch);
|
super.initLegPositions(yOffset, stretch);
|
||||||
|
|
||||||
extLegLeft.offset(THIRDP_ARM_CENTRE_X, THIRDP_ARM_CENTRE_Y, THIRDP_ARM_CENTRE_Z)
|
extLegLeft.offset(THIRDP_ARM_CENTRE_X, THIRDP_ARM_CENTRE_Y, THIRDP_ARM_CENTRE_Z)
|
||||||
.around(-3, yOffset, 0)
|
.around(3, yOffset, 0)
|
||||||
.box(-2, -6, -2, 4, 12, 4, stretch);
|
.box(-2, -6, -2, 4, 12, 4, stretch);
|
||||||
extLegRight.offset(THIRDP_ARM_CENTRE_X, THIRDP_ARM_CENTRE_Y, THIRDP_ARM_CENTRE_Z)
|
extLegRight.offset(THIRDP_ARM_CENTRE_X, THIRDP_ARM_CENTRE_Y, THIRDP_ARM_CENTRE_Z)
|
||||||
.around(3, yOffset, 0)
|
.around(-3, yOffset, 0)
|
||||||
.mirror().box(-2, -6, -2, 4, 12, 4, stretch);
|
.mirror().box(-2, -6, -2, 4, 12, 4, stretch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,7 @@ public abstract class BasePonyRenderer<T extends BasePonyRenderer<T>> extends Mo
|
||||||
}
|
}
|
||||||
|
|
||||||
public T rotateAt(ModelRenderer other) {
|
public T rotateAt(ModelRenderer other) {
|
||||||
return at(other.rotationPointX, other.rotationPointY, other.rotationPointZ);
|
return around(other.rotationPointX, other.rotationPointY, other.rotationPointZ);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue