mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Once the old folder is done, then patches are done. Want to know whats still to do? Look in that folder. Now stop asking.
33 lines
2.3 KiB
Diff
33 lines
2.3 KiB
Diff
--- ../src-base/minecraft/net/minecraft/client/gui/GuiIngameMenu.java
|
|
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiIngameMenu.java
|
|
@@ -30,7 +30,8 @@
|
|
|
|
this.field_146292_n.add(new GuiButton(4, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 24 + -16, I18n.func_135052_a("menu.returnToGame")));
|
|
this.field_146292_n.add(new GuiButton(0, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 96 + -16, 98, 20, I18n.func_135052_a("menu.options")));
|
|
- GuiButton guibutton = this.func_189646_b(new GuiButton(7, this.field_146294_l / 2 + 2, this.field_146295_m / 4 + 96 + -16, 98, 20, I18n.func_135052_a("menu.shareToLan")));
|
|
+ this.field_146292_n.add(new GuiButton(12, this.field_146294_l / 2 + 2, this.field_146295_m / 4 + 96 + i, 98, 20, I18n.func_135052_a("fml.menu.modoptions")));
|
|
+ GuiButton guibutton = this.func_189646_b(new GuiButton(7, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 72 + -16, 200, 20, I18n.func_135052_a("menu.shareToLan", new Object[0])));
|
|
guibutton.field_146124_l = this.field_146297_k.func_71356_B() && !this.field_146297_k.func_71401_C().func_71344_c();
|
|
this.field_146292_n.add(new GuiButton(5, this.field_146294_l / 2 - 100, this.field_146295_m / 4 + 48 + -16, 98, 20, I18n.func_135052_a("gui.advancements")));
|
|
this.field_146292_n.add(new GuiButton(6, this.field_146294_l / 2 + 2, this.field_146295_m / 4 + 48 + -16, 98, 20, I18n.func_135052_a("gui.stats")));
|
|
@@ -73,13 +74,19 @@
|
|
this.field_146297_k.func_71381_h();
|
|
break;
|
|
case 5:
|
|
+ if (this.field_146297_k.field_71439_g != null)
|
|
this.field_146297_k.func_147108_a(new GuiScreenAdvancements(this.field_146297_k.field_71439_g.field_71174_a.func_191982_f()));
|
|
break;
|
|
case 6:
|
|
+ if (this.field_146297_k.field_71439_g != null)
|
|
this.field_146297_k.func_147108_a(new GuiStats(this, this.field_146297_k.field_71439_g.func_146107_m()));
|
|
break;
|
|
case 7:
|
|
this.field_146297_k.func_147108_a(new GuiShareToLan(this));
|
|
+ break;
|
|
+ case 12:
|
|
+ net.minecraftforge.fml.client.FMLClientHandler.instance().showInGameModOptions(this);
|
|
+ break;
|
|
}
|
|
}
|
|
|