Class SocialInteractionsPlayerListWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, ParentElement, Selectable

@Environment(CLIENT) public class SocialInteractionsPlayerListWidget extends ElementListWidget<SocialInteractionsPlayerListEntry>
Mappings:
Namespace Name
official eyt
intermediary net/minecraft/class_5521
named net/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget
  • Field Details

    • parent

      private final SocialInteractionsScreen parent
      Mappings:
      Namespace Name Mixin selector
      official a Leyt;a:Leyu;
      intermediary field_26867 Lnet/minecraft/class_5521;field_26867:Lnet/minecraft/class_5522;
      named parent Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;parent:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;
    • players

      private final List<SocialInteractionsPlayerListEntry> players
      Mappings:
      Namespace Name Mixin selector
      official l Leyt;l:Ljava/util/List;
      intermediary field_26869 Lnet/minecraft/class_5521;field_26869:Ljava/util/List;
      named players Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;players:Ljava/util/List;
    • currentSearch

      @Nullable private @Nullable String currentSearch
      Mappings:
      Namespace Name Mixin selector
      official m Leyt;m:Ljava/lang/String;
      intermediary field_26870 Lnet/minecraft/class_5521;field_26870:Ljava/lang/String;
      named currentSearch Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;currentSearch:Ljava/lang/String;
  • Constructor Details

    • SocialInteractionsPlayerListWidget

      public SocialInteractionsPlayerListWidget(SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int top, int bottom, int itemHeight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyt;<init>(Leyu;Lenn;IIIII)V
      intermediary <init> Lnet/minecraft/class_5521;<init>(Lnet/minecraft/class_5522;Lnet/minecraft/class_310;IIIII)V
      named <init> Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;<init>(Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;Lnet/minecraft/client/MinecraftClient;IIIII)V
  • Method Details

    • enableScissor

      protected void enableScissor(DrawContext context)
      Overrides:
      enableScissor in class EntryListWidget<SocialInteractionsPlayerListEntry>
      Mappings:
      Namespace Name Mixin selector
      official b Lepc;b(Leox;)V
      intermediary method_49603 Lnet/minecraft/class_350;method_49603(Lnet/minecraft/class_332;)V
      named enableScissor Lnet/minecraft/client/gui/widget/EntryListWidget;enableScissor(Lnet/minecraft/client/gui/DrawContext;)V
    • update

      public void update(Collection<UUID> uuids, double scrollAmount, boolean includeOffline)
      Mappings:
      Namespace Name Mixin selector
      official a Leyt;a(Ljava/util/Collection;DZ)V
      intermediary method_31393 Lnet/minecraft/class_5521;method_31393(Ljava/util/Collection;DZ)V
      named update Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;update(Ljava/util/Collection;DZ)V
    • setPlayers

      private void setPlayers(Collection<UUID> playerUuids, Map<UUID,SocialInteractionsPlayerListEntry> entriesByUuids)
      Mappings:
      Namespace Name Mixin selector
      official a Leyt;a(Ljava/util/Collection;Ljava/util/Map;)V
      intermediary method_44699 Lnet/minecraft/class_5521;method_44699(Ljava/util/Collection;Ljava/util/Map;)V
      named setPlayers Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayers(Ljava/util/Collection;Ljava/util/Map;)V
    • markOfflineMembers

      private void markOfflineMembers(Map<UUID,SocialInteractionsPlayerListEntry> entries, boolean includeOffline)
      Mappings:
      Namespace Name Mixin selector
      official a Leyt;a(Ljava/util/Map;Z)V
      intermediary method_44759 Lnet/minecraft/class_5521;method_44759(Ljava/util/Map;Z)V
      named markOfflineMembers Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;markOfflineMembers(Ljava/util/Map;Z)V
    • collectReportableProfiles

      private static Collection<com.mojang.authlib.GameProfile> collectReportableProfiles(ChatLog log)
      Mappings:
      Namespace Name Mixin selector
      official a Leyt;a(Lffh;)Ljava/util/Collection;
      intermediary method_45665 Lnet/minecraft/class_5521;method_45665(Lnet/minecraft/class_7555;)Ljava/util/Collection;
      named collectReportableProfiles Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;collectReportableProfiles(Lnet/minecraft/client/report/log/ChatLog;)Ljava/util/Collection;
    • sortPlayers

      private void sortPlayers()
      Mappings:
      Namespace Name Mixin selector
      official e Leyt;e()V
      intermediary method_44762 Lnet/minecraft/class_5521;method_44762()V
      named sortPlayers Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;sortPlayers()V
    • refresh

      private void refresh(Collection<SocialInteractionsPlayerListEntry> players, double scrollAmount)
      Mappings:
      Namespace Name Mixin selector
      official a Leyt;a(Ljava/util/Collection;D)V
      intermediary method_44698 Lnet/minecraft/class_5521;method_44698(Ljava/util/Collection;D)V
      named refresh Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;refresh(Ljava/util/Collection;D)V
    • filterPlayers

      private void filterPlayers()
      Mappings:
      Namespace Name Mixin selector
      official v Leyt;v()V
      intermediary method_31349 Lnet/minecraft/class_5521;method_31349()V
      named filterPlayers Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;filterPlayers()V
    • setCurrentSearch

      public void setCurrentSearch(String currentSearch)
      Mappings:
      Namespace Name Mixin selector
      official a Leyt;a(Ljava/lang/String;)V
      intermediary method_31346 Lnet/minecraft/class_5521;method_31346(Ljava/lang/String;)V
      named setCurrentSearch Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setCurrentSearch(Ljava/lang/String;)V
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      official d Leyt;d()Z
      intermediary method_31348 Lnet/minecraft/class_5521;method_31348()Z
      named isEmpty Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;isEmpty()Z
    • setPlayerOnline

      public void setPlayerOnline(PlayerListEntry player, SocialInteractionsScreen.Tab tab)
      Mappings:
      Namespace Name Mixin selector
      official a Leyt;a(Lffb;Leyu$a;)V
      intermediary method_31345 Lnet/minecraft/class_5521;method_31345(Lnet/minecraft/class_640;Lnet/minecraft/class_5522$class_5523;)V
      named setPlayerOnline Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOnline(Lnet/minecraft/client/network/PlayerListEntry;Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;)V
    • setPlayerOffline

      public void setPlayerOffline(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      official a Leyt;a(Ljava/util/UUID;)V
      intermediary method_31347 Lnet/minecraft/class_5521;method_31347(Ljava/util/UUID;)V
      named setPlayerOffline Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOffline(Ljava/util/UUID;)V