public class GuiMainMenu extends GuiScreen
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiMainMenu() |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
private void |
addDemoButtons(int p_73972_1_,
int p_73972_2_) |
private void |
addSingleplayerMultiplayerButtons(int p_73969_1_,
int p_73969_2_) |
private boolean |
areRealmsNotificationsEnabled() |
void |
confirmClicked(boolean result,
int id) |
boolean |
doesGuiPauseGame() |
private void |
drawPanorama(int mouseX,
int mouseY,
float partialTicks) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
initGui() |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
onGuiClosed() |
private void |
renderSkybox(int mouseX,
int mouseY,
float partialTicks) |
private void |
rotateAndBlurSkybox() |
private void |
switchToRealms() |
void |
updateScreen() |
addButton, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, mouseReleased, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final org.apache.logging.log4j.Logger LOGGER
private static final java.util.Random RANDOM
private final float minceraftRoll
private java.lang.String splashText
private GuiButton buttonResetDemo
private float panoramaTimer
private DynamicTexture viewportTexture
private final java.lang.Object threadLock
public static final java.lang.String MORE_INFO_TEXT
private int openGLWarning2Width
private int openGLWarning1Width
private int openGLWarningX1
private int openGLWarningY1
private int openGLWarningX2
private int openGLWarningY2
private java.lang.String openGLWarning1
private java.lang.String openGLWarning2
private java.lang.String openGLWarningLink
private static final ResourceLocation SPLASH_TEXTS
private static final ResourceLocation MINECRAFT_TITLE_TEXTURES
private static final ResourceLocation field_194400_H
private static final ResourceLocation[] TITLE_PANORAMA_PATHS
private ResourceLocation backgroundTexture
private GuiButton realmsButton
private boolean hasCheckedForRealmsNotification
private GuiScreen realmsNotification
private int widthCopyright
private int widthCopyrightRest
private GuiButton modButton
private NotificationModUpdateScreen modUpdateNotification
private boolean areRealmsNotificationsEnabled()
public void updateScreen()
updateScreen
in class GuiScreen
public boolean doesGuiPauseGame()
doesGuiPauseGame
in class GuiScreen
protected void keyTyped(char typedChar, int keyCode) throws java.io.IOException
private void addSingleplayerMultiplayerButtons(int p_73969_1_, int p_73969_2_)
private void addDemoButtons(int p_73972_1_, int p_73972_2_)
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
private void switchToRealms()
public void confirmClicked(boolean result, int id)
confirmClicked
in interface GuiYesNoCallback
confirmClicked
in class GuiScreen
private void drawPanorama(int mouseX, int mouseY, float partialTicks)
private void rotateAndBlurSkybox()
private void renderSkybox(int mouseX, int mouseY, float partialTicks)
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
mouseClicked
in class GuiScreen
java.io.IOException
public void onGuiClosed()
onGuiClosed
in class GuiScreen