use of am2.guis.GuiHudCustomization in project ArsMagica2 by Mithion.
the class ConfigureAMUICommand method showIfQueued.
public static void showIfQueued() {
if (showGUI) {
Minecraft.getMinecraft().displayGuiScreen(new GuiHudCustomization());
showGUI = false;
}
}
use of am2.guis.GuiHudCustomization in project ArsMagica2 by Mithion.
the class ClientTickHandler method renderOverlays.
public void renderOverlays() {
GuiScreen guiScreen = Minecraft.getMinecraft().currentScreen;
if (Minecraft.getMinecraft().thePlayer != null && Minecraft.getMinecraft().theWorld != null && (Minecraft.getMinecraft().inGameHasFocus || guiScreen instanceof GuiHudCustomization)) {
this.inGameGui.renderGameOverlay();
ConfigureAMUICommand.showIfQueued();
}
}
Aggregations