mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 23:48:00 +01:00
Rotate player arms to put the front up
This commit is contained in:
parent
d59ec9514f
commit
09f8a99066
1 changed files with 3 additions and 1 deletions
|
@ -152,8 +152,10 @@ public class RenderPonyPlayer extends RenderPlayer implements IRenderPony<Abstra
|
||||||
protected void renderArm(AbstractClientPlayer player, EnumHandSide side) {
|
protected void renderArm(AbstractClientPlayer player, EnumHandSide side) {
|
||||||
renderPony.updateModel(player);
|
renderPony.updateModel(player);
|
||||||
bindEntityTexture(player);
|
bindEntityTexture(player);
|
||||||
|
|
||||||
GlStateManager.pushMatrix();
|
GlStateManager.pushMatrix();
|
||||||
GlStateManager.translate(side == EnumHandSide.LEFT ? 0.2 : -0.2, -0.65, 0);
|
GlStateManager.translate(side == EnumHandSide.LEFT ? 0.35 : -0.35, -0.6, 0);
|
||||||
|
GlStateManager.rotate(side == EnumHandSide.LEFT ? -90 : 90, 0, 1, 0);
|
||||||
|
|
||||||
if (side == EnumHandSide.LEFT) {
|
if (side == EnumHandSide.LEFT) {
|
||||||
super.renderLeftArm(player);
|
super.renderLeftArm(player);
|
||||||
|
|
Loading…
Reference in a new issue