Class MultiplayerServerListWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.class_4121
net.minecraft.client.gui.widget.ListWidget
net.minecraft.client.gui.widget.EntryListWidget<MultiplayerServerListWidget.class_4169>
net.minecraft.client.gui.screen.multiplayer.MultiplayerServerListWidget
- All Implemented Interfaces:
class_4122,class_4123
@Environment(CLIENT)
public class MultiplayerServerListWidget
extends EntryListWidget<MultiplayerServerListWidget.class_4169>
- Mappings:
Namespace Name official cmbintermediary net/minecraft/class_1827named net/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.widget.EntryListWidget
EntryListWidget.Entry<E extends EntryListWidget.Entry<E>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MultiplayerServerListWidget.class_4169private final List<LanServerEntry>private final MultiplayerScreenprivate intprivate final List<ServerEntry>Fields inherited from class net.minecraft.client.gui.widget.ListWidget
client, entryHeight, field_1256, field_20083, field_7735, headerHeight, height, renderHeader, renderSelection, time, visible, width, xEnd, xStart, yDrag, yEnd, yStartFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
ConstructorsConstructorDescriptionMultiplayerServerListWidget(MultiplayerScreen parent, MinecraftClient client, int width, int height, int top, int bottom, int entryHeight) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddServers(List<ServerEntry> servers) intprotected intintprotected booleanisEntrySelected(int index) private voidvoidsetSelected(int index) voidsetServers(ServerList servers) Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
getEntryCount, method_1055, method_18398, method_18399, method_18414, method_18416, method_18423, method_9528, renderBackgroundMethods inherited from class net.minecraft.client.gui.widget.ListWidget
capYPosition, charTyped, clickedHeader, getItemHeight, getMaxPosition, getMaxScroll, getScrollAmount, keyPressed, method_18411, method_18412, method_18415, method_18417, method_6704, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, render, renderDecorations, renderHeader, renderHoleBackground, scroll, setHeader, setRenderSelection, setXPos, updateBoundsMethods inherited from class net.minecraft.class_4121
getFocused, method_18421, method_18424, method_18425, method_18426Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_4122
method_18427, method_18428Methods inherited from interface net.minecraft.class_4123
keyReleased
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector official vLcmb;v:Lclx;intermediary field_7840Lnet/minecraft/class_1827;field_7840:Lnet/minecraft/class_376;named parentLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;parent:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;
-
servers
- Mappings:
Namespace Name Mixin selector official wLcmb;w:Ljava/util/List;intermediary field_7841Lnet/minecraft/class_1827;field_7841:Ljava/util/List;named serversLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;servers:Ljava/util/List;
-
field_20442
- Mappings:
Namespace Name Mixin selector official xLcmb;x:Lcmb$a;intermediary field_20442Lnet/minecraft/class_1827;field_20442:Lnet/minecraft/class_1827$class_4169;named field_20442Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;field_20442:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$class_4169;
-
lanServers
- Mappings:
Namespace Name Mixin selector official yLcmb;y:Ljava/util/List;intermediary field_7842Lnet/minecraft/class_1827;field_7842:Ljava/util/List;named lanServersLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;lanServers:Ljava/util/List;
-
selectedEntry
private int selectedEntry- Mappings:
Namespace Name Mixin selector official zLcmb;z:Iintermediary field_7844Lnet/minecraft/class_1827;field_7844:Inamed selectedEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;selectedEntry:I
-
-
Constructor Details
-
MultiplayerServerListWidget
public MultiplayerServerListWidget(MultiplayerScreen parent, MinecraftClient client, int width, int height, int top, int bottom, int entryHeight) - Mappings:
Namespace Name Mixin selector official <init>Lcmb;<init>(Lclx;Lcft;IIIII)Vintermediary <init>Lnet/minecraft/class_1827;<init>(Lnet/minecraft/class_376;Lnet/minecraft/class_1600;IIIII)Vnamed <init>Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;<init>(Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;Lnet/minecraft/client/MinecraftClient;IIIII)V
-
-
Method Details
-
method_18787
private void method_18787()- Mappings:
Namespace Name Mixin selector official hLcmb;h()Vintermediary method_18787Lnet/minecraft/class_1827;method_18787()Vnamed method_18787Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;method_18787()V
-
setSelected
public void setSelected(int index) - Mappings:
Namespace Name Mixin selector official cLcmb;c(I)Vintermediary method_6793Lnet/minecraft/class_1827;method_6793(I)Vnamed setSelectedLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;setSelected(I)V
-
isEntrySelected
protected boolean isEntrySelected(int index) - Overrides:
isEntrySelectedin classEntryListWidget<MultiplayerServerListWidget.class_4169>- Mappings:
Namespace Name Mixin selector official aLchl;a(I)Zintermediary method_1051Lnet/minecraft/class_390;method_1051(I)Znamed isEntrySelectedLnet/minecraft/client/gui/widget/ListWidget;isEntrySelected(I)Z
-
getSelected
public int getSelected()- Mappings:
Namespace Name Mixin selector official gLcmb;g()Iintermediary method_6794Lnet/minecraft/class_1827;method_6794()Inamed getSelectedLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;getSelected()I
-
setServers
- Mappings:
Namespace Name Mixin selector official aLcmb;a(Lcrk;)Vintermediary method_6791Lnet/minecraft/class_1827;method_6791(Lnet/minecraft/class_486;)Vnamed setServersLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;setServers(Lnet/minecraft/client/options/ServerList;)V
-
addServers
- Mappings:
Namespace Name Mixin selector official aLcmb;a(Ljava/util/List;)Vintermediary method_6792Lnet/minecraft/class_1827;method_6792(Ljava/util/List;)Vnamed addServersLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;addServers(Ljava/util/List;)V
-
getScrollbarPosition
protected int getScrollbarPosition()- Overrides:
getScrollbarPositionin classListWidget- Mappings:
Namespace Name Mixin selector official fLchl;f()Iintermediary method_1069Lnet/minecraft/class_390;method_1069()Inamed getScrollbarPositionLnet/minecraft/client/gui/widget/ListWidget;getScrollbarPosition()I
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classListWidget- Mappings:
Namespace Name Mixin selector official eLchl;e()Iintermediary method_6706Lnet/minecraft/class_390;method_6706()Inamed getRowWidthLnet/minecraft/client/gui/widget/ListWidget;getRowWidth()I
-