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, width
ICONS, 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, setWorldAndResolution
focusNext, focusOn, getFocused, mouseDragged, mouseReleased, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseScrolled
canFocus, focusChanged
public boolean doesGuiPauseGame()
doesGuiPauseGame
in class GuiScreen
public boolean allowCloseWithEscape()
allowCloseWithEscape
in class GuiScreen
public void confirmResult(boolean p_confirmResult_1_, int p_confirmResult_2_)
confirmResult
in interface GuiYesNoCallback
confirmResult
in class GuiScreen
public 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 IGuiEventListener
mouseClicked
in interface IGuiEventListenerDeferred
mouseClicked
in class GuiEventHandler
public void onGuiClosed()
onGuiClosed
in class GuiScreen