コード例 #1
0
 /*  61:    */
 /*  62:    */ public void setRotationAngles(
     float f, float f1, float f2, float f3, float f4, float f5, Entity entity)
       /*  63:    */ {
   /*  64:101 */ super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
   /*  65:102 */ EntityHumanBase e = (EntityHumanBase) entity;
   /*  66:104 */ if (e.isSitting())
   /*  67:    */ {
     /*  68:106 */ this.bipedRightArm.rotateAngleX += 1.1F;
     /*  69:107 */ this.bipedLeftArm.rotateAngleX += 1.1F;
     /*  70:    */ }
   /*  71:109 */ if (e.isTwoHanded())
   /*  72:    */ {
     /*  73:111 */ this.bipedRightArm.rotateAngleX += 0.5F;
     /*  74:112 */ this.bipedLeftArm.rotateAngleX += 0.5F;
     /*  75:    */ }
   /*  76:114 */ else if (!e.isAiming())
   /*  77:    */ {
     /*  78:116 */ this.bipedRightArm.rotateAngleX -= 0.7F;
     /*  79:117 */ this.bipedLeftArm.rotateAngleX -= 0.7F;
     /*  80:    */ }
   /*  81:120 */ if (e.isDefending()) {
     /*  82:122 */ setShiedRotation(f2);
     /*  83:    */ }
   /*  84:126 */ this.bipedRightLeg.setRotationPoint(2.0F, 7.0F, 8.0F);
   /*  85:127 */ this.bipedLeftLeg.setRotationPoint(2.0F, 7.0F, 8.0F);
   /*  86:128 */ this.bipedBody.rotateAngleX = 0.7F;
   /*  87:    */ }