Example #1
0
  public void func_70604_c(EntityLivingBase p_70604_1_) {
    super.func_70604_c(p_70604_1_);
    if (this.field_70954_d != null && p_70604_1_ != null) {
      this.field_70954_d.func_75575_a(p_70604_1_);
      if (p_70604_1_ instanceof EntityPlayer) {
        byte var2 = -1;
        if (this.func_70631_g_()) {
          var2 = -3;
        }

        this.field_70954_d.func_82688_a(p_70604_1_.func_70005_c_(), var2);
        if (this.func_70089_S()) {
          this.field_70170_p.func_72960_a(this, (byte) 13);
        }
      }
    }
  }