Class MultiplayerServerListWidget
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.widget.EntryListWidget<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget<MultiplayerServerListWidget.Entry>
net.minecraft.client.gui.screen.multiplayer.MultiplayerServerListWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,ParentElement
,Selectable
@Environment(CLIENT)
public class MultiplayerServerListWidget
extends AlwaysSelectedEntryListWidget<MultiplayerServerListWidget.Entry>
- Mappings:
Namespace Name official fbk
intermediary net/minecraft/class_4267
named net/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
class
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescription(package private) static final Text
(package private) static final Text
(package private) static final Text
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Text
private final List<MultiplayerServerListWidget.LanServerEntry>
(package private) static final Logger
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Text
(package private) static final Text
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Text
private final MultiplayerServerListWidget.Entry
private final MultiplayerScreen
(package private) static final ThreadPoolExecutor
private final List<MultiplayerServerListWidget.ServerEntry>
private static final Identifier
(package private) static final Identifier
Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget
bottom, centerListVertically, client, field_45909, headerHeight, height, itemHeight, left, right, top, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionMultiplayerServerListWidget
(MultiplayerScreen screen, MinecraftClient client, int width, int height, int top, int bottom, int entryHeight) -
Method Summary
Modifier and TypeMethodDescriptionint
protected int
boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.void
void
setLanServers
(List<LanServerInfo> lanServers) void
setSelected
(@Nullable MultiplayerServerListWidget.Entry entry) void
setServers
(ServerList servers) private void
Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendNarrations, getNavigationPath
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clickedHeader, drawSelectionHighlight, enableScissor, ensureVisible, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getNavigationFocus, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelectedOrNull, getType, isMouseOver, isSelectButton, isSelectedEntry, method_35721, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, remove, removeEntry, removeEntryWithoutScrolling, render, renderDecorations, renderEntry, renderHeader, renderList, replaceEntries, setFocused, setLeftPos, setRenderBackground, setRenderHeader, setScrollAmount, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
isDragging, setDragging
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, hoveredElement, isFocused, keyReleased, setFocused
Methods inherited from interface net.minecraft.client.gui.Selectable
isNarratable
-
Field Details
-
INCOMPATIBLE_TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lfbk;a:Laew;
intermediary field_45516
Lnet/minecraft/class_4267;field_45516:Lnet/minecraft/class_2960;
named INCOMPATIBLE_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;INCOMPATIBLE_TEXTURE:Lnet/minecraft/util/Identifier;
-
UNREACHABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector official m
Lfbk;m:Laew;
intermediary field_45517
Lnet/minecraft/class_4267;field_45517:Lnet/minecraft/class_2960;
named UNREACHABLE_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;UNREACHABLE_TEXTURE:Lnet/minecraft/util/Identifier;
-
PING_1_TEXTURE
- Mappings:
Namespace Name Mixin selector official n
Lfbk;n:Laew;
intermediary field_45518
Lnet/minecraft/class_4267;field_45518:Lnet/minecraft/class_2960;
named PING_1_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PING_1_TEXTURE:Lnet/minecraft/util/Identifier;
-
PING_2_TEXTURE
- Mappings:
Namespace Name Mixin selector official o
Lfbk;o:Laew;
intermediary field_45519
Lnet/minecraft/class_4267;field_45519:Lnet/minecraft/class_2960;
named PING_2_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PING_2_TEXTURE:Lnet/minecraft/util/Identifier;
-
PING_3_TEXTURE
- Mappings:
Namespace Name Mixin selector official p
Lfbk;p:Laew;
intermediary field_45520
Lnet/minecraft/class_4267;field_45520:Lnet/minecraft/class_2960;
named PING_3_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PING_3_TEXTURE:Lnet/minecraft/util/Identifier;
-
PING_4_TEXTURE
- Mappings:
Namespace Name Mixin selector official q
Lfbk;q:Laew;
intermediary field_45521
Lnet/minecraft/class_4267;field_45521:Lnet/minecraft/class_2960;
named PING_4_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PING_4_TEXTURE:Lnet/minecraft/util/Identifier;
-
PING_5_TEXTURE
- Mappings:
Namespace Name Mixin selector official s
Lfbk;s:Laew;
intermediary field_45522
Lnet/minecraft/class_4267;field_45522:Lnet/minecraft/class_2960;
named PING_5_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PING_5_TEXTURE:Lnet/minecraft/util/Identifier;
-
PINGING_1_TEXTURE
- Mappings:
Namespace Name Mixin selector official t
Lfbk;t:Laew;
intermediary field_45523
Lnet/minecraft/class_4267;field_45523:Lnet/minecraft/class_2960;
named PINGING_1_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_1_TEXTURE:Lnet/minecraft/util/Identifier;
-
PINGING_2_TEXTURE
- Mappings:
Namespace Name Mixin selector official u
Lfbk;u:Laew;
intermediary field_45524
Lnet/minecraft/class_4267;field_45524:Lnet/minecraft/class_2960;
named PINGING_2_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_2_TEXTURE:Lnet/minecraft/util/Identifier;
-
PINGING_3_TEXTURE
- Mappings:
Namespace Name Mixin selector official v
Lfbk;v:Laew;
intermediary field_45525
Lnet/minecraft/class_4267;field_45525:Lnet/minecraft/class_2960;
named PINGING_3_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_3_TEXTURE:Lnet/minecraft/util/Identifier;
-
PINGING_4_TEXTURE
- Mappings:
Namespace Name Mixin selector official w
Lfbk;w:Laew;
intermediary field_45526
Lnet/minecraft/class_4267;field_45526:Lnet/minecraft/class_2960;
named PINGING_4_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_4_TEXTURE:Lnet/minecraft/util/Identifier;
-
PINGING_5_TEXTURE
- Mappings:
Namespace Name Mixin selector official x
Lfbk;x:Laew;
intermediary field_45527
Lnet/minecraft/class_4267;field_45527:Lnet/minecraft/class_2960;
named PINGING_5_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_5_TEXTURE:Lnet/minecraft/util/Identifier;
-
JOIN_HIGHLIGHTED_TEXTURE
- Mappings:
Namespace Name Mixin selector official y
Lfbk;y:Laew;
intermediary field_45528
Lnet/minecraft/class_4267;field_45528:Lnet/minecraft/class_2960;
named JOIN_HIGHLIGHTED_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;JOIN_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
-
JOIN_TEXTURE
- Mappings:
Namespace Name Mixin selector official z
Lfbk;z:Laew;
intermediary field_45529
Lnet/minecraft/class_4267;field_45529:Lnet/minecraft/class_2960;
named JOIN_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;JOIN_TEXTURE:Lnet/minecraft/util/Identifier;
-
MOVE_UP_HIGHLIGHTED_TEXTURE
- Mappings:
Namespace Name Mixin selector official A
Lfbk;A:Laew;
intermediary field_45530
Lnet/minecraft/class_4267;field_45530:Lnet/minecraft/class_2960;
named MOVE_UP_HIGHLIGHTED_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;MOVE_UP_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
-
MOVE_UP_TEXTURE
- Mappings:
Namespace Name Mixin selector official B
Lfbk;B:Laew;
intermediary field_45513
Lnet/minecraft/class_4267;field_45513:Lnet/minecraft/class_2960;
named MOVE_UP_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;MOVE_UP_TEXTURE:Lnet/minecraft/util/Identifier;
-
MOVE_DOWN_HIGHLIGHTED_TEXTURE
- Mappings:
Namespace Name Mixin selector official C
Lfbk;C:Laew;
intermediary field_45514
Lnet/minecraft/class_4267;field_45514:Lnet/minecraft/class_2960;
named MOVE_DOWN_HIGHLIGHTED_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;MOVE_DOWN_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
-
MOVE_DOWN_TEXTURE
- Mappings:
Namespace Name Mixin selector official D
Lfbk;D:Laew;
intermediary field_45515
Lnet/minecraft/class_4267;field_45515:Lnet/minecraft/class_2960;
named MOVE_DOWN_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;MOVE_DOWN_TEXTURE:Lnet/minecraft/util/Identifier;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official E
Lfbk;E:Lorg/slf4j/Logger;
intermediary field_19104
Lnet/minecraft/class_4267;field_19104:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;LOGGER:Lorg/slf4j/Logger;
-
SERVER_PINGER_THREAD_POOL
- Mappings:
Namespace Name Mixin selector official F
Lfbk;F:Ljava/util/concurrent/ThreadPoolExecutor;
intermediary field_19105
Lnet/minecraft/class_4267;field_19105:Ljava/util/concurrent/ThreadPoolExecutor;
named SERVER_PINGER_THREAD_POOL
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;SERVER_PINGER_THREAD_POOL:Ljava/util/concurrent/ThreadPoolExecutor;
-
UNKNOWN_SERVER_TEXTURE
- Mappings:
Namespace Name Mixin selector official G
Lfbk;G:Laew;
intermediary field_19106
Lnet/minecraft/class_4267;field_19106:Lnet/minecraft/class_2960;
named UNKNOWN_SERVER_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;UNKNOWN_SERVER_TEXTURE:Lnet/minecraft/util/Identifier;
-
LAN_SCANNING_TEXT
- Mappings:
Namespace Name Mixin selector official H
Lfbk;H:Ltl;
intermediary field_26581
Lnet/minecraft/class_4267;field_26581:Lnet/minecraft/class_2561;
named LAN_SCANNING_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;LAN_SCANNING_TEXT:Lnet/minecraft/text/Text;
-
CANNOT_RESOLVE_TEXT
- Mappings:
Namespace Name Mixin selector official I
Lfbk;I:Ltl;
intermediary field_26582
Lnet/minecraft/class_4267;field_26582:Lnet/minecraft/class_2561;
named CANNOT_RESOLVE_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;CANNOT_RESOLVE_TEXT:Lnet/minecraft/text/Text;
-
CANNOT_CONNECT_TEXT
- Mappings:
Namespace Name Mixin selector official J
Lfbk;J:Ltl;
intermediary field_26583
Lnet/minecraft/class_4267;field_26583:Lnet/minecraft/class_2561;
named CANNOT_CONNECT_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;CANNOT_CONNECT_TEXT:Lnet/minecraft/text/Text;
-
INCOMPATIBLE_TEXT
- Mappings:
Namespace Name Mixin selector official K
Lfbk;K:Ltl;
intermediary field_41853
Lnet/minecraft/class_4267;field_41853:Lnet/minecraft/class_2561;
named INCOMPATIBLE_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;INCOMPATIBLE_TEXT:Lnet/minecraft/text/Text;
-
NO_CONNECTION_TEXT
- Mappings:
Namespace Name Mixin selector official L
Lfbk;L:Ltl;
intermediary field_41854
Lnet/minecraft/class_4267;field_41854:Lnet/minecraft/class_2561;
named NO_CONNECTION_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;NO_CONNECTION_TEXT:Lnet/minecraft/text/Text;
-
PINGING_TEXT
- Mappings:
Namespace Name Mixin selector official M
Lfbk;M:Ltl;
intermediary field_41855
Lnet/minecraft/class_4267;field_41855:Lnet/minecraft/class_2561;
named PINGING_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_TEXT:Lnet/minecraft/text/Text;
-
ONLINE_TEXT
- Mappings:
Namespace Name Mixin selector official N
Lfbk;N:Ltl;
intermediary field_41856
Lnet/minecraft/class_4267;field_41856:Lnet/minecraft/class_2561;
named ONLINE_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;ONLINE_TEXT:Lnet/minecraft/text/Text;
-
screen
- Mappings:
Namespace Name Mixin selector official O
Lfbk;O:Lfbg;
intermediary field_19108
Lnet/minecraft/class_4267;field_19108:Lnet/minecraft/class_500;
named screen
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;screen:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;
-
servers
- Mappings:
Namespace Name Mixin selector official P
Lfbk;P:Ljava/util/List;
intermediary field_19109
Lnet/minecraft/class_4267;field_19109:Ljava/util/List;
named servers
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;servers:Ljava/util/List;
-
scanningEntry
- Mappings:
Namespace Name Mixin selector official Q
Lfbk;Q:Lfbk$a;
intermediary field_19110
Lnet/minecraft/class_4267;field_19110:Lnet/minecraft/class_4267$class_504;
named scanningEntry
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;scanningEntry:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$Entry;
-
lanServers
- Mappings:
Namespace Name Mixin selector official R
Lfbk;R:Ljava/util/List;
intermediary field_19111
Lnet/minecraft/class_4267;field_19111:Ljava/util/List;
named lanServers
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;lanServers:Ljava/util/List;
-
-
Constructor Details
-
MultiplayerServerListWidget
public MultiplayerServerListWidget(MultiplayerScreen screen, MinecraftClient client, int width, int height, int top, int bottom, int entryHeight) - Mappings:
Namespace Name Mixin selector official <init>
Lfbk;<init>(Lfbg;Leqv;IIIII)V
intermediary <init>
Lnet/minecraft/class_4267;<init>(Lnet/minecraft/class_500;Lnet/minecraft/class_310;IIIII)V
named <init>
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;<init>(Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;Lnet/minecraft/client/MinecraftClient;IIIII)V
-
-
Method Details
-
updateEntries
private void updateEntries()- Mappings:
Namespace Name Mixin selector official e
Lfbk;e()V
intermediary method_20131
Lnet/minecraft/class_4267;method_20131()V
named updateEntries
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;updateEntries()V
-
setSelected
- Overrides:
setSelected
in classEntryListWidget<MultiplayerServerListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official a
Lfbk;a(Lfbk$a;)V
intermediary method_20122
Lnet/minecraft/class_4267;method_20122(Lnet/minecraft/class_4267$class_504;)V
named setSelected
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;setSelected(Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$Entry;)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.- 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
Leuk;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
setServers
- Mappings:
Namespace Name Mixin selector official a
Lfbk;a(Lfji;)V
intermediary method_20125
Lnet/minecraft/class_4267;method_20125(Lnet/minecraft/class_641;)V
named setServers
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;setServers(Lnet/minecraft/client/option/ServerList;)V
-
setLanServers
- Mappings:
Namespace Name Mixin selector official a
Lfbk;a(Ljava/util/List;)V
intermediary method_20126
Lnet/minecraft/class_4267;method_20126(Ljava/util/List;)V
named setLanServers
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;setLanServers(Ljava/util/List;)V
-
getScrollbarPositionX
protected int getScrollbarPositionX()- Overrides:
getScrollbarPositionX
in classEntryListWidget<MultiplayerServerListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official c
Lesl;c()I
intermediary method_25329
Lnet/minecraft/class_350;method_25329()I
named getScrollbarPositionX
Lnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarPositionX()I
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidth
in classEntryListWidget<MultiplayerServerListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official b
Lesl;b()I
intermediary method_25322
Lnet/minecraft/class_350;method_25322()I
named getRowWidth
Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
-
onRemoved
public void onRemoved()- Mappings:
Namespace Name Mixin selector official d
Lfbk;d()V
intermediary method_52204
Lnet/minecraft/class_4267;method_52204()V
named onRemoved
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;onRemoved()V
-