Class SocialInteractionsScreen

All Implemented Interfaces:
Drawable, Element, ParentElement, TickableElement

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

    • SOCIAL_INTERACTIONS_TEXTURE

      protected static final Identifier SOCIAL_INTERACTIONS_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Ldyq;a:Lwb;
      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

      private static final Text ALL_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      official b Ldyq;b:Loi;
      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

      private static final Text HIDDEN_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      official c Ldyq;c:Loi;
      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

      private static final Text BLOCKED_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      official p Ldyq;p:Loi;
      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

      private static final Text SELECTED_ALL_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      official q Ldyq;q:Loi;
      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

      private static final Text SELECTED_HIDDEN_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      official r Ldyq;r:Loi;
      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

      private static final Text SELECTED_BLOCKED_TAB_TITLE
      Mappings:
      Namespace Name Mixin selector
      official s Ldyq;s:Loi;
      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

      private static final Text SEARCH_TEXT
      Mappings:
      Namespace Name Mixin selector
      official t Ldyq;t:Loi;
      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

      private static final Text EMPTY_SEARCH_TEXT
      Mappings:
      Namespace Name Mixin selector
      official u Ldyq;u:Loi;
      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

      private static final Text EMPTY_HIDDEN_TEXT
      Mappings:
      Namespace Name Mixin selector
      official v Ldyq;v:Loi;
      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

      private static final Text EMPTY_BLOCKED_TEXT
      Mappings:
      Namespace Name Mixin selector
      official w Ldyq;w:Loi;
      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

      private static final Text BLOCKING_TEXT
      Mappings:
      Namespace Name Mixin selector
      official x Ldyq;x:Loi;
      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;
    • playerList

      Mappings:
      Namespace Name Mixin selector
      official y Ldyq;y:Ldyp;
      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;
    • currentSearch

      private String currentSearch
      Mappings:
      Namespace Name Mixin selector
      official A Ldyq;A: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

      private SocialInteractionsScreen.Tab currentTab
      Mappings:
      Namespace Name Mixin selector
      official B Ldyq;B:Ldyq$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

      private ButtonWidget allTabButton
      Mappings:
      Namespace Name Mixin selector
      official C Ldyq;C:Ldru;
      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;
    • hiddenTabButton

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

      private ButtonWidget blockedTabButton
      Mappings:
      Namespace Name Mixin selector
      official E Ldyq;E:Ldru;
      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

      private ButtonWidget blockingButton
      Mappings:
      Namespace Name Mixin selector
      official F Ldyq;F:Ldru;
      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

      @Nullable private Text serverLabel
      Mappings:
      Namespace Name Mixin selector
      official G Ldyq;G:Loi;
      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;
    • playerCount

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

      private boolean field_26873
      Mappings:
      Namespace Name Mixin selector
      official I Ldyq;I:Z
      intermediary field_26873 Lnet/minecraft/class_5522;field_26873:Z
      named field_26873 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;field_26873:Z
    • field_26874

      @Nullable private Runnable field_26874
      Mappings:
      Namespace Name Mixin selector
      official J Ldyq;J:Ljava/lang/Runnable;
      intermediary field_26874 Lnet/minecraft/class_5522;field_26874:Ljava/lang/Runnable;
      named field_26874 Lnet/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 i Ldyq;i()I
      intermediary method_31359 Lnet/minecraft/class_5522;method_31359()I
      named method_31359 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31359()I
    • method_31360

      private int method_31360()
      Mappings:
      Namespace Name Mixin selector
      official k Ldyq;k()I
      intermediary method_31360 Lnet/minecraft/class_5522;method_31360()I
      named method_31360 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31360()I
    • method_31361

      private int method_31361()
      Mappings:
      Namespace Name Mixin selector
      official l Ldyq;l()I
      intermediary method_31361 Lnet/minecraft/class_5522;method_31361()I
      named method_31361 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31361()I
    • method_31362

      private int method_31362()
      Mappings:
      Namespace Name Mixin selector
      official m Ldyq;m()I
      intermediary method_31362 Lnet/minecraft/class_5522;method_31362()I
      named method_31362 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31362()I
    • getNarrationMessage

      public String getNarrationMessage()
      Overrides:
      getNarrationMessage in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ax_ Ldve;ax_()Ljava/lang/String;
      intermediary method_25435 Lnet/minecraft/class_437;method_25435()Ljava/lang/String;
      named getNarrationMessage Lnet/minecraft/client/gui/screen/Screen;getNarrationMessage()Ljava/lang/String;
    • tick

      public void tick()
      Specified by:
      tick in interface TickableElement
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official d Ldsn;d()V
      intermediary method_25393 Lnet/minecraft/class_4893;method_25393()V
      named tick Lnet/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.

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

      private void setCurrentTab​(SocialInteractionsScreen.Tab currentTab)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyq;a(Ldyq$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
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official e Ldve;e()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • renderBackground

      public void renderBackground​(MatrixStack matrices)
      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
      official a Ldve;a(Ldlr;)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_4587;)V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/util/math/MatrixStack;)V
    • render

      public void render​(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Ldsq;a(Ldlr;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/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 in GLFW class.
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to 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 a Ldst;a(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      named mouseClicked Lnet/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 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:
      Keyboard.onKey(long, int, int, int, int), GLFW.GLFW_KEY_Q, GLFWKeyCallbackI.invoke(long, int, int, int, int)
      Mappings:
      Namespace Name Mixin selector
      official a Ldst;a(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
    • isPauseScreen

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

      private void onSearchChange​(String currentSearch)
      Mappings:
      Namespace Name Mixin selector
      official b Ldyq;b(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
    • method_31350

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

      public void setPlayerOnline​(PlayerListEntry player)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyq;a(Leec;)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

      public void setPlayerOffline​(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyq;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
    • method_31354

      public void method_31354​(@Nullable Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyq;a(Ljava/lang/Runnable;)V
      intermediary method_31354 Lnet/minecraft/class_5522;method_31354(Ljava/lang/Runnable;)V
      named method_31354 Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;method_31354(Ljava/lang/Runnable;)V