public class GuiMultiplayer extends GuiScreen implements GuiYesNoCallback
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, optionsBackground, statIcons, zLevel| Constructor and Description |
|---|
GuiMultiplayer(GuiScreen parentScreen) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
void |
confirmClicked(boolean result,
int id) |
void |
connectToSelected() |
void |
createButtons() |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
void |
func_175391_a(ServerListEntryNormal p_175391_1_,
int p_175391_2_,
boolean p_175391_3_) |
boolean |
func_175392_a(ServerListEntryNormal p_175392_1_,
int p_175392_2_) |
void |
func_175393_b(ServerListEntryNormal p_175393_1_,
int p_175393_2_,
boolean p_175393_3_) |
boolean |
func_175394_b(ServerListEntryNormal p_175394_1_,
int p_175394_2_) |
OldServerPinger |
getOldServerPinger() |
ServerList |
getServerList() |
void |
handleMouseInput()
Handles mouse input.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
keyTyped(char typedChar,
int keyCode)
Fired when a key is typed (except F11 which toggles full screen).
|
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton)
Called when the mouse is clicked.
|
protected void |
mouseReleased(int mouseX,
int mouseY,
int state)
Called when a mouse button is released.
|
void |
onGuiClosed()
Called when the screen is unloaded.
|
void |
selectServer(int index) |
void |
setHoveringText(java.lang.String p_146793_1_) |
void |
updateScreen()
Called from the main game loop to update the screen.
|
doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, func_183500_a, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLinepublic GuiMultiplayer(GuiScreen parentScreen)
public void initGui()
public void handleMouseInput()
throws java.io.IOException
handleMouseInput in class GuiScreenjava.io.IOExceptionpublic void createButtons()
public void updateScreen()
updateScreen in class GuiScreenpublic void onGuiClosed()
onGuiClosed in class GuiScreenprotected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed in class GuiScreenjava.io.IOExceptionpublic void confirmClicked(boolean result,
int id)
confirmClicked in interface GuiYesNoCallbackconfirmClicked in class GuiScreenprotected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreenpublic void connectToSelected()
public void selectServer(int index)
public OldServerPinger getOldServerPinger()
public void setHoveringText(java.lang.String p_146793_1_)
protected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class GuiScreenjava.io.IOExceptionprotected void mouseReleased(int mouseX,
int mouseY,
int state)
mouseReleased in class GuiScreenpublic ServerList getServerList()
public boolean func_175392_a(ServerListEntryNormal p_175392_1_, int p_175392_2_)
public boolean func_175394_b(ServerListEntryNormal p_175394_1_, int p_175394_2_)
public void func_175391_a(ServerListEntryNormal p_175391_1_, int p_175391_2_, boolean p_175391_3_)
public void func_175393_b(ServerListEntryNormal p_175393_1_, int p_175393_2_, boolean p_175393_3_)