mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-23 04:57:58 +01:00
Fixed leg outset being encorrect for normal width legs
This commit is contained in:
parent
0f7605edc3
commit
35e9ef750b
3 changed files with 14 additions and 4 deletions
|
@ -229,9 +229,9 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected float getLegOutset() {
|
protected float getLegOutset() {
|
||||||
if (isSleeping) return 2.6f;
|
if (isSleeping) return 3.6f;
|
||||||
if (isCrouching()) return 0;
|
if (isCrouching()) return 1;
|
||||||
return 4;
|
return 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected float getLegSpread() {
|
protected float getLegSpread() {
|
||||||
|
|
|
@ -26,7 +26,11 @@ public class ModelEarthPony extends AbstractPonyModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected float getLegOutset() {
|
protected float getLegOutset() {
|
||||||
if (isCrouching() && smallArms) return 1;
|
if (smallArms) {
|
||||||
|
if (isSleeping) return 2.6f;
|
||||||
|
if (isCrouching()) return 1;
|
||||||
|
return 4;
|
||||||
|
}
|
||||||
return super.getLegOutset();
|
return super.getLegOutset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,12 @@ public class ModelSkeletonPony extends ModelMobPony {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected float getLegOutset() {
|
||||||
|
if (isSleeping) return 2.6f;
|
||||||
|
if (isCrouching()) return 0;
|
||||||
|
return 4;
|
||||||
|
}
|
||||||
|
|
||||||
protected int getArmWidth() {
|
protected int getArmWidth() {
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue