コード例 #1
0
  public void c() {
    this.c.setGoalTarget(this.b);
    EntityLiving entityliving = this.a.getOwner();

    if (entityliving != null) {
      this.e = entityliving.aF();
    }

    super.c();
  }
コード例 #2
0
  public boolean a() {
    if (!this.a.isTamed()) {
      return false;
    } else {
      EntityLiving entityliving = this.a.getOwner();

      if (entityliving == null) {
        return false;
      } else {
        this.b = entityliving.getLastDamager();
        int i = entityliving.aF();

        return i != this.e && this.a(this.b, false) && this.a.a(this.b, entityliving);
      }
    }
  }