Examples of AshDragonPart


Examples of me.ashtheking.dragons.mob.helper.AshDragonPart

    oldVar = 0.0F;
    needsToReset = false;
    differentMotion = false;
    deathCount = 0;
    dragonPartList = (new AshDragonPart[] {
        dragonHead = new AshDragonPart(this, "head", 4F, 4F),
        dragonBody = new AshDragonPart(this, "body", 8F, 8F),
        dragonTail1 = new AshDragonPart(this, "tail", 4F, 4F),
        dragonTail2 = new AshDragonPart(this, "tail", 4F, 4F),
        dragonTail3 = new AshDragonPart(this, "tail", 4F, 4F),
        dragonWing1 = new AshDragonPart(this, "wing", 4F, 4F),
        dragonWing2 = new AshDragonPart(this, "wing", 4F, 4F) });
    setEntityHealth(getMaxHealth());
    texture = "/mob/dragon.png";
    setSize(16F, 8F);
    noClip = false;
    isImmuneToFire = true;
View Full Code Here

Examples of me.ashtheking.dragons.mob.helper.AshDragonPart

    dragonHead.onUpdate();
    dragonHead.setLocationAndAngles(posX + (double) (f11 * 5.5F * f5), posY
        + (ad1[1] - ad[1]) * 1.0D + (double) (f6 * 5.5F), posZ
        - (double) (f12 * 5.5F * f5), 0.0F, 0.0F);
    for (int j = 0; j < 3; j++) {
      AshDragonPart AshDragonPart = null;
      if (j == 0) {
        AshDragonPart = dragonTail1;
      }
      if (j == 1) {
        AshDragonPart = dragonTail2;
      }
      if (j == 2) {
        AshDragonPart = dragonTail3;
      }
      double ad2[] = calculateSomething(12 + j * 2, 1.0F);
      float f13 = (rotationYaw * 3.141593F) / 180F
          + ((func_40159_b(ad2[0] - ad[0]) * 3.141593F) / 180F)
          * 1.0F;
      float f14 = MathHelper.sin(f13);
      float f15 = MathHelper.cos(f13);
      float f16 = 1.5F;
      float f17 = (float) (j + 1) * 2.0F;
      AshDragonPart.onUpdate();
      AshDragonPart
          .setLocationAndAngles(
              posX - (double) ((f8 * f16 + f14 * f17) * f5),
              ((posY + (ad2[1] - ad[1]) * 1.0D) - (double) ((f17 + f16) * f6)) + 1.5D,
              posZ + (double) ((f9 * f16 + f15 * f17) * f5),
              0.0F, 0.0F);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.