mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Adjust saddle position
This commit is contained in:
parent
156d73f39a
commit
a7e2f09d39
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ public class SaddleModel<T extends LivingEntity> extends EntityModel<T> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setAngles(T entity, float move, float swing, float ticks, float headYaw, float headPitch) {
|
public void setAngles(T entity, float move, float swing, float ticks, float headYaw, float headPitch) {
|
||||||
root.pivotY = -MathHelper.cos(move * 1.5f) * 2.0f * swing;
|
root.pivotY = 2 - MathHelper.cos(move * 1.5f) * 3.0f * swing;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue