public class GuiWorldSelection extends GuiScreen
Modifier and Type | Field and Description |
---|---|
private GuiButton |
copyButton |
private GuiButton |
deleteButton |
private static org.apache.logging.log4j.Logger |
LOGGER |
protected GuiScreen |
prevScreen |
private GuiButton |
renameButton |
private GuiButton |
selectButton |
private GuiListWorldSelection |
selectionList |
protected java.lang.String |
title |
private java.lang.String |
worldVersTooltip |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiWorldSelection(GuiScreen screenIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
handleMouseInput() |
void |
initGui() |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
protected void |
mouseReleased(int mouseX,
int mouseY,
int state) |
void |
postInit() |
void |
selectWorld(GuiListWorldSelectionEntry entry) |
void |
setVersionTooltip(java.lang.String p_184861_1_) |
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClickMove, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final org.apache.logging.log4j.Logger LOGGER
protected GuiScreen prevScreen
protected java.lang.String title
private java.lang.String worldVersTooltip
private GuiButton deleteButton
private GuiButton selectButton
private GuiButton renameButton
private GuiButton copyButton
private GuiListWorldSelection selectionList
public GuiWorldSelection(GuiScreen screenIn)
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
public void postInit()
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
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
protected void mouseReleased(int mouseX, int mouseY, int state)
mouseReleased
in class GuiScreen
public void setVersionTooltip(java.lang.String p_184861_1_)
public void selectWorld(@Nullable GuiListWorldSelectionEntry entry)