Class ServerSelectionList.NetworkServerEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<ServerSelectionList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<ServerSelectionList.Entry>
net.minecraft.client.gui.screens.multiplayer.ServerSelectionList.Entry
net.minecraft.client.gui.screens.multiplayer.ServerSelectionList.NetworkServerEntry
- All Implemented Interfaces:
AutoCloseable,GuiEventListener,TabOrderedElement,LayoutElement,NarrationSupplier
- Enclosing class:
ServerSelectionList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Componentprivate static final intprivate static final Componentprotected final Minecraftprivate final JoinMultiplayerScreenprotected final LanServerFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNetworkServerEntry(JoinMultiplayerScreen pScreen, LanServer pServerData) -
Method Summary
Modifier and TypeMethodDescriptionvoidjoin()booleankeyPressed(KeyEvent p_446129_) (package private) booleanmatches(ServerSelectionList.Entry p_440083_) booleanmouseClicked(MouseButtonEvent p_445721_, boolean p_434231_) voidrenderContent(GuiGraphics p_439287_, int p_440522_, int p_439756_, boolean p_440431_, float p_439147_) Methods inherited from class net.minecraft.client.gui.screens.multiplayer.ServerSelectionList.Entry
closeMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
ICON_WIDTH
private static final int ICON_WIDTH- See Also:
-
LAN_SERVER_HEADER
-
HIDDEN_ADDRESS_TEXT
-
screen
-
minecraft
-
serverData
-
-
Constructor Details
-
NetworkServerEntry
-
-
Method Details
-
renderContent
public void renderContent(GuiGraphics p_439287_, int p_440522_, int p_439756_, boolean p_440431_, float p_439147_) - Specified by:
renderContentin classAbstractSelectionList.Entry<ServerSelectionList.Entry>
-
mouseClicked
- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<ServerSelectionList.Entry>
-
keyPressed
-
join
public void join()- Specified by:
joinin classServerSelectionList.Entry
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<ServerSelectionList.Entry>
-
getServerNarration
-
matches
- Specified by:
matchesin classServerSelectionList.Entry
-