mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-03-28 06:17:44 +01:00
Parrots render at the correct size when riding a pony's back
This commit is contained in:
parent
2e7442b07a
commit
e922b397c8
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ public class PassengerFeature<
|
|||
matrices.push();
|
||||
getContextModel().transform(state, BodyPart.BACK, matrices);
|
||||
getContextModel().body.rotate(matrices);
|
||||
float scale = 1 / state.attributes.size.scaleFactor();
|
||||
matrices.scale(scale, scale, scale);
|
||||
matrices.translate(
|
||||
left ? 0.25F : -0.25F,
|
||||
state.isInSneakingPose ? -1.7F : -1.5F, 0
|
||||
|
|
Loading…
Add table
Reference in a new issue