Class PlayerSocialManager

java.lang.Object
net.minecraft.client.gui.screens.social.PlayerSocialManager

public class PlayerSocialManager extends Object
  • Field Details

    • minecraft

      private final Minecraft minecraft
    • hiddenPlayers

      private final Set<UUID> hiddenPlayers
    • service

      private final com.mojang.authlib.minecraft.UserApiService service
    • discoveredNamesToUUID

      private final Map<String,UUID> discoveredNamesToUUID
    • onlineMode

      private boolean onlineMode
    • pendingBlockListRefresh

      private CompletableFuture<?> pendingBlockListRefresh
  • Constructor Details

    • PlayerSocialManager

      public PlayerSocialManager(Minecraft p_194057_, com.mojang.authlib.minecraft.UserApiService p_194058_)
  • Method Details

    • hidePlayer

      public void hidePlayer(UUID p_100681_)
    • showPlayer

      public void showPlayer(UUID p_100683_)
    • shouldHideMessageFrom

      public boolean shouldHideMessageFrom(UUID p_100685_)
    • isHidden

      public boolean isHidden(UUID p_100687_)
    • startOnlineMode

      public void startOnlineMode()
    • stopOnlineMode

      public void stopOnlineMode()
    • isBlocked

      public boolean isBlocked(UUID p_100689_)
    • getHiddenPlayers

      public Set<UUID> getHiddenPlayers()
    • getDiscoveredUUID

      public UUID getDiscoveredUUID(String p_100679_)
    • addPlayer

      public void addPlayer(PlayerInfo p_100677_)
    • removePlayer

      public void removePlayer(UUID p_100691_)