Class MultiplayerServerListWidget.LanServerEntry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<MultiplayerServerListWidget.Entry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<MultiplayerServerListWidget.Entry>
net.minecraft.client.gui.screen.multiplayer.MultiplayerServerListWidget.Entry
net.minecraft.client.gui.screen.multiplayer.MultiplayerServerListWidget.LanServerEntry
- All Implemented Interfaces:
AutoCloseable,Element,Narratable,Navigable,Widget
- Enclosing class:
MultiplayerServerListWidget
@Environment(CLIENT)
public static class MultiplayerServerListWidget.LanServerEntry
extends MultiplayerServerListWidget.Entry
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$LanServerEntryintermediary net/minecraft/class_4267$class_4269official glw$c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MinecraftClientprivate static final intprivate static final Textprivate final MultiplayerScreenprotected final LanServerInfoprivate static final TextFields inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
field_62115 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLanServerEntry(MultiplayerScreen screen, LanServerInfo server) -
Method Summary
Modifier and TypeMethodDescription(package private) booleanbooleanmouseClicked(double mouseX, double mouseY, int button, boolean doubleClick) Callback for when a mouse button down event has been captured.voidrender(DrawContext context, int index, int y, boolean bool, float float2) Renders an entry in a list.Methods inherited from class net.minecraft.client.gui.screen.multiplayer.MultiplayerServerListWidget.Entry
closeMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrationsMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
forEachChild, getHeight, getNavigationFocus, getWidth, getX, getY, isFocused, isMouseOver, method_73380, method_73381, method_73382, method_73383, method_73384, method_73385, method_73386, method_73387, method_73388, method_73389, setFocused, setX, setYMethods 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
charTyped, getBorder, getFocusedPath, getNavigationPath, keyPressed, keyReleased, method_72784, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
field_32386
private static final int field_32386- See Also:
- Mappings:
Namespace Name Mixin selector named field_32386Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$LanServerEntry;field_32386:Iintermediary field_32386Lnet/minecraft/class_4267$class_4269;field_32386:Iofficial cLglw$c;c:I
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$LanServerEntry;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_26588Lnet/minecraft/class_4267$class_4269;field_26588:Lnet/minecraft/class_2561;official dLglw$c;d:Lxv;
-
HIDDEN_ADDRESS_TEXT
- Mappings:
Namespace Name Mixin selector named HIDDEN_ADDRESS_TEXTLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$LanServerEntry;HIDDEN_ADDRESS_TEXT:Lnet/minecraft/text/Text;intermediary field_26589Lnet/minecraft/class_4267$class_4269;field_26589:Lnet/minecraft/class_2561;official eLglw$c;e:Lxv;
-
screen
- Mappings:
Namespace Name Mixin selector named screenLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$LanServerEntry;screen:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;intermediary field_19115Lnet/minecraft/class_4267$class_4269;field_19115:Lnet/minecraft/class_500;official fLglw$c;f:Lglt;
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$LanServerEntry;client:Lnet/minecraft/client/MinecraftClient;intermediary field_19113Lnet/minecraft/class_4267$class_4269;field_19113:Lnet/minecraft/class_310;official aLglw$c;a:Lfwe;
-
server
- Mappings:
Namespace Name Mixin selector named serverLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$LanServerEntry;server:Lnet/minecraft/client/network/LanServerInfo;intermediary field_19114Lnet/minecraft/class_4267$class_4269;field_19114:Lnet/minecraft/class_1131;official bLglw$c;b:Liba;
-
-
Constructor Details
-
LanServerEntry
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$LanServerEntry;<init>(Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;Lnet/minecraft/client/network/LanServerInfo;)Vintermediary <init>Lnet/minecraft/class_4267$class_4269;<init>(Lnet/minecraft/class_500;Lnet/minecraft/class_1131;)Vofficial <init>Lglw$c;<init>(Lglt;Liba;)V
-
-
Method Details
-
render
Renders an entry in a list.- Specified by:
renderin classEntryListWidget.Entry<MultiplayerServerListWidget.Entry>- Parameters:
index- the index of the entryy- the Y coordinate of the entry- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIZF)Vofficial aLfzk$a;a(Lfze;IIZF)V
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button, boolean doubleClick) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Overrides:
mouseClickedin classAlwaysSelectedEntryListWidget.Entry<MultiplayerServerListWidget.Entry>- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDIZ)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDIZ)Zofficial aLgcx;a(DDIZ)Z
-
getLanServerEntry
- Mappings:
Namespace Name Mixin selector named getLanServerEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$LanServerEntry;getLanServerEntry()Lnet/minecraft/client/network/LanServerInfo;intermediary method_20132Lnet/minecraft/class_4267$class_4269;method_20132()Lnet/minecraft/class_1131;official bLglw$c;b()Liba;
-
getNarration
- Specified by:
getNarrationin classAlwaysSelectedEntryListWidget.Entry<MultiplayerServerListWidget.Entry>- Mappings:
Namespace Name Mixin selector named getNarrationLnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;intermediary method_37006Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;official aLgan$a;a()Lxv;
-
getMotdNarration
- Mappings:
Namespace Name Mixin selector named getMotdNarrationLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$LanServerEntry;getMotdNarration()Lnet/minecraft/text/Text;intermediary method_48273Lnet/minecraft/class_4267$class_4269;method_48273()Lnet/minecraft/class_2561;official cLglw$c;c()Lxv;
-
method_73436
- Specified by:
method_73436in classMultiplayerServerListWidget.Entry- Mappings:
Namespace Name Mixin selector named method_73436Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$Entry;method_73436(Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$Entry;)Zintermediary method_73436Lnet/minecraft/class_4267$class_504;method_73436(Lnet/minecraft/class_4267$class_504;)Zofficial aLglw$a;a(Lglw$a;)Z
-