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 intermediary net/minecraft/class_500official excnamed net/minecraft/client/gui/screen/multiplayer/MultiplayerScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ButtonWidgetprivate ButtonWidgetprivate ButtonWidgetstatic final intstatic final intstatic final intstatic final intprivate booleanprivate static final Loggerprivate final Screenprivate ServerInfoprivate ServerListprivate final MultiplayerServerListPingerprotected MultiplayerServerListWidgetFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddEntry(boolean confirmedAction) voidconnect()private 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()voidremoved()private voidremoveEntry(boolean confirmedAction) voidrender(DrawContext context, int mouseX, int mouseY, float delta) voidvoidsetMultiplayerScreenTooltip(List<Text> tooltip) voidtick()protected voidMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
field_41849
public static final int field_41849- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_41849Lnet/minecraft/class_500;field_41849:Iofficial aLexc;a:Inamed field_41849Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41849:I
-
field_41850
public static final int field_41850- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_41850Lnet/minecraft/class_500;field_41850:Iofficial bLexc;b:Inamed field_41850Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41850:I
-
field_41851
public static final int field_41851- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_41851Lnet/minecraft/class_500;field_41851:Iofficial cLexc;c:Inamed field_41851Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41851:I
-
field_41852
public static final int field_41852- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_41852Lnet/minecraft/class_500;field_41852:Iofficial jLexc;j:Inamed field_41852Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41852:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector intermediary field_3044Lnet/minecraft/class_500;field_3044:Lorg/slf4j/Logger;official lLexc;l:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;LOGGER:Lorg/slf4j/Logger;
-
serverListPinger
- Mappings:
Namespace Name Mixin selector intermediary field_3037Lnet/minecraft/class_500;field_3037:Lnet/minecraft/class_644;official mLexc;m:Lfeu;named serverListPingerLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverListPinger:Lnet/minecraft/client/network/MultiplayerServerListPinger;
-
parent
- Mappings:
Namespace Name Mixin selector intermediary field_3049Lnet/minecraft/class_500;field_3049:Lnet/minecraft/class_437;official nLexc;n:Leug;named parentLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
serverListWidget
- Mappings:
Namespace Name Mixin selector intermediary field_3043Lnet/minecraft/class_500;field_3043:Lnet/minecraft/class_4267;official kLexc;k:Lexf;named serverListWidgetLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverListWidget:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;
-
serverList
- Mappings:
Namespace Name Mixin selector intermediary field_3040Lnet/minecraft/class_500;field_3040:Lnet/minecraft/class_641;official oLexc;o:Lfet;named serverListLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverList:Lnet/minecraft/client/option/ServerList;
-
buttonEdit
- Mappings:
Namespace Name Mixin selector intermediary field_3041Lnet/minecraft/class_500;field_3041:Lnet/minecraft/class_4185;official pLexc;p:Lepa;named buttonEditLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonEdit:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonJoin
- Mappings:
Namespace Name Mixin selector intermediary field_3050Lnet/minecraft/class_500;field_3050:Lnet/minecraft/class_4185;official qLexc;q:Lepa;named buttonJoinLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonJoin:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonDelete
- Mappings:
Namespace Name Mixin selector intermediary field_3047Lnet/minecraft/class_500;field_3047:Lnet/minecraft/class_4185;official rLexc;r:Lepa;named buttonDeleteLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonDelete:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
multiplayerScreenTooltip
- Mappings:
Namespace Name Mixin selector intermediary field_3042Lnet/minecraft/class_500;field_3042:Ljava/util/List;official sLexc;s:Ljava/util/List;named multiplayerScreenTooltipLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;multiplayerScreenTooltip:Ljava/util/List;
-
selectedEntry
- Mappings:
Namespace Name Mixin selector intermediary field_3051Lnet/minecraft/class_500;field_3051:Lnet/minecraft/class_642;official tLexc;t:Lfes;named selectedEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;selectedEntry:Lnet/minecraft/client/network/ServerInfo;
-
lanServers
- Mappings:
Namespace Name Mixin selector intermediary field_3046Lnet/minecraft/class_500;field_3046:Lnet/minecraft/class_1134$class_1136;official uLexc;u:Lfyg$b;named lanServersLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;lanServers:Lnet/minecraft/client/network/LanServerQueryManager$LanServerEntryList;
-
lanServerDetector
- Mappings:
Namespace Name Mixin selector intermediary field_3045Lnet/minecraft/class_500;field_3045:Lnet/minecraft/class_1134$class_1135;official vLexc;v:Lfyg$a;named lanServerDetectorLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;lanServerDetector:Lnet/minecraft/client/network/LanServerQueryManager$LanServerDetector;
-
initialized
private boolean initialized- Mappings:
Namespace Name Mixin selector intermediary field_3048Lnet/minecraft/class_500;field_3048:Zofficial wLexc;w:Znamed initializedLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;initialized:Z
-
-
Constructor Details
-
MultiplayerScreen
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_500;<init>(Lnet/minecraft/class_437;)Vofficial <init>Lexc;<init>(Leug;)Vnamed <init>Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused. -
tick
public void tick() -
removed
public void removed() -
refresh
private void refresh()- Mappings:
Namespace Name Mixin selector intermediary method_2534Lnet/minecraft/class_500;method_2534()Vofficial ELexc;E()Vnamed refreshLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;refresh()V
-
removeEntry
private void removeEntry(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector intermediary method_20377Lnet/minecraft/class_500;method_20377(Z)Vofficial cLexc;c(Z)Vnamed removeEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;removeEntry(Z)V
-
editEntry
private void editEntry(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector intermediary method_20378Lnet/minecraft/class_500;method_20378(Z)Vofficial eLexc;e(Z)Vnamed editEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;editEntry(Z)V
-
addEntry
private void addEntry(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector intermediary method_20379Lnet/minecraft/class_500;method_20379(Z)Vofficial fLexc;f(Z)Vnamed addEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;addEntry(Z)V
-
directConnect
private void directConnect(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector intermediary method_20380Lnet/minecraft/class_500;method_20380(Z)Vofficial gLexc;g(Z)Vnamed directConnectLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;directConnect(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 intermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLeqk;a(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector intermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLepy;a(Leop;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
connect
public void connect()- Mappings:
Namespace Name Mixin selector intermediary method_2536Lnet/minecraft/class_500;method_2536()Vofficial lLexc;l()Vnamed connectLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;connect()V
-
connect
- Mappings:
Namespace Name Mixin selector intermediary method_2548Lnet/minecraft/class_500;method_2548(Lnet/minecraft/class_642;)Vofficial aLexc;a(Lfes;)Vnamed connectLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;connect(Lnet/minecraft/client/network/ServerInfo;)V
-
select
- Mappings:
Namespace Name Mixin selector intermediary method_2531Lnet/minecraft/class_500;method_2531(Lnet/minecraft/class_4267$class_504;)Vofficial aLexc;a(Lexf$a;)Vnamed selectLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;select(Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$Entry;)V
-
updateButtonActivationStates
protected void updateButtonActivationStates()- Mappings:
Namespace Name Mixin selector intermediary method_20121Lnet/minecraft/class_500;method_20121()Vofficial BLexc;B()Vnamed updateButtonActivationStatesLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;updateButtonActivationStates()V
-
getServerListPinger
- Mappings:
Namespace Name Mixin selector intermediary method_2538Lnet/minecraft/class_500;method_2538()Lnet/minecraft/class_644;official CLexc;C()Lfeu;named getServerListPingerLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerListPinger()Lnet/minecraft/client/network/MultiplayerServerListPinger;
-
setMultiplayerScreenTooltip
- Mappings:
Namespace Name Mixin selector intermediary method_2528Lnet/minecraft/class_500;method_2528(Ljava/util/List;)Vofficial cLexc;c(Ljava/util/List;)Vnamed setMultiplayerScreenTooltipLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;setMultiplayerScreenTooltip(Ljava/util/List;)V
-
getServerList
- Mappings:
Namespace Name Mixin selector intermediary method_2529Lnet/minecraft/class_500;method_2529()Lnet/minecraft/class_641;official DLexc;D()Lfet;named getServerListLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerList()Lnet/minecraft/client/option/ServerList;
-