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

@Environment(CLIENT) public class SocialInteractionsScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen
intermediary net/minecraft/class_5522
official frn
  • Field Details

    • TITLE

      private static final Text TITLE
      Mappings:
      Namespace Name Mixin selector
      named TITLE Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;TITLE:Lnet/minecraft/text/Text;
      intermediary field_49551 Lnet/minecraft/class_5522;field_49551:Lnet/minecraft/class_2561;
      official c Lfrn;c:Lxp;
    • BACKGROUND_TEXTURE

      private static final Identifier BACKGROUND_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BACKGROUND_TEXTURE Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45564 Lnet/minecraft/class_5522;field_45564:Lnet/minecraft/class_2960;
      official d Lfrn;d:Lalf;
    • SEARCH_ICON_TEXTURE

      private static final Identifier SEARCH_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named SEARCH_ICON_TEXTURE Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SEARCH_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45565 Lnet/minecraft/class_5522;field_45565:Lnet/minecraft/class_2960;
      official r Lfrn;r:Lalf;
    • ALL_TAB_TITLE

      private static final Text ALL_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      named ALL_TAB_TITLE Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;ALL_TAB_TITLE:Lnet/minecraft/text/Text;
      intermediary field_26876 Lnet/minecraft/class_5522;field_26876:Lnet/minecraft/class_2561;
      official s Lfrn;s:Lxp;
    • HIDDEN_TAB_TITLE

      private static final Text HIDDEN_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      named HIDDEN_TAB_TITLE Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;HIDDEN_TAB_TITLE:Lnet/minecraft/text/Text;
      intermediary field_26877 Lnet/minecraft/class_5522;field_26877:Lnet/minecraft/class_2561;
      official u Lfrn;u:Lxp;
    • BLOCKED_TAB_TITLE

      private static final Text BLOCKED_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      named BLOCKED_TAB_TITLE Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;BLOCKED_TAB_TITLE:Lnet/minecraft/text/Text;
      intermediary field_26915 Lnet/minecraft/class_5522;field_26915:Lnet/minecraft/class_2561;
      official v Lfrn;v:Lxp;
    • SELECTED_ALL_TAB_TITLE

      private static final Text SELECTED_ALL_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      named SELECTED_ALL_TAB_TITLE Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_ALL_TAB_TITLE:Lnet/minecraft/text/Text;
      intermediary field_26878 Lnet/minecraft/class_5522;field_26878:Lnet/minecraft/class_2561;
      official w Lfrn;w:Lxp;
    • SELECTED_HIDDEN_TAB_TITLE

      private static final Text SELECTED_HIDDEN_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      named SELECTED_HIDDEN_TAB_TITLE Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_HIDDEN_TAB_TITLE:Lnet/minecraft/text/Text;
      intermediary field_26879 Lnet/minecraft/class_5522;field_26879:Lnet/minecraft/class_2561;
      official x Lfrn;x:Lxp;
    • SELECTED_BLOCKED_TAB_TITLE

      private static final Text SELECTED_BLOCKED_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      named SELECTED_BLOCKED_TAB_TITLE Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SELECTED_BLOCKED_TAB_TITLE:Lnet/minecraft/text/Text;
      intermediary field_26916 Lnet/minecraft/class_5522;field_26916:Lnet/minecraft/class_2561;
      official y Lfrn;y:Lxp;
    • SEARCH_TEXT

      private static final Text SEARCH_TEXT
      Mappings:
      Namespace Name Mixin selector
      named SEARCH_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;SEARCH_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26880 Lnet/minecraft/class_5522;field_26880:Lnet/minecraft/class_2561;
      official z Lfrn;z:Lxp;
    • EMPTY_SEARCH_TEXT

      static final Text EMPTY_SEARCH_TEXT
      Mappings:
      Namespace Name Mixin selector
      named EMPTY_SEARCH_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_SEARCH_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26917 Lnet/minecraft/class_5522;field_26917:Lnet/minecraft/class_2561;
      official A Lfrn;A:Lxp;
    • EMPTY_HIDDEN_TEXT

      private static final Text EMPTY_HIDDEN_TEXT
      Mappings:
      Namespace Name Mixin selector
      named EMPTY_HIDDEN_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_HIDDEN_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26881 Lnet/minecraft/class_5522;field_26881:Lnet/minecraft/class_2561;
      official B Lfrn;B:Lxp;
    • EMPTY_BLOCKED_TEXT

      private static final Text EMPTY_BLOCKED_TEXT
      Mappings:
      Namespace Name Mixin selector
      named EMPTY_BLOCKED_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;EMPTY_BLOCKED_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26918 Lnet/minecraft/class_5522;field_26918:Lnet/minecraft/class_2561;
      official C Lfrn;C:Lxp;
    • BLOCKING_TEXT

      private static final Text BLOCKING_TEXT
      Mappings:
      Namespace Name Mixin selector
      named BLOCKING_TEXT Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;BLOCKING_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26919 Lnet/minecraft/class_5522;field_26919:Lnet/minecraft/class_2561;
      official D Lfrn;D:Lxp;
    • field_32424

      private static final int field_32424
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32424 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32424:I
      intermediary field_32424 Lnet/minecraft/class_5522;field_32424:I
      official E Lfrn;E:I
    • field_32426

      private static final int field_32426
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32426 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32426:I
      intermediary field_32426 Lnet/minecraft/class_5522;field_32426:I
      official F Lfrn;F:I
    • field_32427

      private static final int field_32427
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32427 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32427:I
      intermediary field_32427 Lnet/minecraft/class_5522;field_32427:I
      official G Lfrn;G:I
    • field_32428

      private static final int field_32428
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32428 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32428:I
      intermediary field_32428 Lnet/minecraft/class_5522;field_32428:I
      official H Lfrn;H:I
    • field_32433

      public static final int field_32433
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32433 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32433:I
      intermediary field_32433 Lnet/minecraft/class_5522;field_32433:I
      official a Lfrn;a:I
    • field_32432

      public static final int field_32432
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32432 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32432:I
      intermediary field_32432 Lnet/minecraft/class_5522;field_32432:I
      official b Lfrn;b:I
    • field_32429

      private static final int field_32429
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32429 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32429:I
      intermediary field_32429 Lnet/minecraft/class_5522;field_32429:I
      official I Lfrn;I:I
    • field_32430

      private static final int field_32430
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32430 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32430:I
      intermediary field_32430 Lnet/minecraft/class_5522;field_32430:I
      official J Lfrn;J:I
    • field_32431

      private static final int field_32431
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32431 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_32431:I
      intermediary field_32431 Lnet/minecraft/class_5522;field_32431:I
      official K Lfrn;K:I
    • layout

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_49549 Lnet/minecraft/class_5522;field_49549:Lnet/minecraft/class_8132;
      official L Lfrn;L:Lfks;
    • parent

      @Nullable private final @Nullable Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_49550 Lnet/minecraft/class_5522;field_49550:Lnet/minecraft/class_437;
      official M Lfrn;M:Lfne;
    • playerList

      Mappings:
      Namespace Name Mixin selector
      named playerList Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;playerList:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;
      intermediary field_26882 Lnet/minecraft/class_5522;field_26882:Lnet/minecraft/class_5521;
      official N Lfrn;N:Lfrm;
    • currentSearch

      private String currentSearch
      Mappings:
      Namespace Name Mixin selector
      named currentSearch Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;currentSearch:Ljava/lang/String;
      intermediary field_26884 Lnet/minecraft/class_5522;field_26884:Ljava/lang/String;
      official P Lfrn;P:Ljava/lang/String;
    • currentTab

      private SocialInteractionsScreen.Tab currentTab
      Mappings:
      Namespace Name Mixin selector
      named currentTab Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;currentTab:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;
      intermediary field_26885 Lnet/minecraft/class_5522;field_26885:Lnet/minecraft/class_5522$class_5523;
      official Q Lfrn;Q:Lfrn$a;
    • allTabButton

      private ButtonWidget allTabButton
      Mappings:
      Namespace Name Mixin selector
      named allTabButton Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;allTabButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_26886 Lnet/minecraft/class_5522;field_26886:Lnet/minecraft/class_4185;
      official R Lfrn;R:Lfhf;
    • hiddenTabButton

      private ButtonWidget hiddenTabButton
      Mappings:
      Namespace Name Mixin selector
      named hiddenTabButton Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;hiddenTabButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_26887 Lnet/minecraft/class_5522;field_26887:Lnet/minecraft/class_4185;
      official S Lfrn;S:Lfhf;
    • blockedTabButton

      private ButtonWidget blockedTabButton
      Mappings:
      Namespace Name Mixin selector
      named blockedTabButton Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;blockedTabButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_26913 Lnet/minecraft/class_5522;field_26913:Lnet/minecraft/class_4185;
      official T Lfrn;T:Lfhf;
    • blockingButton

      private ButtonWidget blockingButton
      Mappings:
      Namespace Name Mixin selector
      named blockingButton Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;blockingButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_26914 Lnet/minecraft/class_5522;field_26914:Lnet/minecraft/class_4185;
      official U Lfrn;U:Lfhf;
    • serverLabel

      @Nullable private @Nullable Text serverLabel
      Mappings:
      Namespace Name Mixin selector
      named serverLabel Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;serverLabel:Lnet/minecraft/text/Text;
      intermediary field_26888 Lnet/minecraft/class_5522;field_26888:Lnet/minecraft/class_2561;
      official V Lfrn;V:Lxp;
    • playerCount

      private int playerCount
      Mappings:
      Namespace Name Mixin selector
      named playerCount Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;playerCount:I
      intermediary field_26871 Lnet/minecraft/class_5522;field_26871:I
      official W Lfrn;W:I
    • initialized

      private boolean initialized
      Mappings:
      Namespace Name Mixin selector
      named initialized Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;initialized:Z
      intermediary field_26873 Lnet/minecraft/class_5522;field_26873:Z
      official X Lfrn;X:Z
  • Constructor Details

    • SocialInteractionsScreen

      public SocialInteractionsScreen()
    • SocialInteractionsScreen

      public SocialInteractionsScreen(@Nullable @Nullable Screen parent)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
      intermediary <init> Lnet/minecraft/class_5522;<init>(Lnet/minecraft/class_437;)V
      official <init> Lfrn;<init>(Lfne;)V
  • Method Details

    • getScreenHeight

      private int getScreenHeight()
      Mappings:
      Namespace Name Mixin selector
      named getScreenHeight Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;getScreenHeight()I
      intermediary method_31359 Lnet/minecraft/class_5522;method_31359()I
      official m Lfrn;m()I
    • getPlayerListBottom

      private int getPlayerListBottom()
      Mappings:
      Namespace Name Mixin selector
      named getPlayerListBottom Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;getPlayerListBottom()I
      intermediary method_31361 Lnet/minecraft/class_5522;method_31361()I
      official E Lfrn;E()I
    • getSearchBoxX

      private int getSearchBoxX()
      Mappings:
      Namespace Name Mixin selector
      named getSearchBoxX Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;getSearchBoxX()I
      intermediary method_31362 Lnet/minecraft/class_5522;method_31362()I
      official F Lfrn;F()I
    • getNarratedTitle

      public Text getNarratedTitle()
      Overrides:
      getNarratedTitle in class Screen
      Mappings:
      Namespace Name Mixin selector
      named getNarratedTitle Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
      intermediary method_25435 Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
      official i Lfne;i()Lxp;
    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      This should call setInitialFocus() to set the element that is initially focused.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aM_ Lfne;aM_()V
    • initTabNavigation

      protected void initTabNavigation()
      Overrides:
      initTabNavigation in class Screen
      Mappings:
      Namespace Name Mixin selector
      named initTabNavigation Lnet/minecraft/client/gui/screen/Screen;initTabNavigation()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lfne;c()V
    • setInitialFocus

      protected void setInitialFocus()
      Overrides:
      setInitialFocus in class Screen
      Mappings:
      Namespace Name Mixin selector
      named setInitialFocus Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
      intermediary method_56131 Lnet/minecraft/class_437;method_56131()V
      official aB_ Lfne;aB_()V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official d Lfne;d()V
    • setCurrentTab

      private void setCurrentTab(SocialInteractionsScreen.Tab currentTab)
      Mappings:
      Namespace Name Mixin selector
      named setCurrentTab Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setCurrentTab(Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;)V
      intermediary method_31352 Lnet/minecraft/class_5522;method_31352(Lnet/minecraft/class_5522$class_5523;)V
      official a Lfrn;a(Lfrn$a;)V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      official b Lfne;b(Lfgs;IIF)V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfii;a(Lfgs;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 in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class Screen
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      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:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      official a Lfjb;a(III)Z
    • shouldPause

      public boolean shouldPause()
      Overrides:
      shouldPause in class Screen
      Mappings:
      Namespace Name Mixin selector
      named shouldPause Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
      intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
      official k Lfne;k()Z
    • onSearchChange

      private void onSearchChange(String currentSearch)
      Mappings:
      Namespace Name Mixin selector
      named onSearchChange Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;onSearchChange(Ljava/lang/String;)V
      intermediary method_31357 Lnet/minecraft/class_5522;method_31357(Ljava/lang/String;)V
      official a Lfrn;a(Ljava/lang/String;)V
    • updateServerLabel

      private void updateServerLabel(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named updateServerLabel Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;updateServerLabel(Lnet/minecraft/client/MinecraftClient;)V
      intermediary method_31350 Lnet/minecraft/class_5522;method_31350(Lnet/minecraft/class_310;)V
      official a Lfrn;a(Lffg;)V
    • setPlayerOnline

      public void setPlayerOnline(PlayerListEntry player)
      Mappings:
      Namespace Name Mixin selector
      named setPlayerOnline Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setPlayerOnline(Lnet/minecraft/client/network/PlayerListEntry;)V
      intermediary method_31353 Lnet/minecraft/class_5522;method_31353(Lnet/minecraft/class_640;)V
      official a Lfrn;a(Lfyh;)V
    • setPlayerOffline

      public void setPlayerOffline(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      named setPlayerOffline Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;setPlayerOffline(Ljava/util/UUID;)V
      intermediary method_31355 Lnet/minecraft/class_5522;method_31355(Ljava/util/UUID;)V
      official a Lfrn;a(Ljava/util/UUID;)V