Minor fixes for 2nd Right Arm rotation
Also checking the game setting if players enabled Left and Right sleeve.
This commit is contained in:
parent
af922c452a
commit
ef6d78fc2d
|
|
@ -416,13 +416,20 @@ public class RenderEvents
|
||||||
fakeRightArm.rotateAngleY = -0.15f;
|
fakeRightArm.rotateAngleY = -0.15f;
|
||||||
fakeLeftArm.rotateAngleY = 0.15f;
|
fakeLeftArm.rotateAngleY = 0.15f;
|
||||||
fakeLeftArmwear.rotateAngleY = 0.15f;
|
fakeLeftArmwear.rotateAngleY = 0.15f;
|
||||||
fakeRightArmwear.rotateAngleY = 0.15f;
|
fakeRightArmwear.rotateAngleY = -0.15f;
|
||||||
|
|
||||||
}
|
}
|
||||||
model.bipedBody.addChild(fakeLeftArm);
|
model.bipedBody.addChild(fakeLeftArm);
|
||||||
model.bipedBody.addChild(fakeRightArm);
|
model.bipedBody.addChild(fakeRightArm);
|
||||||
model.bipedBody.addChild(fakeLeftArmwear);
|
|
||||||
model.bipedBody.addChild(fakeRightArmwear);
|
if (Minecraft.getMinecraft().gameSettings.getModelParts().contains(EnumPlayerModelParts.LEFT_SLEEVE))
|
||||||
|
{
|
||||||
|
model.bipedBody.addChild(fakeLeftArmwear);
|
||||||
|
}
|
||||||
|
if (Minecraft.getMinecraft().gameSettings.getModelParts().contains(EnumPlayerModelParts.RIGHT_SLEEVE))
|
||||||
|
{
|
||||||
|
model.bipedBody.addChild(fakeRightArmwear);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user