Пример #1
0
  public void func_6448_a() {
    this.field_949_e.clear();
    if (this.field_945_b.field_6324_e.func_22144_v().func_40724_s()) {
      this.field_949_e.add(
          new GuiButton(
              1,
              this.field_951_c / 2 - 100,
              this.field_950_d / 4 + 96,
              StatCollector.func_25200_a("deathScreen.deleteWorld")));
    } else {
      this.field_949_e.add(
          new GuiButton(
              1,
              this.field_951_c / 2 - 100,
              this.field_950_d / 4 + 72,
              StatCollector.func_25200_a("deathScreen.respawn")));
      this.field_949_e.add(
          new GuiButton(
              2,
              this.field_951_c / 2 - 100,
              this.field_950_d / 4 + 96,
              StatCollector.func_25200_a("deathScreen.titleScreen")));
      if (this.field_945_b.field_6320_i == null) {
        ((GuiButton) this.field_949_e.get(1)).field_937_g = false;
      }
    }

    GuiButton var2;
    for (Iterator var1 = this.field_949_e.iterator(); var1.hasNext(); var2.field_937_g = false) {
      var2 = (GuiButton) var1.next();
    }
  }
Пример #2
0
 public void func_570_g() {
   super.func_570_g();
   ++this.field_48154_a;
   GuiButton var2;
   if (this.field_48154_a == 20) {
     for (Iterator var1 = this.field_949_e.iterator(); var1.hasNext(); var2.field_937_g = true) {
       var2 = (GuiButton) var1.next();
     }
   }
 }