Class JoinMultiplayerScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.multiplayer.JoinMultiplayerScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Widget
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate Button
private Button
private ServerData
private boolean
private LanServerDetection.LanServerList
private Screen
private static org.apache.logging.log4j.Logger
private ServerStatusPinger
private Button
private ServerList
protected ServerSelectionList
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addServerCallback(boolean p_99722_)
private void
deleteCallback(boolean p_99712_)
private void
directJoinCallback(boolean p_99726_)
private void
editServerCallback(boolean p_99717_)
protected void
init()
private void
join(ServerData p_99703_)
void
boolean
keyPressed(int p_99690_, int p_99691_, int p_99692_)
void
onClose()
protected void
private void
void
removed()
void
void
setSelected(ServerSelectionList.Entry p_99701_)
void
setToolTip(List<Component> p_99708_)
void
tick()
Methods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentToolTip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
pinger
-
lastScreen
-
serverSelectionList
-
servers
-
editButton
-
selectButton
-
deleteButton
-
toolTip
-
editingServer
-
lanServerList
-
lanServerDetector
-
initedOnce
private boolean initedOnce
-
-
Constructor Details
-
JoinMultiplayerScreen
-
-
Method Details
-
init
protected void init() -
tick
public void tick() -
removed
public void removed() -
refreshServerList
private void refreshServerList() -
deleteCallback
private void deleteCallback(boolean p_99712_) -
editServerCallback
private void editServerCallback(boolean p_99717_) -
addServerCallback
private void addServerCallback(boolean p_99722_) -
directJoinCallback
private void directJoinCallback(boolean p_99726_) -
keyPressed
public boolean keyPressed(int p_99690_, int p_99691_, int p_99692_)- Specified by:
keyPressed
in interfaceContainerEventHandler
- Specified by:
keyPressed
in interfaceGuiEventListener
- Overrides:
keyPressed
in classScreen
-
render
-
joinSelectedServer
public void joinSelectedServer() -
join
-
setSelected
-
onSelectedChange
protected void onSelectedChange() -
onClose
public void onClose() -
getPinger
-
setToolTip
-
getServers
-