示例#1
0
 public void func_75692_b(int p_75692_1_, Object p_75692_2_) {
   DataWatcher.WatchableObject var3 = this.func_75691_i(p_75692_1_);
   if (ObjectUtils.notEqual(p_75692_2_, var3.func_75669_b())) {
     var3.func_75673_a(p_75692_2_);
     this.field_151511_a.func_145781_i(p_75692_1_);
     var3.func_75671_a(true);
     this.field_75696_c = true;
   }
 }
示例#2
0
  public List func_75688_b() {
    ArrayList var1 = null;
    if (this.field_75696_c) {
      this.field_75694_d.readLock().lock();
      Iterator var2 = this.field_75695_b.values().iterator();

      while (var2.hasNext()) {
        DataWatcher.WatchableObject var3 = (DataWatcher.WatchableObject) var2.next();
        if (var3.func_75670_d()) {
          var3.func_75671_a(false);
          if (var1 == null) {
            var1 = new ArrayList();
          }

          var1.add(var3);
        }
      }

      this.field_75694_d.readLock().unlock();
    }

    this.field_75696_c = false;
    return var1;
  }