private void func_74088_g() { StringTranslate var1 = StringTranslate.func_74808_a(); this.field_74091_c.field_73744_e = var1.func_74805_b("selectWorld.gameMode") + " " + var1.func_74805_b("selectWorld.gameMode." + this.field_74089_d); this.field_74090_b.field_73744_e = var1.func_74805_b("selectWorld.allowCommands") + " "; if (this.field_74093_m) { this.field_74090_b.field_73744_e = this.field_74090_b.field_73744_e + var1.func_74805_b("options.on"); } else { this.field_74090_b.field_73744_e = this.field_74090_b.field_73744_e + var1.func_74805_b("options.off"); } }
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; } }