mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Translate everypony down so they don't float
This commit is contained in:
parent
1afc1cc301
commit
5178b8f40d
1 changed files with 2 additions and 2 deletions
|
@ -799,7 +799,7 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void transform(BodyPart part) {
|
public void transform(BodyPart part) {
|
||||||
if (isRiding) translate(0, -0.6F, -0.2F);
|
if (isRiding) translate(0, -0.4F, -0.2F);
|
||||||
|
|
||||||
if (isSleeping) {
|
if (isSleeping) {
|
||||||
rotate(90, 1, 0, 0);
|
rotate(90, 1, 0, 0);
|
||||||
|
@ -881,7 +881,7 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel {
|
||||||
private void transformFoal(BodyPart part) {
|
private void transformFoal(BodyPart part) {
|
||||||
if (isCrouching()) translate(0, -0.12F, 0);
|
if (isCrouching()) translate(0, -0.12F, 0);
|
||||||
if (isSleeping) translate(0, -1.48F, 0.25F);
|
if (isSleeping) translate(0, -1.48F, 0.25F);
|
||||||
if (isRiding) translate(0, -0.1F, 0);
|
if (isRiding) translate(0, 0.1F, 0);
|
||||||
|
|
||||||
switch (part) {
|
switch (part) {
|
||||||
case NECK:
|
case NECK:
|
||||||
|
|
Loading…
Reference in a new issue