public class ConnectingScreen extends Screen
Modifier and Type | Field and Description |
---|---|
private boolean |
cancel |
private static java.util.concurrent.atomic.AtomicInteger |
CONNECTION_ID |
private ITextComponent |
field_209515_s |
private long |
field_213000_g |
private static org.apache.logging.log4j.Logger |
LOGGER |
private NetworkManager |
networkManager |
private Screen |
previousGuiScreen |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
ConnectingScreen(Screen parent,
Minecraft mcIn,
ServerData serverDataIn) |
ConnectingScreen(Screen parent,
Minecraft mcIn,
java.lang.String hostName,
int port) |
Modifier and Type | Method and Description |
---|---|
private void |
connect(java.lang.String ip,
int port) |
private void |
func_209514_a(ITextComponent p_209514_1_) |
protected void |
init() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
boolean |
shouldCloseOnEsc() |
void |
tick() |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefault
mouseMoved
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 Screen previousGuiScreen
private ITextComponent field_209515_s
private long field_213000_g
public ConnectingScreen(Screen parent, Minecraft mcIn, ServerData serverDataIn)
private void connect(java.lang.String ip, int port)
private void func_209514_a(ITextComponent p_209514_1_)
public boolean shouldCloseOnEsc()
shouldCloseOnEsc
in class Screen
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class Screen