mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 22:38:00 +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() {
|
||||
if (isSleeping) return 2.6f;
|
||||
if (isCrouching()) return 0;
|
||||
return 4;
|
||||
if (isSleeping) return 3.6f;
|
||||
if (isCrouching()) return 1;
|
||||
return 5;
|
||||
}
|
||||
|
||||
protected float getLegSpread() {
|
||||
|
|
|
@ -26,7 +26,11 @@ public class ModelEarthPony extends AbstractPonyModel {
|
|||
}
|
||||
|
||||
protected float getLegOutset() {
|
||||
if (isCrouching() && smallArms) return 1;
|
||||
if (smallArms) {
|
||||
if (isSleeping) return 2.6f;
|
||||
if (isCrouching()) return 1;
|
||||
return 4;
|
||||
}
|
||||
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() {
|
||||
return 2;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue