Class SocialInteractionsScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.multiplayer.SocialInteractionsScreen
- All Implemented Interfaces:
- Drawable,- Element,- Navigable,- ParentElement
- Mappings:
- Namespace - Name - official - eyu- intermediary - net/minecraft/class_5522- named - net/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Textprivate ButtonWidgetprivate static final Textprivate ButtonWidgetprivate static final Textprivate ButtonWidgetprivate Stringprivate SocialInteractionsScreen.Tabprivate static final Textprivate static final Text(package private) static final Textprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intstatic final intstatic final intprivate static final Textprivate ButtonWidgetprivate booleanprivate int(package private) SocialInteractionsPlayerListWidgetprivate static final Text(package private) TextFieldWidgetprivate static final Textprivate static final Textprivate static final Textprotected static final IdentifierFields inherited from class net.minecraft.client.gui.screen.Screenclient, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate intprivate intprivate intprotected voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private voidonSearchChange(String currentSearch) voidrender(DrawContext context, int mouseX, int mouseY, float delta) voidrenderBackground(DrawContext context) Renders the background of this screen.private voidsetCurrentTab(SocialInteractionsScreen.Tab currentTab) voidsetPlayerOffline(UUID uuid) voidsetPlayerOnline(PlayerListEntry player) booleanvoidtick()private voidupdateServerLabel(MinecraftClient client) Methods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
- 
Field Details- 
SOCIAL_INTERACTIONS_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyu;a:Lacq;- intermediary - field_26875- Lnet/minecraft/class_5522;field_26875:Lnet/minecraft/class_2960;- named - SOCIAL_INTERACTIONS_TEXTURE- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SOCIAL_INTERACTIONS_TEXTURE:Lnet/minecraft/util/Identifier;
 
- 
ALL_TAB_TITLE- Mappings:
- Namespace - Name - Mixin selector - official - k- Leyu;k:Lsw;- intermediary - field_26876- Lnet/minecraft/class_5522;field_26876:Lnet/minecraft/class_2561;- named - ALL_TAB_TITLE- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;ALL_TAB_TITLE:Lnet/minecraft/text/Text;
 
- 
HIDDEN_TAB_TITLE- Mappings:
- Namespace - Name - Mixin selector - official - l- Leyu;l:Lsw;- intermediary - field_26877- Lnet/minecraft/class_5522;field_26877:Lnet/minecraft/class_2561;- named - HIDDEN_TAB_TITLE- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;HIDDEN_TAB_TITLE:Lnet/minecraft/text/Text;
 
- 
BLOCKED_TAB_TITLE- Mappings:
- Namespace - Name - Mixin selector - official - m- Leyu;m:Lsw;- intermediary - field_26915- Lnet/minecraft/class_5522;field_26915:Lnet/minecraft/class_2561;- named - BLOCKED_TAB_TITLE- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;BLOCKED_TAB_TITLE:Lnet/minecraft/text/Text;
 
- 
SELECTED_ALL_TAB_TITLE- Mappings:
- Namespace - Name - Mixin selector - official - n- Leyu;n:Lsw;- intermediary - field_26878- Lnet/minecraft/class_5522;field_26878:Lnet/minecraft/class_2561;- named - SELECTED_ALL_TAB_TITLE- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_ALL_TAB_TITLE:Lnet/minecraft/text/Text;
 
- 
SELECTED_HIDDEN_TAB_TITLE- Mappings:
- Namespace - Name - Mixin selector - official - o- Leyu;o:Lsw;- intermediary - field_26879- Lnet/minecraft/class_5522;field_26879:Lnet/minecraft/class_2561;- named - SELECTED_HIDDEN_TAB_TITLE- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_HIDDEN_TAB_TITLE:Lnet/minecraft/text/Text;
 
- 
SELECTED_BLOCKED_TAB_TITLE- Mappings:
- Namespace - Name - Mixin selector - official - p- Leyu;p:Lsw;- intermediary - field_26916- Lnet/minecraft/class_5522;field_26916:Lnet/minecraft/class_2561;- named - SELECTED_BLOCKED_TAB_TITLE- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_BLOCKED_TAB_TITLE:Lnet/minecraft/text/Text;
 
- 
SEARCH_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - q- Leyu;q:Lsw;- intermediary - field_26880- Lnet/minecraft/class_5522;field_26880:Lnet/minecraft/class_2561;- named - SEARCH_TEXT- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SEARCH_TEXT:Lnet/minecraft/text/Text;
 
- 
EMPTY_SEARCH_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - r- Leyu;r:Lsw;- intermediary - field_26917- Lnet/minecraft/class_5522;field_26917:Lnet/minecraft/class_2561;- named - EMPTY_SEARCH_TEXT- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_SEARCH_TEXT:Lnet/minecraft/text/Text;
 
- 
EMPTY_HIDDEN_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - s- Leyu;s:Lsw;- intermediary - field_26881- Lnet/minecraft/class_5522;field_26881:Lnet/minecraft/class_2561;- named - EMPTY_HIDDEN_TEXT- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_HIDDEN_TEXT:Lnet/minecraft/text/Text;
 
- 
EMPTY_BLOCKED_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - t- Leyu;t:Lsw;- intermediary - field_26918- Lnet/minecraft/class_5522;field_26918:Lnet/minecraft/class_2561;- named - EMPTY_BLOCKED_TEXT- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_BLOCKED_TEXT:Lnet/minecraft/text/Text;
 
- 
BLOCKING_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - u- Leyu;u:Lsw;- intermediary - field_26919- Lnet/minecraft/class_5522;field_26919:Lnet/minecraft/class_2561;- named - BLOCKING_TEXT- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;BLOCKING_TEXT:Lnet/minecraft/text/Text;
 
- 
field_32424private static final int field_32424- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - v- Leyu;v:I- intermediary - field_32424- Lnet/minecraft/class_5522;field_32424:I- named - field_32424- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32424:I
 
- 
field_32426private static final int field_32426- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - w- Leyu;w:I- intermediary - field_32426- Lnet/minecraft/class_5522;field_32426:I- named - field_32426- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32426:I
 
- 
field_32427private static final int field_32427- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - x- Leyu;x:I- intermediary - field_32427- Lnet/minecraft/class_5522;field_32427:I- named - field_32427- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32427:I
 
- 
field_32428private static final int field_32428- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - y- Leyu;y:I- intermediary - field_32428- Lnet/minecraft/class_5522;field_32428:I- named - field_32428- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32428:I
 
- 
field_32433public static final int field_32433- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Leyu;b:I- intermediary - field_32433- Lnet/minecraft/class_5522;field_32433:I- named - field_32433- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32433:I
 
- 
field_32432public static final int field_32432- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c- Leyu;c:I- intermediary - field_32432- Lnet/minecraft/class_5522;field_32432:I- named - field_32432- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32432:I
 
- 
field_32429private static final int field_32429- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - z- Leyu;z:I- intermediary - field_32429- Lnet/minecraft/class_5522;field_32429:I- named - field_32429- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32429:I
 
- 
field_32430private static final int field_32430- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - A- Leyu;A:I- intermediary - field_32430- Lnet/minecraft/class_5522;field_32430:I- named - field_32430- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32430:I
 
- 
field_32431private static final int field_32431- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - C- Leyu;C:I- intermediary - field_32431- Lnet/minecraft/class_5522;field_32431:I- named - field_32431- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32431:I
 
- 
playerListSocialInteractionsPlayerListWidget playerList- Mappings:
- Namespace - Name - Mixin selector - official - D- Leyu;D:Leyt;- intermediary - field_26882- Lnet/minecraft/class_5522;field_26882:Lnet/minecraft/class_5521;- named - playerList- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;playerList:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;
 
- 
searchBoxTextFieldWidget searchBox- Mappings:
- Namespace - Name - Mixin selector - official - E- Leyu;E:Lepr;- intermediary - field_26883- Lnet/minecraft/class_5522;field_26883:Lnet/minecraft/class_342;- named - searchBox- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;searchBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
 
- 
currentSearch- Mappings:
- Namespace - Name - Mixin selector - official - F- Leyu;F:Ljava/lang/String;- intermediary - field_26884- Lnet/minecraft/class_5522;field_26884:Ljava/lang/String;- named - currentSearch- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;currentSearch:Ljava/lang/String;
 
- 
currentTab- Mappings:
- Namespace - Name - Mixin selector - official - G- Leyu;G:Leyu$a;- intermediary - field_26885- Lnet/minecraft/class_5522;field_26885:Lnet/minecraft/class_5522$class_5523;- named - currentTab- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;currentTab:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;
 
- 
allTabButton- Mappings:
- Namespace - Name - Mixin selector - official - H- Leyu;H:Lepi;- intermediary - field_26886- Lnet/minecraft/class_5522;field_26886:Lnet/minecraft/class_4185;- named - allTabButton- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;allTabButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
- 
blockedTabButton- Mappings:
- Namespace - Name - Mixin selector - official - J- Leyu;J:Lepi;- intermediary - field_26913- Lnet/minecraft/class_5522;field_26913:Lnet/minecraft/class_4185;- named - blockedTabButton- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;blockedTabButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
- 
blockingButton- Mappings:
- Namespace - Name - Mixin selector - official - K- Leyu;K:Lepi;- intermediary - field_26914- Lnet/minecraft/class_5522;field_26914:Lnet/minecraft/class_4185;- named - blockingButton- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;blockingButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
- 
serverLabel- Mappings:
- Namespace - Name - Mixin selector - official - L- Leyu;L:Lsw;- intermediary - field_26888- Lnet/minecraft/class_5522;field_26888:Lnet/minecraft/class_2561;- named - serverLabel- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;serverLabel:Lnet/minecraft/text/Text;
 
- 
playerCountprivate int playerCount- Mappings:
- Namespace - Name - Mixin selector - official - M- Leyu;M:I- intermediary - field_26871- Lnet/minecraft/class_5522;field_26871:I- named - playerCount- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;playerCount:I
 
- 
initializedprivate boolean initialized- Mappings:
- Namespace - Name - Mixin selector - official - N- Leyu;N:Z- intermediary - field_26873- Lnet/minecraft/class_5522;field_26873:Z- named - initialized- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;initialized:Z
 
 
- 
- 
Constructor Details- 
SocialInteractionsScreenpublic SocialInteractionsScreen()
 
- 
- 
Method Details- 
getScreenHeightprivate int getScreenHeight()- Mappings:
- Namespace - Name - Mixin selector - official - l- Leyu;l()I- intermediary - method_31359- Lnet/minecraft/class_5522;method_31359()I- named - getScreenHeight- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;getScreenHeight()I
 
- 
getPlayerListBottomprivate int getPlayerListBottom()- Mappings:
- Namespace - Name - Mixin selector - official - B- Leyu;B()I- intermediary - method_31361- Lnet/minecraft/class_5522;method_31361()I- named - getPlayerListBottom- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;getPlayerListBottom()I
 
- 
getSearchBoxXprivate int getSearchBoxX()- Mappings:
- Namespace - Name - Mixin selector - official - C- Leyu;C()I- intermediary - method_31362- Lnet/minecraft/class_5522;method_31362()I- named - getSearchBoxX- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;getSearchBoxX()I
 
- 
getNarratedTitle- Overrides:
- getNarratedTitlein class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - au_- Leuq;au_()Lsw;- intermediary - method_25435- Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;- named - getNarratedTitle- Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
 
- 
tickpublic void tick()
- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. This should call Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused.
- 
setCurrentTab- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyu;a(Leyu$a;)V- intermediary - method_31352- Lnet/minecraft/class_5522;method_31352(Lnet/minecraft/class_5522$class_5523;)V- named - setCurrentTab- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setCurrentTab(Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;)V
 
- 
renderBackgroundRenders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture. - Overrides:
- renderBackgroundin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuq;a(Leox;)V- intermediary - method_25420- Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;)V- named - renderBackground- Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;)V
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
 
- 
keyPressedpublic 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 inGLFWclass.- Specified by:
- keyPressedin interface- Element
- Specified by:
- keyPressedin interface- ParentElement
- Overrides:
- keyPressedin class- Screen
- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- scanCode- the unique/platform-specific scan code of the keyboard input
- modifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqt;a(III)Z- intermediary - method_25404- Lnet/minecraft/class_364;method_25404(III)Z- named - keyPressed- Lnet/minecraft/client/gui/Element;keyPressed(III)Z
 
- 
shouldPausepublic boolean shouldPause()- Overrides:
- shouldPausein class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - az_- Leuq;az_()Z- intermediary - method_25421- Lnet/minecraft/class_437;method_25421()Z- named - shouldPause- Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
 
- 
onSearchChange- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyu;a(Ljava/lang/String;)V- intermediary - method_31357- Lnet/minecraft/class_5522;method_31357(Ljava/lang/String;)V- named - onSearchChange- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;onSearchChange(Ljava/lang/String;)V
 
- 
updateServerLabel- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyu;a(Lenn;)V- intermediary - method_31350- Lnet/minecraft/class_5522;method_31350(Lnet/minecraft/class_310;)V- named - updateServerLabel- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;updateServerLabel(Lnet/minecraft/client/MinecraftClient;)V
 
- 
setPlayerOnline- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyu;a(Lffb;)V- intermediary - method_31353- Lnet/minecraft/class_5522;method_31353(Lnet/minecraft/class_640;)V- named - setPlayerOnline- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setPlayerOnline(Lnet/minecraft/client/network/PlayerListEntry;)V
 
- 
setPlayerOffline- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyu;a(Ljava/util/UUID;)V- intermediary - method_31355- Lnet/minecraft/class_5522;method_31355(Ljava/util/UUID;)V- named - setPlayerOffline- Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setPlayerOffline(Ljava/util/UUID;)V
 
 
-