Class SocialInteractionsPlayerList

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, NarratableEntry, NarrationSupplier

public class SocialInteractionsPlayerList extends ContainerObjectSelectionList<PlayerEntry>
  • Field Details

  • Constructor Details

    • SocialInteractionsPlayerList

      public SocialInteractionsPlayerList(SocialInteractionsScreen p_100697_, Minecraft p_100698_, int p_100699_, int p_100700_, int p_100701_, int p_100702_, int p_100703_)
  • Method Details

    • render

      public void render(PoseStack p_100705_, int p_100706_, int p_100707_, float p_100708_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class AbstractSelectionList<PlayerEntry>
    • updatePlayerList

      public void updatePlayerList(Collection<UUID> p_240798_, double p_240792_, boolean p_240829_)
    • addOnlinePlayers

      private void addOnlinePlayers(Collection<UUID> p_240813_, Map<UUID,PlayerEntry> p_240796_)
    • updatePlayersFromChatLog

      private void updatePlayersFromChatLog(Map<UUID,PlayerEntry> p_240780_, boolean p_240827_)
    • collectProfilesFromChatLog

      private static Collection<com.mojang.authlib.GameProfile> collectProfilesFromChatLog(ChatLog p_250748_)
    • sortPlayerEntries

      private void sortPlayerEntries()
    • updateFiltersAndScroll

      private void updateFiltersAndScroll(Collection<PlayerEntry> p_240809_, double p_240830_)
    • updateFilteredPlayers

      private void updateFilteredPlayers()
    • setFilter

      public void setFilter(String p_100718_)
    • isEmpty

      public boolean isEmpty()
    • addPlayer

      public void addPlayer(PlayerInfo p_100715_, SocialInteractionsScreen.Page p_100716_)
    • removePlayer

      public void removePlayer(UUID p_100723_)