@Override
 protected void applyEntityAttributes() {
   super.applyEntityAttributes();
   this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setAttribute(0.25); // speed
   this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setAttribute(30); // Attack
   this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setAttribute(430); // MaxHP
 }
  /**
   * Called frequently so the entity can update its state every tick as required. For example,
   * zombies and skeletons use this to react to sunlight and start to burn.
   */
  @Override
  public void onLivingUpdate() {
    if (this.worldObj.isDaytime() && !this.worldObj.isRemote) {
      float var1 = this.getBrightness(1.0F);

      if (var1 > 0.5F
          && this.worldObj.canBlockSeeTheSky(
              MathHelper.floor_double(this.posX),
              MathHelper.floor_double(this.posY),
              MathHelper.floor_double(this.posZ))
          && this.rand.nextFloat() * 30.0F < (var1 - 0.4F) * 2.0F) {
        this.setFire(8);
      }
    }

    super.onLivingUpdate();
  }