Class MultiplayerScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.multiplayer.MultiplayerScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/multiplayer/MultiplayerScreenintermediary net/minecraft/class_500official goh
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ButtonWidgetprivate ButtonWidgetprivate ButtonWidgetprivate static final intprivate static final intprivate final ThreePartsLayoutWidgetprivate static final Loggerprivate final Screenprivate ServerInfoprivate ServerListprivate final MultiplayerServerListPingerprotected MultiplayerServerListWidgetFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddEntry(boolean confirmedAction) voidclose()voidconnect(ServerInfo entry) private voiddirectConnect(boolean confirmedAction) private voideditEntry(boolean confirmedAction) protected voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private voidrefresh()protected voidvoidremoved()private voidremoveEntry(boolean confirmedAction) voidtick()protected voidMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, deferSubtitles, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keepOpenThroughPortal, method_73339, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, method_72784, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_3044Lnet/minecraft/class_500;field_3044:Lorg/slf4j/Logger;official bLgoh;b:Lorg/slf4j/Logger;
-
field_41850
private static final int field_41850- See Also:
- Mappings:
Namespace Name Mixin selector named field_41850Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41850:Iintermediary field_41850Lnet/minecraft/class_500;field_41850:Iofficial cLgoh;c:I
-
field_41851
private static final int field_41851- See Also:
- Mappings:
Namespace Name Mixin selector named field_41851Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41851:Iintermediary field_41851Lnet/minecraft/class_500;field_41851:Iofficial dLgoh;d:I
-
field_62178
- Mappings:
Namespace Name Mixin selector named field_62178Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_62178:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_62178Lnet/minecraft/class_500;field_62178:Lnet/minecraft/class_8132;official eLgoh;e:Lgho;
-
serverListPinger
- Mappings:
Namespace Name Mixin selector named serverListPingerLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverListPinger:Lnet/minecraft/client/network/MultiplayerServerListPinger;intermediary field_3037Lnet/minecraft/class_500;field_3037:Lnet/minecraft/class_644;official fLgoh;f:Lgyh;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_3049Lnet/minecraft/class_500;field_3049:Lnet/minecraft/class_437;official tLgoh;t:Lgkv;
-
serverListWidget
- Mappings:
Namespace Name Mixin selector named serverListWidgetLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverListWidget:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;intermediary field_3043Lnet/minecraft/class_500;field_3043:Lnet/minecraft/class_4267;official aLgoh;a:Lgok;
-
serverList
- Mappings:
Namespace Name Mixin selector named serverListLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverList:Lnet/minecraft/client/option/ServerList;intermediary field_3040Lnet/minecraft/class_500;field_3040:Lnet/minecraft/class_641;official uLgoh;u:Lgyg;
-
buttonEdit
- Mappings:
Namespace Name Mixin selector named buttonEditLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonEdit:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_3041Lnet/minecraft/class_500;field_3041:Lnet/minecraft/class_4185;official vLgoh;v:Lgcb;
-
buttonJoin
- Mappings:
Namespace Name Mixin selector named buttonJoinLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonJoin:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_3050Lnet/minecraft/class_500;field_3050:Lnet/minecraft/class_4185;official wLgoh;w:Lgcb;
-
buttonDelete
- Mappings:
Namespace Name Mixin selector named buttonDeleteLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonDelete:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_3047Lnet/minecraft/class_500;field_3047:Lnet/minecraft/class_4185;official xLgoh;x:Lgcb;
-
selectedEntry
- Mappings:
Namespace Name Mixin selector named selectedEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;selectedEntry:Lnet/minecraft/client/network/ServerInfo;intermediary field_3051Lnet/minecraft/class_500;field_3051:Lnet/minecraft/class_642;official yLgoh;y:Lgyf;
-
lanServers
- Mappings:
Namespace Name Mixin selector named lanServersLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;lanServers:Lnet/minecraft/client/network/LanServerQueryManager$LanServerEntryList;intermediary field_3046Lnet/minecraft/class_500;field_3046:Lnet/minecraft/class_1134$class_1136;official zLgoh;z:Lidp$b;
-
lanServerDetector
- Mappings:
Namespace Name Mixin selector named lanServerDetectorLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;lanServerDetector:Lnet/minecraft/client/network/LanServerQueryManager$LanServerDetector;intermediary field_3045Lnet/minecraft/class_500;field_3045:Lnet/minecraft/class_1134$class_1135;official ALgoh;A:Lidp$a;
-
-
Constructor Details
-
MultiplayerScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)Vintermediary <init>Lnet/minecraft/class_500;<init>(Lnet/minecraft/class_437;)Vofficial <init>Lgoh;<init>(Lgkv;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLgkv;c()V
-
close
public void close() -
tick
public void tick() -
removed
public void removed() -
refresh
private void refresh()- Mappings:
Namespace Name Mixin selector named refreshLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;refresh()Vintermediary method_2534Lnet/minecraft/class_500;method_2534()Vofficial LLgoh;L()V
-
removeEntry
private void removeEntry(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector named removeEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;removeEntry(Z)Vintermediary method_20377Lnet/minecraft/class_500;method_20377(Z)Vofficial cLgoh;c(Z)V
-
editEntry
private void editEntry(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector named editEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;editEntry(Z)Vintermediary method_20378Lnet/minecraft/class_500;method_20378(Z)Vofficial fLgoh;f(Z)V
-
addEntry
private void addEntry(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector named addEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;addEntry(Z)Vintermediary method_20379Lnet/minecraft/class_500;method_20379(Z)Vofficial gLgoh;g(Z)V
-
directConnect
private void directConnect(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector named directConnectLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;directConnect(Z)Vintermediary method_20380Lnet/minecraft/class_500;method_20380(Z)Vofficial hLgoh;h(Z)V
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLgfi;a(III)Z
-
connect
- Mappings:
Namespace Name Mixin selector named connectLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;connect(Lnet/minecraft/client/network/ServerInfo;)Vintermediary method_2548Lnet/minecraft/class_500;method_2548(Lnet/minecraft/class_642;)Vofficial aLgoh;a(Lgyf;)V
-
updateButtonActivationStates
protected void updateButtonActivationStates()- Mappings:
Namespace Name Mixin selector named updateButtonActivationStatesLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;updateButtonActivationStates()Vintermediary method_20121Lnet/minecraft/class_500;method_20121()Vofficial oLgoh;o()V
-
getServerListPinger
- Mappings:
Namespace Name Mixin selector named getServerListPingerLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerListPinger()Lnet/minecraft/client/network/MultiplayerServerListPinger;intermediary method_2538Lnet/minecraft/class_500;method_2538()Lnet/minecraft/class_644;official pLgoh;p()Lgyh;
-
getServerList
- Mappings:
Namespace Name Mixin selector named getServerListLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerList()Lnet/minecraft/client/option/ServerList;intermediary method_2529Lnet/minecraft/class_500;method_2529()Lnet/minecraft/class_641;official KLgoh;K()Lgyg;
-