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 gpy$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
PADDING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLanServerEntry(MultiplayerScreen screen, LanServerInfo server) -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect()booleankeyPressed(KeyInput input) Callback for when a key down event has been captured.(package private) booleanbooleanmouseClicked(Click click, boolean doubled) Callback for when a mouse button down event has been captured.voidrender(DrawContext context, int mouseX, int mouseY, boolean hovered, float deltaTicks) 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, getContentBottomEnd, getContentHeight, getContentMiddleX, getContentMiddleY, getContentRightEnd, getContentWidth, getContentX, getContentY, getHeight, getNavigationFocus, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, 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, isClickable, keyReleased, 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 cLgpy$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 dLgpy$c;d:Lxx;
-
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 eLgpy$c;e:Lxx;
-
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 fLgpy$c;f:Lgpv;
-
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 aLgpy$c;a:Lfzz;
-
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 bLgpy$c;b:Ligz;
-
-
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>Lgpy$c;<init>(Lgpv;Ligz;)V
-
-
Method Details
-
render
Renders an entry in a list.- Specified by:
renderin classEntryListWidget.Entry<MultiplayerServerListWidget.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 aLgdj$a;a(Lgdd;IIZF)V
-
mouseClicked
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>- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(Lnet/minecraft/client/gui/Click;Z)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(Lnet/minecraft/class_11909;Z)Zofficial aLggw;a(Lgti;Z)Z
-
keyPressed
Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Zofficial aLggw;a(Lgth;)Z
-
connect
public void connect()- Specified by:
connectin classMultiplayerServerListWidget.Entry- Mappings:
Namespace Name Mixin selector named connectLnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$Entry;connect()Vintermediary method_74043Lnet/minecraft/class_4267$class_504;method_74043()Vofficial bLgpy$a;b()V
-
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 aLgem$a;a()Lxx;
-
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 cLgpy$c;c()Lxx;
-
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 aLgpy$a;a(Lgpy$a;)Z
-