Class SocialInteractionsScreen

All Implemented Interfaces:
IGuiEventListener, INestedGuiEventHandler, IRenderable, IScreen

public class SocialInteractionsScreen extends Screen
  • Field Details

    • SOCIAL_INTERACTIONS_LOCATION

      protected static final ResourceLocation SOCIAL_INTERACTIONS_LOCATION
    • TAB_ALL

      private static final ITextComponent TAB_ALL
    • TAB_HIDDEN

      private static final ITextComponent TAB_HIDDEN
    • TAB_BLOCKED

      private static final ITextComponent TAB_BLOCKED
    • TAB_ALL_SELECTED

      private static final ITextComponent TAB_ALL_SELECTED
    • TAB_HIDDEN_SELECTED

      private static final ITextComponent TAB_HIDDEN_SELECTED
    • TAB_BLOCKED_SELECTED

      private static final ITextComponent TAB_BLOCKED_SELECTED
    • SEARCH_HINT

      private static final ITextComponent SEARCH_HINT
    • EMPTY_HIDDEN

      private static final ITextComponent EMPTY_HIDDEN
    • EMPTY_BLOCKED

      private static final ITextComponent EMPTY_BLOCKED
    • BLOCKING_HINT

      private static final ITextComponent BLOCKING_HINT
    • socialInteractionsPlayerList

      private FilterList socialInteractionsPlayerList
    • lastSearch

      private String lastSearch
    • page

    • allButton

      private Button allButton
    • hiddenButton

      private Button hiddenButton
    • blockedButton

      private Button blockedButton
    • blockingHintButton

      private Button blockingHintButton
    • serverLabel

      @Nullable private ITextComponent serverLabel
    • playerCount

      private int playerCount
    • initialized

      private boolean initialized
    • postRenderRunnable

      @Nullable private Runnable postRenderRunnable
  • Constructor Details

    • SocialInteractionsScreen

      public SocialInteractionsScreen()
  • Method Details

    • windowHeight

      private int windowHeight()
    • backgroundUnits

      private int backgroundUnits()
    • listEnd

      private int listEnd()
    • marginX

      private int marginX()
    • getNarrationMessage

      public String getNarrationMessage()
      Overrides:
      getNarrationMessage in class Screen
    • tick

      public void tick()
      Specified by:
      tick in interface IScreen
      Overrides:
      tick in class Screen
    • init

      protected void init()
      Overrides:
      init in class Screen
    • showPage

      private void showPage(SocialInteractionsScreen.Mode p_244682_1_)
    • removed

      public void removed()
      Overrides:
      removed in class Screen
    • renderBackground

      public void renderBackground(MatrixStack p_230446_1_)
      Overrides:
      renderBackground in class Screen
    • render

      public void render(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_)
      Specified by:
      render in interface IRenderable
      Overrides:
      render in class Screen
    • mouseClicked

      public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_)
    • keyPressed

      public boolean keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_)
      Specified by:
      keyPressed in interface IGuiEventListener
      Specified by:
      keyPressed in interface INestedGuiEventHandler
      Overrides:
      keyPressed in class Screen
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class Screen
    • checkSearchStringUpdate

      private void checkSearchStringUpdate(String p_244687_1_)
    • updateServerLabel

      private void updateServerLabel(Minecraft p_244680_1_)
    • onAddPlayer

      public void onAddPlayer(NetworkPlayerInfo p_244683_1_)
    • onRemovePlayer

      public void onRemovePlayer(UUID p_244685_1_)
    • setPostRenderRunnable

      public void setPostRenderRunnable(@Nullable Runnable p_244684_1_)