mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Fixed fillies floating slightly off the ground when sneaking
This commit is contained in:
parent
76cfec8224
commit
e5f2170186
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ public enum PonyTransformation {
|
||||||
@Override
|
@Override
|
||||||
public void transform(IModel model, BodyPart part, MatrixStack stack) {
|
public void transform(IModel model, BodyPart part, MatrixStack stack) {
|
||||||
if (model.getAttributes().isSwimming) stack.translate(0, -0.9F, 0);
|
if (model.getAttributes().isSwimming) stack.translate(0, -0.9F, 0);
|
||||||
if (model.getAttributes().isCrouching) stack.translate(0, -0.3F, 0);
|
if (model.getAttributes().isCrouching) stack.translate(0, -0.2F, 0);
|
||||||
if (model.getAttributes().isSleeping) stack.translate(0, -0.65F, -0.3F);
|
if (model.getAttributes().isSleeping) stack.translate(0, -0.65F, -0.3F);
|
||||||
if (model.isRiding()) stack.translate(0, -0.6F, -0.2F);
|
if (model.isRiding()) stack.translate(0, -0.6F, -0.2F);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue