Пример #1
0
  public void func_74143_g() {
    StringTranslate var1 = StringTranslate.func_74808_a();
    this.field_73887_h.add(
        new GuiButton(
            0,
            this.field_73880_f / 2 + 4,
            this.field_73881_g - 28,
            150,
            20,
            var1.func_74805_b("gui.done")));
    this.field_73887_h.add(
        new GuiButton(
            1,
            this.field_73880_f / 2 - 154,
            this.field_73881_g - 52,
            100,
            20,
            var1.func_74805_b("stat.generalButton")));
    GuiButton var2;
    this.field_73887_h.add(
        var2 =
            new GuiButton(
                2,
                this.field_73880_f / 2 - 46,
                this.field_73881_g - 52,
                100,
                20,
                var1.func_74805_b("stat.blocksButton")));
    GuiButton var3;
    this.field_73887_h.add(
        var3 =
            new GuiButton(
                3,
                this.field_73880_f / 2 + 62,
                this.field_73881_g - 52,
                100,
                20,
                var1.func_74805_b("stat.itemsButton")));
    if (this.field_74155_n.func_77217_a() == 0) {
      var2.field_73742_g = false;
    }

    if (this.field_74157_m.func_77217_a() == 0) {
      var3.field_73742_g = false;
    }
  }