public class GuiMainMenu extends GuiScreen
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MORE_INFO_TEXT |
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiMainMenu() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowCloseWithEscape() |
void |
confirmResult(boolean p_confirmResult_1_,
int p_confirmResult_2_) |
boolean |
doesGuiPauseGame() |
protected void |
initGui() |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
void |
onGuiClosed() |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
void |
tick() |
addButton, close, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyPressed, onResize, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolutionfocusNext, focusOn, getFocused, mouseDragged, mouseReleased, setDragging, setFocuseddrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseScrolledcanFocus, focusChangedpublic boolean doesGuiPauseGame()
doesGuiPauseGame in class GuiScreenpublic boolean allowCloseWithEscape()
allowCloseWithEscape in class GuiScreenpublic void confirmResult(boolean p_confirmResult_1_,
int p_confirmResult_2_)
confirmResult in interface GuiYesNoCallbackconfirmResult in class GuiScreenpublic void render(int mouseX,
int mouseY,
float partialTicks)
public boolean mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_)
mouseClicked in interface IGuiEventListenermouseClicked in interface IGuiEventListenerDeferredmouseClicked in class GuiEventHandlerpublic void onGuiClosed()
onGuiClosed in class GuiScreen