public class GuiConnecting extends GuiScreen
Modifier and Type | Field and Description |
---|---|
private boolean |
cancel |
private static java.util.concurrent.atomic.AtomicInteger |
CONNECTION_ID |
private static org.apache.logging.log4j.Logger |
LOGGER |
private NetworkManager |
networkManager |
private GuiScreen |
previousGuiScreen |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiConnecting(GuiScreen parent,
Minecraft mcIn,
ServerData serverDataIn) |
GuiConnecting(GuiScreen parent,
Minecraft mcIn,
java.lang.String hostName,
int port) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
private void |
connect(java.lang.String ip,
int port) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
initGui() |
protected void |
keyTyped(char typedChar,
int keyCode) |
void |
updateScreen() |
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final java.util.concurrent.atomic.AtomicInteger CONNECTION_ID
private static final org.apache.logging.log4j.Logger LOGGER
private NetworkManager networkManager
private boolean cancel
private final GuiScreen previousGuiScreen
public GuiConnecting(GuiScreen parent, Minecraft mcIn, ServerData serverDataIn)
private void connect(java.lang.String ip, int port)
public void updateScreen()
updateScreen
in class GuiScreen
protected void keyTyped(char typedChar, int keyCode) throws java.io.IOException
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