Class TelemetryManager

java.lang.Object
net.minecraft.client.session.telemetry.TelemetryManager
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class TelemetryManager extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/session/telemetry/TelemetryManager
intermediary net/minecraft/class_6628
official gua
  • Field Details

    • NEXT_WORKER_ID

      private static final AtomicInteger NEXT_WORKER_ID
      Mappings:
      Namespace Name Mixin selector
      named NEXT_WORKER_ID Lnet/minecraft/client/session/telemetry/TelemetryManager;NEXT_WORKER_ID:Ljava/util/concurrent/atomic/AtomicInteger;
      intermediary field_34948 Lnet/minecraft/class_6628;field_34948:Ljava/util/concurrent/atomic/AtomicInteger;
      official a Lgua;a:Ljava/util/concurrent/atomic/AtomicInteger;
    • EXECUTOR

      private static final Executor EXECUTOR
      Mappings:
      Namespace Name Mixin selector
      named EXECUTOR Lnet/minecraft/client/session/telemetry/TelemetryManager;EXECUTOR:Ljava/util/concurrent/Executor;
      intermediary field_34949 Lnet/minecraft/class_6628;field_34949:Ljava/util/concurrent/Executor;
      official b Lgua;b:Ljava/util/concurrent/Executor;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/session/telemetry/TelemetryManager;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_47702 Lnet/minecraft/class_6628;field_47702:Lnet/minecraft/class_310;
      official c Lgua;c:Lffg;
    • userApiService

      private final com.mojang.authlib.minecraft.UserApiService userApiService
      Mappings:
      Namespace Name Mixin selector
      named userApiService Lnet/minecraft/client/session/telemetry/TelemetryManager;userApiService:Lcom/mojang/authlib/minecraft/UserApiService;
      intermediary field_41426 Lnet/minecraft/class_6628;field_41426:Lcom/mojang/authlib/minecraft/UserApiService;
      official d Lgua;d:Lcom/mojang/authlib/minecraft/UserApiService;
    • propertyMap

      private final PropertyMap propertyMap
      Mappings:
      Namespace Name Mixin selector
      named propertyMap Lnet/minecraft/client/session/telemetry/TelemetryManager;propertyMap:Lnet/minecraft/client/session/telemetry/PropertyMap;
      intermediary field_41427 Lnet/minecraft/class_6628;field_41427:Lnet/minecraft/class_7973;
      official e Lgua;e:Lgui;
    • logDirectory

      private final Path logDirectory
      Mappings:
      Namespace Name Mixin selector
      named logDirectory Lnet/minecraft/client/session/telemetry/TelemetryManager;logDirectory:Ljava/nio/file/Path;
      intermediary field_41428 Lnet/minecraft/class_6628;field_41428:Ljava/nio/file/Path;
      official f Lgua;f:Ljava/nio/file/Path;
    • logManager

      private final CompletableFuture<Optional<TelemetryLogManager>> logManager
      Mappings:
      Namespace Name Mixin selector
      named logManager Lnet/minecraft/client/session/telemetry/TelemetryManager;logManager:Ljava/util/concurrent/CompletableFuture;
      intermediary field_41429 Lnet/minecraft/class_6628;field_41429:Ljava/util/concurrent/CompletableFuture;
      official g Lgua;g:Ljava/util/concurrent/CompletableFuture;
    • lazySenderSupplier

      private final Supplier<TelemetrySender> lazySenderSupplier
      Mappings:
      Namespace Name Mixin selector
      named lazySenderSupplier Lnet/minecraft/client/session/telemetry/TelemetryManager;lazySenderSupplier:Ljava/util/function/Supplier;
      intermediary field_44831 Lnet/minecraft/class_6628;field_44831:Ljava/util/function/Supplier;
      official h Lgua;h:Ljava/util/function/Supplier;
  • Constructor Details

    • TelemetryManager

      public TelemetryManager(MinecraftClient client, com.mojang.authlib.minecraft.UserApiService userApiService, Session session)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/session/telemetry/TelemetryManager;<init>(Lnet/minecraft/client/MinecraftClient;Lcom/mojang/authlib/minecraft/UserApiService;Lnet/minecraft/client/session/Session;)V
      intermediary <init> Lnet/minecraft/class_6628;<init>(Lnet/minecraft/class_310;Lcom/mojang/authlib/minecraft/UserApiService;Lnet/minecraft/class_320;)V
      official <init> Lgua;<init>(Lffg;Lcom/mojang/authlib/minecraft/UserApiService;Lffu;)V
  • Method Details

    • createWorldSession

      public WorldSession createWorldSession(boolean newWorld, @Nullable @Nullable Duration worldLoadTime, @Nullable @Nullable String minigameName)
      Mappings:
      Namespace Name Mixin selector
      named createWorldSession Lnet/minecraft/client/session/telemetry/TelemetryManager;createWorldSession(ZLjava/time/Duration;Ljava/lang/String;)Lnet/minecraft/client/session/telemetry/WorldSession;
      intermediary method_47706 Lnet/minecraft/class_6628;method_47706(ZLjava/time/Duration;Ljava/lang/String;)Lnet/minecraft/class_7975;
      official a Lgua;a(ZLjava/time/Duration;Ljava/lang/String;)Lguj;
    • getSender

      public TelemetrySender getSender()
      Mappings:
      Namespace Name Mixin selector
      named getSender Lnet/minecraft/client/session/telemetry/TelemetryManager;getSender()Lnet/minecraft/client/session/telemetry/TelemetrySender;
      intermediary method_51796 Lnet/minecraft/class_6628;method_51796()Lnet/minecraft/class_7965;
      official a Lgua;a()Lgue;
    • computeSender

      private TelemetrySender computeSender()
      Mappings:
      Namespace Name Mixin selector
      named computeSender Lnet/minecraft/client/session/telemetry/TelemetryManager;computeSender()Lnet/minecraft/client/session/telemetry/TelemetrySender;
      intermediary method_47707 Lnet/minecraft/class_6628;method_47707()Lnet/minecraft/class_7965;
      official c Lgua;c()Lgue;
    • getLogManager

      public Path getLogManager()
      Mappings:
      Namespace Name Mixin selector
      named getLogManager Lnet/minecraft/client/session/telemetry/TelemetryManager;getLogManager()Ljava/nio/file/Path;
      intermediary method_47701 Lnet/minecraft/class_6628;method_47701()Ljava/nio/file/Path;
      official b Lgua;b()Ljava/nio/file/Path;
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable