mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 13:57:59 +01:00
Fixed mobs' arms sticking too far up when sitting in a boat
This commit is contained in:
parent
b1869c824e
commit
8dad366317
2 changed files with 7 additions and 0 deletions
|
@ -36,9 +36,15 @@ public final class MobPosingHelper {
|
|||
|
||||
if (islookAngleRight(move)) {
|
||||
rotateArmHolding(rightArm, 1, model.getSwingAmount(), ticks);
|
||||
if (model.getAttributes().isSitting) {
|
||||
rightArm.pitch += 0.6F;
|
||||
}
|
||||
PartUtil.shift(rightArm, 0.5F, 1.5F, 3);
|
||||
} else {
|
||||
rotateArmHolding(leftArm, -1, model.getSwingAmount(), ticks);
|
||||
if (model.getAttributes().isSitting) {
|
||||
leftArm.pitch += 0.6F;
|
||||
}
|
||||
PartUtil.shift(leftArm, -0.5F, 1.5F, 3);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -366,6 +366,7 @@ public abstract class AbstractPonyModel<T extends LivingEntity> extends ClientPo
|
|||
case NECK: return neck;
|
||||
case TAIL:
|
||||
case LEGS:
|
||||
case BACK:
|
||||
case BODY: return body;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue