Ejemplo n.º 1
0
 public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
   super.render(entity, f, f1, f2, f3, f4, f5);
   setRotationAngles(f, f1, f2, f3, f4, f5);
   Crystal.render(f5);
   Rod.render(f5);
   Bottom.render(f5);
 }
 /** Sets the models various rotation angles. */
 public void setRotationAngles(
     float par1, float par2, float par3, float par4, float par5, float par6) {
   super.setRotationAngles(par1, par2, par3, par4, par5, par6);
   this.field_78195_c.rotateAngleY = par4 / (180F / (float) Math.PI);
   this.field_78195_c.rotateAngleX = par5 / (180F / (float) Math.PI);
   this.field_78196_a.rotateAngleY = par4 / (180F / (float) Math.PI) * 0.25F;
   float var7 = MathHelper.sin(this.field_78196_a.rotateAngleY);
   float var8 = MathHelper.cos(this.field_78196_a.rotateAngleY);
   this.field_78192_d.rotateAngleZ = 1.0F;
   this.field_78193_e.rotateAngleZ = -1.0F;
   this.field_78192_d.rotateAngleY = 0.0F + this.field_78196_a.rotateAngleY;
   this.field_78193_e.rotateAngleY = (float) Math.PI + this.field_78196_a.rotateAngleY;
   this.field_78192_d.rotationPointX = var8 * 5.0F;
   this.field_78192_d.rotationPointZ = -var7 * 5.0F;
   this.field_78193_e.rotationPointX = -var8 * 5.0F;
   this.field_78193_e.rotationPointZ = var7 * 5.0F;
 }
Ejemplo n.º 3
0
 public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
   super.render(entity, f, f1, f2, f3, f4, f5);
   setRotationAngles(f, f1, f2, f3, f4, f5);
   Rod1.render(f5);
   Wheel1.render(f5);
   Rod2.render(f5);
   Rod3.render(f5);
   Rod4.render(f5);
   Wheel2.render(f5);
   Rod5.render(f5);
   Rod6.render(f5);
   Hand1.render(f5);
   Rod7.render(f5);
   Hand2.render(f5);
   Rod8.render(f5);
   BackSide.render(f5);
   Main1.render(f5);
   Main2.render(f5);
   Liquid.render(f5);
   MainBack.render(f5);
   Main3.render(f5);
   Main4.render(f5);
 }
 public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5) {
   super.setRotationAngles(f, f1, f2, f3, f4, f5);
 }
 public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
   super.render(entity, f, f1, f2, f3, f4, f5);
   setRotationAngles(f, f1, f2, f3, f4, f5);
   Shape1.render(f5);
   Shape2.render(f5);
 }
Ejemplo n.º 6
0
 public ContentObject(int id, String value, double rating, boolean isFavorites) {
   super.setId(id);
   this.text = value;
   this.rating = rating;
   this.isFavorites = isFavorites;
 }