Class SocialInteractionsScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.multiplayer.SocialInteractionsScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class SocialInteractionsScreen extends Screen
- Mappings:
Namespace Name official dyqintermediary net/minecraft/class_5522named net/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSocialInteractionsScreen.Tab -
Field Summary
Fields Modifier and Type Field Description private static TextALL_TAB_TITLEprivate ButtonWidgetallTabButtonprivate static TextBLOCKED_TAB_TITLEprivate ButtonWidgetblockedTabButtonprivate static TextBLOCKING_TEXTprivate ButtonWidgetblockingButtonprivate StringcurrentSearchprivate SocialInteractionsScreen.TabcurrentTabprivate static TextEMPTY_BLOCKED_TEXTprivate static TextEMPTY_HIDDEN_TEXTprivate static TextEMPTY_SEARCH_TEXTprivate booleanfield_26873private Runnablefield_26874private static TextHIDDEN_TAB_TITLEprivate ButtonWidgethiddenTabButtonprivate intplayerCountprivate SocialInteractionsPlayerListWidgetplayerListprivate static TextSEARCH_TEXTprivate TextFieldWidgetsearchBoxprivate static TextSELECTED_ALL_TAB_TITLEprivate static TextSELECTED_BLOCKED_TAB_TITLEprivate static TextSELECTED_HIDDEN_TAB_TITLEprivate TextserverLabelprotected static IdentifierSOCIAL_INTERACTIONS_TEXTUREFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors Constructor Description SocialInteractionsScreen() -
Method Summary
Modifier and Type Method Description StringgetNarrationMessage()protected voidinit()Called when a screen should be initialized.booleanisPauseScreen()booleankeyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured.private voidmethod_31350(MinecraftClient minecraftClient)voidmethod_31354(Runnable runnable)private intmethod_31359()private intmethod_31360()private intmethod_31361()private intmethod_31362()booleanmouseClicked(double mouseX, double mouseY, int button)Callback for when a mouse button down event has been captured.private voidonSearchChange(String currentSearch)voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidrenderBackground(MatrixStack matrices)Renders the background of this screen.private voidsetCurrentTab(SocialInteractionsScreen.Tab currentTab)voidsetPlayerOffline(UUID uuid)voidsetPlayerOnline(PlayerListEntry player)voidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffsetMethods 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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
SOCIAL_INTERACTIONS_TEXTURE
- Mappings:
Namespace Name Mixin selector official aLdyq;a:Lwb;intermediary field_26875Lnet/minecraft/class_5522;field_26875:Lnet/minecraft/class_2960;named SOCIAL_INTERACTIONS_TEXTURELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SOCIAL_INTERACTIONS_TEXTURE:Lnet/minecraft/util/Identifier;
-
ALL_TAB_TITLE
- Mappings:
Namespace Name Mixin selector official bLdyq;b:Loi;intermediary field_26876Lnet/minecraft/class_5522;field_26876:Lnet/minecraft/class_2561;named ALL_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;ALL_TAB_TITLE:Lnet/minecraft/text/Text;
-
HIDDEN_TAB_TITLE
- Mappings:
Namespace Name Mixin selector official cLdyq;c:Loi;intermediary field_26877Lnet/minecraft/class_5522;field_26877:Lnet/minecraft/class_2561;named HIDDEN_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;HIDDEN_TAB_TITLE:Lnet/minecraft/text/Text;
-
BLOCKED_TAB_TITLE
- Mappings:
Namespace Name Mixin selector official pLdyq;p:Loi;intermediary field_26915Lnet/minecraft/class_5522;field_26915:Lnet/minecraft/class_2561;named BLOCKED_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;BLOCKED_TAB_TITLE:Lnet/minecraft/text/Text;
-
SELECTED_ALL_TAB_TITLE
- Mappings:
Namespace Name Mixin selector official qLdyq;q:Loi;intermediary field_26878Lnet/minecraft/class_5522;field_26878:Lnet/minecraft/class_2561;named SELECTED_ALL_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_ALL_TAB_TITLE:Lnet/minecraft/text/Text;
-
SELECTED_HIDDEN_TAB_TITLE
- Mappings:
Namespace Name Mixin selector official rLdyq;r:Loi;intermediary field_26879Lnet/minecraft/class_5522;field_26879:Lnet/minecraft/class_2561;named SELECTED_HIDDEN_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_HIDDEN_TAB_TITLE:Lnet/minecraft/text/Text;
-
SELECTED_BLOCKED_TAB_TITLE
- Mappings:
Namespace Name Mixin selector official sLdyq;s:Loi;intermediary field_26916Lnet/minecraft/class_5522;field_26916:Lnet/minecraft/class_2561;named SELECTED_BLOCKED_TAB_TITLELnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_BLOCKED_TAB_TITLE:Lnet/minecraft/text/Text;
-
SEARCH_TEXT
- Mappings:
Namespace Name Mixin selector official tLdyq;t:Loi;intermediary field_26880Lnet/minecraft/class_5522;field_26880:Lnet/minecraft/class_2561;named SEARCH_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SEARCH_TEXT:Lnet/minecraft/text/Text;
-
EMPTY_SEARCH_TEXT
- Mappings:
Namespace Name Mixin selector official uLdyq;u:Loi;intermediary field_26917Lnet/minecraft/class_5522;field_26917:Lnet/minecraft/class_2561;named EMPTY_SEARCH_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_SEARCH_TEXT:Lnet/minecraft/text/Text;
-
EMPTY_HIDDEN_TEXT
- Mappings:
Namespace Name Mixin selector official vLdyq;v:Loi;intermediary field_26881Lnet/minecraft/class_5522;field_26881:Lnet/minecraft/class_2561;named EMPTY_HIDDEN_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_HIDDEN_TEXT:Lnet/minecraft/text/Text;
-
EMPTY_BLOCKED_TEXT
- Mappings:
Namespace Name Mixin selector official wLdyq;w:Loi;intermediary field_26918Lnet/minecraft/class_5522;field_26918:Lnet/minecraft/class_2561;named EMPTY_BLOCKED_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_BLOCKED_TEXT:Lnet/minecraft/text/Text;
-
BLOCKING_TEXT
- Mappings:
Namespace Name Mixin selector official xLdyq;x:Loi;intermediary field_26919Lnet/minecraft/class_5522;field_26919:Lnet/minecraft/class_2561;named BLOCKING_TEXTLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;BLOCKING_TEXT:Lnet/minecraft/text/Text;
-
playerList
- Mappings:
Namespace Name Mixin selector official yLdyq;y:Ldyp;intermediary field_26882Lnet/minecraft/class_5522;field_26882:Lnet/minecraft/class_5521;named playerListLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;playerList:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;
-
searchBox
- Mappings:
Namespace Name Mixin selector official zLdyq;z:Ldsc;intermediary field_26883Lnet/minecraft/class_5522;field_26883:Lnet/minecraft/class_342;named searchBoxLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;searchBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
currentSearch
- Mappings:
Namespace Name Mixin selector official ALdyq;A:Ljava/lang/String;intermediary field_26884Lnet/minecraft/class_5522;field_26884:Ljava/lang/String;named currentSearchLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;currentSearch:Ljava/lang/String;
-
currentTab
- Mappings:
Namespace Name Mixin selector official BLdyq;B:Ldyq$a;intermediary field_26885Lnet/minecraft/class_5522;field_26885:Lnet/minecraft/class_5522$class_5523;named currentTabLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;currentTab:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;
-
allTabButton
- Mappings:
Namespace Name Mixin selector official CLdyq;C:Ldru;intermediary field_26886Lnet/minecraft/class_5522;field_26886:Lnet/minecraft/class_4185;named allTabButtonLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;allTabButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
blockedTabButton
- Mappings:
Namespace Name Mixin selector official ELdyq;E:Ldru;intermediary field_26913Lnet/minecraft/class_5522;field_26913:Lnet/minecraft/class_4185;named blockedTabButtonLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;blockedTabButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
blockingButton
- Mappings:
Namespace Name Mixin selector official FLdyq;F:Ldru;intermediary field_26914Lnet/minecraft/class_5522;field_26914:Lnet/minecraft/class_4185;named blockingButtonLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;blockingButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
serverLabel
- Mappings:
Namespace Name Mixin selector official GLdyq;G:Loi;intermediary field_26888Lnet/minecraft/class_5522;field_26888:Lnet/minecraft/class_2561;named serverLabelLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;serverLabel:Lnet/minecraft/text/Text;
-
playerCount
private int playerCount- Mappings:
Namespace Name Mixin selector official HLdyq;H:Iintermediary field_26871Lnet/minecraft/class_5522;field_26871:Inamed playerCountLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;playerCount:I
-
field_26873
private boolean field_26873- Mappings:
Namespace Name Mixin selector official ILdyq;I:Zintermediary field_26873Lnet/minecraft/class_5522;field_26873:Znamed field_26873Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_26873:Z
-
field_26874
- Mappings:
Namespace Name Mixin selector official JLdyq;J:Ljava/lang/Runnable;intermediary field_26874Lnet/minecraft/class_5522;field_26874:Ljava/lang/Runnable;named field_26874Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_26874:Ljava/lang/Runnable;
-
-
Constructor Details
-
SocialInteractionsScreen
public SocialInteractionsScreen()
-
-
Method Details
-
method_31359
private int method_31359()- Mappings:
Namespace Name Mixin selector official iLdyq;i()Iintermediary method_31359Lnet/minecraft/class_5522;method_31359()Inamed method_31359Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31359()I
-
method_31360
private int method_31360()- Mappings:
Namespace Name Mixin selector official kLdyq;k()Iintermediary method_31360Lnet/minecraft/class_5522;method_31360()Inamed method_31360Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31360()I
-
method_31361
private int method_31361()- Mappings:
Namespace Name Mixin selector official lLdyq;l()Iintermediary method_31361Lnet/minecraft/class_5522;method_31361()Inamed method_31361Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31361()I
-
method_31362
private int method_31362()- Mappings:
Namespace Name Mixin selector official mLdyq;m()Iintermediary method_31362Lnet/minecraft/class_5522;method_31362()Inamed method_31362Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31362()I
-
getNarrationMessage
- Overrides:
getNarrationMessagein classScreen- Mappings:
Namespace Name Mixin selector official ax_Ldve;ax_()Ljava/lang/String;intermediary method_25435Lnet/minecraft/class_437;method_25435()Ljava/lang/String;named getNarrationMessageLnet/minecraft/client/gui/screen/Screen;getNarrationMessage()Ljava/lang/String;
-
tick
public void tick()- Specified by:
tickin interfaceTickableElement- Overrides:
tickin classScreen- Mappings:
Namespace Name Mixin selector official dLdsn;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()V
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
setCurrentTab
- Mappings:
Namespace Name Mixin selector official aLdyq;a(Ldyq$a;)Vintermediary method_31352Lnet/minecraft/class_5522;method_31352(Lnet/minecraft/class_5522$class_5523;)Vnamed setCurrentTabLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setCurrentTab(Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;)V
-
removed
public void removed() -
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 official aLdve;a(Ldlr;)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_4587;)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/util/math/MatrixStack;)V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLdsq;a(Ldlr;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button)Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- 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:
Mouse.onMouseButton(long, int, int, int),GLFW.GLFW_MOUSE_BUTTON_1- Mappings:
Namespace Name Mixin selector official aLdst;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
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:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdst;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreenin classScreen- Mappings:
Namespace Name Mixin selector official aD_Ldve;aD_()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Znamed isPauseScreenLnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z
-
onSearchChange
- Mappings:
Namespace Name Mixin selector official bLdyq;b(Ljava/lang/String;)Vintermediary method_31357Lnet/minecraft/class_5522;method_31357(Ljava/lang/String;)Vnamed onSearchChangeLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;onSearchChange(Ljava/lang/String;)V
-
method_31350
- Mappings:
Namespace Name Mixin selector official aLdyq;a(Ldqk;)Vintermediary method_31350Lnet/minecraft/class_5522;method_31350(Lnet/minecraft/class_310;)Vnamed method_31350Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31350(Lnet/minecraft/client/MinecraftClient;)V
-
setPlayerOnline
- Mappings:
Namespace Name Mixin selector official aLdyq;a(Leec;)Vintermediary method_31353Lnet/minecraft/class_5522;method_31353(Lnet/minecraft/class_640;)Vnamed setPlayerOnlineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setPlayerOnline(Lnet/minecraft/client/network/PlayerListEntry;)V
-
setPlayerOffline
- Mappings:
Namespace Name Mixin selector official aLdyq;a(Ljava/util/UUID;)Vintermediary method_31355Lnet/minecraft/class_5522;method_31355(Ljava/util/UUID;)Vnamed setPlayerOfflineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setPlayerOffline(Ljava/util/UUID;)V
-
method_31354
- Mappings:
Namespace Name Mixin selector official aLdyq;a(Ljava/lang/Runnable;)Vintermediary method_31354Lnet/minecraft/class_5522;method_31354(Ljava/lang/Runnable;)Vnamed method_31354Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31354(Ljava/lang/Runnable;)V
-