Class ClientTelemetryManager

java.lang.Object
net.minecraft.client.ClientTelemetryManager

public class ClientTelemetryManager extends Object
  • Field Details

    • THREAD_COUNT

      private static final AtomicInteger THREAD_COUNT
    • EXECUTOR

      private static final Executor EXECUTOR
    • minecraft

      private final Minecraft minecraft
    • telemetrySession

      private final com.mojang.authlib.minecraft.TelemetrySession telemetrySession
    • worldLoadEventSent

      private boolean worldLoadEventSent
    • playerInfo

      @Nullable private ClientTelemetryManager.PlayerInfo playerInfo
    • serverBrand

      @Nullable private String serverBrand
  • Constructor Details

    • ClientTelemetryManager

      public ClientTelemetryManager(Minecraft p_193539_, com.mojang.authlib.minecraft.UserApiService p_193540_, Optional<String> p_193541_, Optional<String> p_193542_, UUID p_193543_)
  • Method Details

    • addOptionalProperty

      private static void addOptionalProperty(String p_193564_, Optional<String> p_193565_, com.mojang.authlib.minecraft.TelemetryPropertyContainer p_193566_)
    • onPlayerInfoReceived

      public void onPlayerInfoReceived(GameType p_193546_, boolean p_193547_)
    • onServerBrandReceived

      public void onServerBrandReceived(String p_193562_)
    • sendWorldLoadEvent

      private void sendWorldLoadEvent(ClientTelemetryManager.PlayerInfo p_193558_)
    • getServerType

      private String getServerType()
    • onDisconnect

      public void onDisconnect()