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 named net/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreenintermediary net/minecraft/class_5522official fyp
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate ButtonWidgetprivate static final Identifierprivate 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 final ThreePartsLayoutWidgetprivate int(package private) SocialInteractionsPlayerListWidgetprivate static final Identifierprivate static final Text(package private) TextFieldWidgetprivate static final Textprivate static final Textprivate static final Textprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private 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) protected voidvoidrender(DrawContext context, int mouseX, int mouseY, float delta) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.private voidsetCurrentTab(SocialInteractionsScreen.Tab currentTab) protected voidThis should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.voidsetPlayerOffline(UUID uuid) voidsetPlayerOnline(PlayerListEntry player) booleanprivate voidupdateServerLabel(MinecraftClient client) Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, switchFocus, tick, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TITLE
- Mappings:
Namespace Name Mixin selector named TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;TITLE:Lnet/minecraft/text/Text;intermediary field_49551Lnet/minecraft/class_5522;field_49551:Lnet/minecraft/class_2561;official cLfyp;c:Lxv;
-
BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector named BACKGROUND_TEXTURELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45564Lnet/minecraft/class_5522;field_45564:Lnet/minecraft/class_2960;official dLfyp;d:Lalz;
-
SEARCH_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector named SEARCH_ICON_TEXTURELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SEARCH_ICON_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45565Lnet/minecraft/class_5522;field_45565:Lnet/minecraft/class_2960;official sLfyp;s:Lalz;
-
ALL_TAB_TITLE
- Mappings:
Namespace Name Mixin selector named ALL_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;ALL_TAB_TITLE:Lnet/minecraft/text/Text;intermediary field_26876Lnet/minecraft/class_5522;field_26876:Lnet/minecraft/class_2561;official uLfyp;u:Lxv;
-
HIDDEN_TAB_TITLE
- Mappings:
Namespace Name Mixin selector named HIDDEN_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;HIDDEN_TAB_TITLE:Lnet/minecraft/text/Text;intermediary field_26877Lnet/minecraft/class_5522;field_26877:Lnet/minecraft/class_2561;official vLfyp;v:Lxv;
-
BLOCKED_TAB_TITLE
- Mappings:
Namespace Name Mixin selector named BLOCKED_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;BLOCKED_TAB_TITLE:Lnet/minecraft/text/Text;intermediary field_26915Lnet/minecraft/class_5522;field_26915:Lnet/minecraft/class_2561;official wLfyp;w:Lxv;
-
SELECTED_ALL_TAB_TITLE
- Mappings:
Namespace Name Mixin selector named SELECTED_ALL_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_ALL_TAB_TITLE:Lnet/minecraft/text/Text;intermediary field_26878Lnet/minecraft/class_5522;field_26878:Lnet/minecraft/class_2561;official xLfyp;x:Lxv;
-
SELECTED_HIDDEN_TAB_TITLE
- Mappings:
Namespace Name Mixin selector named SELECTED_HIDDEN_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_HIDDEN_TAB_TITLE:Lnet/minecraft/text/Text;intermediary field_26879Lnet/minecraft/class_5522;field_26879:Lnet/minecraft/class_2561;official yLfyp;y:Lxv;
-
SELECTED_BLOCKED_TAB_TITLE
- Mappings:
Namespace Name Mixin selector named SELECTED_BLOCKED_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_BLOCKED_TAB_TITLE:Lnet/minecraft/text/Text;intermediary field_26916Lnet/minecraft/class_5522;field_26916:Lnet/minecraft/class_2561;official zLfyp;z:Lxv;
-
SEARCH_TEXT
- Mappings:
Namespace Name Mixin selector named SEARCH_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SEARCH_TEXT:Lnet/minecraft/text/Text;intermediary field_26880Lnet/minecraft/class_5522;field_26880:Lnet/minecraft/class_2561;official ALfyp;A:Lxv;
-
EMPTY_SEARCH_TEXT
- Mappings:
Namespace Name Mixin selector named EMPTY_SEARCH_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_SEARCH_TEXT:Lnet/minecraft/text/Text;intermediary field_26917Lnet/minecraft/class_5522;field_26917:Lnet/minecraft/class_2561;official BLfyp;B:Lxv;
-
EMPTY_HIDDEN_TEXT
- Mappings:
Namespace Name Mixin selector named EMPTY_HIDDEN_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_HIDDEN_TEXT:Lnet/minecraft/text/Text;intermediary field_26881Lnet/minecraft/class_5522;field_26881:Lnet/minecraft/class_2561;official CLfyp;C:Lxv;
-
EMPTY_BLOCKED_TEXT
- Mappings:
Namespace Name Mixin selector named EMPTY_BLOCKED_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_BLOCKED_TEXT:Lnet/minecraft/text/Text;intermediary field_26918Lnet/minecraft/class_5522;field_26918:Lnet/minecraft/class_2561;official DLfyp;D:Lxv;
-
BLOCKING_TEXT
- Mappings:
Namespace Name Mixin selector named BLOCKING_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;BLOCKING_TEXT:Lnet/minecraft/text/Text;intermediary field_26919Lnet/minecraft/class_5522;field_26919:Lnet/minecraft/class_2561;official ELfyp;E:Lxv;
-
field_32424
private static final int field_32424- See Also:
- Mappings:
Namespace Name Mixin selector named field_32424Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32424:Iintermediary field_32424Lnet/minecraft/class_5522;field_32424:Iofficial FLfyp;F:I
-
field_32426
private static final int field_32426- See Also:
- Mappings:
Namespace Name Mixin selector named field_32426Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32426:Iintermediary field_32426Lnet/minecraft/class_5522;field_32426:Iofficial GLfyp;G:I
-
field_32427
private static final int field_32427- See Also:
- Mappings:
Namespace Name Mixin selector named field_32427Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32427:Iintermediary field_32427Lnet/minecraft/class_5522;field_32427:Iofficial HLfyp;H:I
-
field_32428
private static final int field_32428- See Also:
- Mappings:
Namespace Name Mixin selector named field_32428Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32428:Iintermediary field_32428Lnet/minecraft/class_5522;field_32428:Iofficial ILfyp;I:I
-
field_32433
public static final int field_32433- See Also:
- Mappings:
Namespace Name Mixin selector named field_32433Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32433:Iintermediary field_32433Lnet/minecraft/class_5522;field_32433:Iofficial aLfyp;a:I
-
field_32432
public static final int field_32432- See Also:
- Mappings:
Namespace Name Mixin selector named field_32432Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32432:Iintermediary field_32432Lnet/minecraft/class_5522;field_32432:Iofficial bLfyp;b:I
-
field_32429
private static final int field_32429- See Also:
- Mappings:
Namespace Name Mixin selector named field_32429Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32429:Iintermediary field_32429Lnet/minecraft/class_5522;field_32429:Iofficial JLfyp;J:I
-
field_32430
private static final int field_32430- See Also:
- Mappings:
Namespace Name Mixin selector named field_32430Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32430:Iintermediary field_32430Lnet/minecraft/class_5522;field_32430:Iofficial KLfyp;K:I
-
field_32431
private static final int field_32431- See Also:
- Mappings:
Namespace Name Mixin selector named field_32431Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32431:Iintermediary field_32431Lnet/minecraft/class_5522;field_32431:Iofficial LLfyp;L:I
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_49549Lnet/minecraft/class_5522;field_49549:Lnet/minecraft/class_8132;official MLfyp;M:Lfrt;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_49550Lnet/minecraft/class_5522;field_49550:Lnet/minecraft/class_437;official NLfyp;N:Lftx;
-
playerList
SocialInteractionsPlayerListWidget playerList- Mappings:
Namespace Name Mixin selector named playerListLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;playerList:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;intermediary field_26882Lnet/minecraft/class_5522;field_26882:Lnet/minecraft/class_5521;official OLfyp;O:Lfyo;
-
searchBox
TextFieldWidget searchBox- Mappings:
Namespace Name Mixin selector named searchBoxLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;searchBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_26883Lnet/minecraft/class_5522;field_26883:Lnet/minecraft/class_342;official PLfyp;P:Lfon;
-
currentSearch
- Mappings:
Namespace Name Mixin selector named currentSearchLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;currentSearch:Ljava/lang/String;intermediary field_26884Lnet/minecraft/class_5522;field_26884:Ljava/lang/String;official QLfyp;Q:Ljava/lang/String;
-
currentTab
- Mappings:
Namespace Name Mixin selector named currentTabLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;currentTab:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;intermediary field_26885Lnet/minecraft/class_5522;field_26885:Lnet/minecraft/class_5522$class_5523;official RLfyp;R:Lfyp$a;
-
allTabButton
- Mappings:
Namespace Name Mixin selector named allTabButtonLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;allTabButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_26886Lnet/minecraft/class_5522;field_26886:Lnet/minecraft/class_4185;official SLfyp;S:Lfoe;
-
blockedTabButton
- Mappings:
Namespace Name Mixin selector named blockedTabButtonLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;blockedTabButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_26913Lnet/minecraft/class_5522;field_26913:Lnet/minecraft/class_4185;official ULfyp;U:Lfoe;
-
blockingButton
- Mappings:
Namespace Name Mixin selector named blockingButtonLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;blockingButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_26914Lnet/minecraft/class_5522;field_26914:Lnet/minecraft/class_4185;official VLfyp;V:Lfoe;
-
serverLabel
- Mappings:
Namespace Name Mixin selector named serverLabelLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;serverLabel:Lnet/minecraft/text/Text;intermediary field_26888Lnet/minecraft/class_5522;field_26888:Lnet/minecraft/class_2561;official WLfyp;W:Lxv;
-
playerCount
private int playerCount- Mappings:
Namespace Name Mixin selector named playerCountLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;playerCount:Iintermediary field_26871Lnet/minecraft/class_5522;field_26871:Iofficial XLfyp;X:I
-
-
Constructor Details
-
SocialInteractionsScreen
public SocialInteractionsScreen() -
SocialInteractionsScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)Vintermediary <init>Lnet/minecraft/class_5522;<init>(Lnet/minecraft/class_437;)Vofficial <init>Lfyp;<init>(Lftx;)V
-
-
Method Details
-
getScreenHeight
private int getScreenHeight()- Mappings:
Namespace Name Mixin selector named getScreenHeightLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;getScreenHeight()Iintermediary method_31359Lnet/minecraft/class_5522;method_31359()Iofficial lLfyp;l()I
-
getPlayerListBottom
private int getPlayerListBottom()- Mappings:
Namespace Name Mixin selector named getPlayerListBottomLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;getPlayerListBottom()Iintermediary method_31361Lnet/minecraft/class_5522;method_31361()Iofficial ELfyp;E()I
-
getSearchBoxX
private int getSearchBoxX()- Mappings:
Namespace Name Mixin selector named getSearchBoxXLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;getSearchBoxX()Iintermediary method_31362Lnet/minecraft/class_5522;method_31362()Iofficial FLfyp;F()I
-
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official iLftx;i()Lxv;
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLftx;c()V
-
setInitialFocus
protected void setInitialFocus()This should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.- Overrides:
setInitialFocusin classScreen- Mappings:
Namespace Name Mixin selector named setInitialFocusLnet/minecraft/client/gui/screen/Screen;setInitialFocus()Vintermediary method_56131Lnet/minecraft/class_437;method_56131()Vofficial aG_Lftx;aG_()V
-
close
public void close() -
setCurrentTab
- Mappings:
Namespace Name Mixin selector named setCurrentTabLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setCurrentTab(Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;)Vintermediary method_31352Lnet/minecraft/class_5522;method_31352(Lnet/minecraft/class_5522$class_5523;)Vofficial aLfyp;a(Lfyp$a;)V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector named renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vofficial bLftx;b(Lfnr;IIF)V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfpi;a(Lfnr;IIF)V
-
keyPressed
public 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 interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- 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 named keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLfqc;a(III)Z
-
shouldPause
public boolean shouldPause()- Overrides:
shouldPausein classScreen- Mappings:
Namespace Name Mixin selector named shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Zofficial jLftx;j()Z
-
onSearchChange
- Mappings:
Namespace Name Mixin selector named onSearchChangeLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;onSearchChange(Ljava/lang/String;)Vintermediary method_31357Lnet/minecraft/class_5522;method_31357(Ljava/lang/String;)Vofficial aLfyp;a(Ljava/lang/String;)V
-
updateServerLabel
- Mappings:
Namespace Name Mixin selector named updateServerLabelLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;updateServerLabel(Lnet/minecraft/client/MinecraftClient;)Vintermediary method_31350Lnet/minecraft/class_5522;method_31350(Lnet/minecraft/class_310;)Vofficial aLfyp;a(Lfmf;)V
-
setPlayerOnline
- Mappings:
Namespace Name Mixin selector named setPlayerOnlineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setPlayerOnline(Lnet/minecraft/client/network/PlayerListEntry;)Vintermediary method_31353Lnet/minecraft/class_5522;method_31353(Lnet/minecraft/class_640;)Vofficial aLfyp;a(Lgfv;)V
-
setPlayerOffline
- Mappings:
Namespace Name Mixin selector named setPlayerOfflineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setPlayerOffline(Ljava/util/UUID;)Vintermediary method_31355Lnet/minecraft/class_5522;method_31355(Ljava/util/UUID;)Vofficial aLfyp;a(Ljava/util/UUID;)V
-