Class MultiplayerScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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 official ewa
intermediary net/minecraft/class_500
named 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
Modifier and TypeFieldDescriptionprivate ButtonWidget
private ButtonWidget
private ButtonWidget
static final int
static final int
static final int
static final int
private boolean
private static final Logger
private final Screen
private ServerInfo
private ServerList
private final MultiplayerServerListPinger
protected MultiplayerServerListWidget
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, LIGHT_DIRT_BACKGROUND_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addEntry
(boolean confirmedAction) void
connect()
private void
connect
(ServerInfo entry) private void
directConnect
(boolean confirmedAction) private void
editEntry
(boolean confirmedAction) protected void
init()
Called when a screen should be initialized.boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private void
refresh()
void
removed()
private void
removeEntry
(boolean confirmedAction) void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) void
void
setMultiplayerScreenTooltip
(List<Text> tooltip) void
tick()
protected void
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawBorder, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient
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.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods 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 official a
Lewa;a:I
intermediary field_41849
Lnet/minecraft/class_500;field_41849:I
named field_41849
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41849:I
-
field_41850
public static final int field_41850- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lewa;b:I
intermediary field_41850
Lnet/minecraft/class_500;field_41850:I
named field_41850
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41850:I
-
field_41851
public static final int field_41851- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lewa;c:I
intermediary field_41851
Lnet/minecraft/class_500;field_41851:I
named field_41851
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41851:I
-
field_41852
public static final int field_41852- See Also:
- Mappings:
Namespace Name Mixin selector official o
Lewa;o:I
intermediary field_41852
Lnet/minecraft/class_500;field_41852:I
named field_41852
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41852:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector official q
Lewa;q:Lorg/slf4j/Logger;
intermediary field_3044
Lnet/minecraft/class_500;field_3044:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;LOGGER:Lorg/slf4j/Logger;
-
serverListPinger
- Mappings:
Namespace Name Mixin selector official r
Lewa;r:Lfds;
intermediary field_3037
Lnet/minecraft/class_500;field_3037:Lnet/minecraft/class_644;
named serverListPinger
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverListPinger:Lnet/minecraft/client/network/MultiplayerServerListPinger;
-
parent
- Mappings:
Namespace Name Mixin selector official s
Lewa;s:Letd;
intermediary field_3049
Lnet/minecraft/class_500;field_3049:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
serverListWidget
- Mappings:
Namespace Name Mixin selector official p
Lewa;p:Lewd;
intermediary field_3043
Lnet/minecraft/class_500;field_3043:Lnet/minecraft/class_4267;
named serverListWidget
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverListWidget:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;
-
serverList
- Mappings:
Namespace Name Mixin selector official t
Lewa;t:Lfdr;
intermediary field_3040
Lnet/minecraft/class_500;field_3040:Lnet/minecraft/class_641;
named serverList
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverList:Lnet/minecraft/client/option/ServerList;
-
buttonEdit
- Mappings:
Namespace Name Mixin selector official u
Lewa;u:Leoc;
intermediary field_3041
Lnet/minecraft/class_500;field_3041:Lnet/minecraft/class_4185;
named buttonEdit
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonEdit:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonJoin
- Mappings:
Namespace Name Mixin selector official v
Lewa;v:Leoc;
intermediary field_3050
Lnet/minecraft/class_500;field_3050:Lnet/minecraft/class_4185;
named buttonJoin
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonJoin:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonDelete
- Mappings:
Namespace Name Mixin selector official w
Lewa;w:Leoc;
intermediary field_3047
Lnet/minecraft/class_500;field_3047:Lnet/minecraft/class_4185;
named buttonDelete
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonDelete:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
multiplayerScreenTooltip
- Mappings:
Namespace Name Mixin selector official x
Lewa;x:Ljava/util/List;
intermediary field_3042
Lnet/minecraft/class_500;field_3042:Ljava/util/List;
named multiplayerScreenTooltip
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;multiplayerScreenTooltip:Ljava/util/List;
-
selectedEntry
- Mappings:
Namespace Name Mixin selector official y
Lewa;y:Lfdq;
intermediary field_3051
Lnet/minecraft/class_500;field_3051:Lnet/minecraft/class_642;
named selectedEntry
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;selectedEntry:Lnet/minecraft/client/network/ServerInfo;
-
lanServers
- Mappings:
Namespace Name Mixin selector official z
Lewa;z:Lfwy$b;
intermediary field_3046
Lnet/minecraft/class_500;field_3046:Lnet/minecraft/class_1134$class_1136;
named lanServers
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;lanServers:Lnet/minecraft/client/network/LanServerQueryManager$LanServerEntryList;
-
lanServerDetector
- Mappings:
Namespace Name Mixin selector official A
Lewa;A:Lfwy$a;
intermediary field_3045
Lnet/minecraft/class_500;field_3045:Lnet/minecraft/class_1134$class_1135;
named lanServerDetector
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;lanServerDetector:Lnet/minecraft/client/network/LanServerQueryManager$LanServerDetector;
-
initialized
private boolean initialized- Mappings:
Namespace Name Mixin selector official B
Lewa;B:Z
intermediary field_3048
Lnet/minecraft/class_500;field_3048:Z
named initialized
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;initialized:Z
-
-
Constructor Details
-
MultiplayerScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lewa;<init>(Letd;)V
intermediary <init>
Lnet/minecraft/class_500;<init>(Lnet/minecraft/class_437;)V
named <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 official E
Lewa;E()V
intermediary method_2534
Lnet/minecraft/class_500;method_2534()V
named refresh
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;refresh()V
-
removeEntry
private void removeEntry(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector official c
Lewa;c(Z)V
intermediary method_20377
Lnet/minecraft/class_500;method_20377(Z)V
named removeEntry
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;removeEntry(Z)V
-
editEntry
private void editEntry(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector official e
Lewa;e(Z)V
intermediary method_20378
Lnet/minecraft/class_500;method_20378(Z)V
named editEntry
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;editEntry(Z)V
-
addEntry
private void addEntry(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector official f
Lewa;f(Z)V
intermediary method_20379
Lnet/minecraft/class_500;method_20379(Z)V
named addEntry
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;addEntry(Z)V
-
directConnect
private void directConnect(boolean confirmedAction) - Mappings:
Namespace Name Mixin selector official g
Lewa;g(Z)V
intermediary method_20380
Lnet/minecraft/class_500;method_20380(Z)V
named directConnect
Lnet/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 inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lepl;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lepa;a(Lehe;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
connect
public void connect()- Mappings:
Namespace Name Mixin selector official m
Lewa;m()V
intermediary method_2536
Lnet/minecraft/class_500;method_2536()V
named connect
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;connect()V
-
connect
- Mappings:
Namespace Name Mixin selector official a
Lewa;a(Lfdq;)V
intermediary method_2548
Lnet/minecraft/class_500;method_2548(Lnet/minecraft/class_642;)V
named connect
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;connect(Lnet/minecraft/client/network/ServerInfo;)V
-
select
- Mappings:
Namespace Name Mixin selector official a
Lewa;a(Lewd$a;)V
intermediary method_2531
Lnet/minecraft/class_500;method_2531(Lnet/minecraft/class_4267$class_504;)V
named select
Lnet/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 official B
Lewa;B()V
intermediary method_20121
Lnet/minecraft/class_500;method_20121()V
named updateButtonActivationStates
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;updateButtonActivationStates()V
-
getServerListPinger
- Mappings:
Namespace Name Mixin selector official C
Lewa;C()Lfds;
intermediary method_2538
Lnet/minecraft/class_500;method_2538()Lnet/minecraft/class_644;
named getServerListPinger
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerListPinger()Lnet/minecraft/client/network/MultiplayerServerListPinger;
-
setMultiplayerScreenTooltip
- Mappings:
Namespace Name Mixin selector official c
Lewa;c(Ljava/util/List;)V
intermediary method_2528
Lnet/minecraft/class_500;method_2528(Ljava/util/List;)V
named setMultiplayerScreenTooltip
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;setMultiplayerScreenTooltip(Ljava/util/List;)V
-
getServerList
- Mappings:
Namespace Name Mixin selector official D
Lewa;D()Lfdr;
intermediary method_2529
Lnet/minecraft/class_500;method_2529()Lnet/minecraft/class_641;
named getServerList
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerList()Lnet/minecraft/client/option/ServerList;
-