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.SocialInteractionsService service
    • discoveredNamesToUUID

      private final Map<String,​UUID> discoveredNamesToUUID
  • Constructor Details

    • PlayerSocialManager

      public PlayerSocialManager(Minecraft p_100673_, com.mojang.authlib.minecraft.SocialInteractionsService p_100674_)
  • 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_)
    • 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_)