Class TelemetryManager
java.lang.Object
net.minecraft.client.util.telemetry.TelemetryManager
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name official fxn
intermediary net/minecraft/class_6628
named net/minecraft/client/util/telemetry/TelemetryManager
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Executor
private final Path
private final CompletableFuture<Optional<TelemetryLogManager>>
private static final AtomicInteger
private final PropertyMap
private final com.mojang.authlib.minecraft.UserApiService
-
Constructor Summary
ConstructorDescriptionTelemetryManager
(MinecraftClient client, com.mojang.authlib.minecraft.UserApiService userApiService, Session session) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
createWorldSession
(boolean newWorld, @Nullable Duration worldLoadTime) private TelemetrySender
-
Field Details
-
NEXT_WORKER_ID
- Mappings:
Namespace Name Mixin selector official a
Lfxn;a:Ljava/util/concurrent/atomic/AtomicInteger;
intermediary field_34948
Lnet/minecraft/class_6628;field_34948:Ljava/util/concurrent/atomic/AtomicInteger;
named NEXT_WORKER_ID
Lnet/minecraft/client/util/telemetry/TelemetryManager;NEXT_WORKER_ID:Ljava/util/concurrent/atomic/AtomicInteger;
-
EXECUTOR
- Mappings:
Namespace Name Mixin selector official b
Lfxn;b:Ljava/util/concurrent/Executor;
intermediary field_34949
Lnet/minecraft/class_6628;field_34949:Ljava/util/concurrent/Executor;
named EXECUTOR
Lnet/minecraft/client/util/telemetry/TelemetryManager;EXECUTOR:Ljava/util/concurrent/Executor;
-
userApiService
private final com.mojang.authlib.minecraft.UserApiService userApiService- Mappings:
Namespace Name Mixin selector official c
Lfxn;c:Lcom/mojang/authlib/minecraft/UserApiService;
intermediary field_41426
Lnet/minecraft/class_6628;field_41426:Lcom/mojang/authlib/minecraft/UserApiService;
named userApiService
Lnet/minecraft/client/util/telemetry/TelemetryManager;userApiService:Lcom/mojang/authlib/minecraft/UserApiService;
-
propertyMap
- Mappings:
Namespace Name Mixin selector official d
Lfxn;d:Lfxv;
intermediary field_41427
Lnet/minecraft/class_6628;field_41427:Lnet/minecraft/class_7973;
named propertyMap
Lnet/minecraft/client/util/telemetry/TelemetryManager;propertyMap:Lnet/minecraft/client/util/telemetry/PropertyMap;
-
logDirectory
- Mappings:
Namespace Name Mixin selector official e
Lfxn;e:Ljava/nio/file/Path;
intermediary field_41428
Lnet/minecraft/class_6628;field_41428:Ljava/nio/file/Path;
named logDirectory
Lnet/minecraft/client/util/telemetry/TelemetryManager;logDirectory:Ljava/nio/file/Path;
-
logManager
- Mappings:
Namespace Name Mixin selector official f
Lfxn;f:Ljava/util/concurrent/CompletableFuture;
intermediary field_41429
Lnet/minecraft/class_6628;field_41429:Ljava/util/concurrent/CompletableFuture;
named logManager
Lnet/minecraft/client/util/telemetry/TelemetryManager;logManager:Ljava/util/concurrent/CompletableFuture;
-
-
Constructor Details
-
TelemetryManager
public TelemetryManager(MinecraftClient client, com.mojang.authlib.minecraft.UserApiService userApiService, Session session) - Mappings:
Namespace Name Mixin selector official <init>
Lfxn;<init>(Lemh;Lcom/mojang/authlib/minecraft/UserApiService;Lemw;)V
intermediary <init>
Lnet/minecraft/class_6628;<init>(Lnet/minecraft/class_310;Lcom/mojang/authlib/minecraft/UserApiService;Lnet/minecraft/class_320;)V
named <init>
Lnet/minecraft/client/util/telemetry/TelemetryManager;<init>(Lnet/minecraft/client/MinecraftClient;Lcom/mojang/authlib/minecraft/UserApiService;Lnet/minecraft/client/util/Session;)V
-
-
Method Details
-
createWorldSession
public WorldSession createWorldSession(boolean newWorld, @Nullable @Nullable Duration worldLoadTime) - Mappings:
Namespace Name Mixin selector official a
Lfxn;a(ZLjava/time/Duration;)Lfxw;
intermediary method_47706
Lnet/minecraft/class_6628;method_47706(ZLjava/time/Duration;)Lnet/minecraft/class_7975;
named createWorldSession
Lnet/minecraft/client/util/telemetry/TelemetryManager;createWorldSession(ZLjava/time/Duration;)Lnet/minecraft/client/util/telemetry/WorldSession;
-
getSender
- Mappings:
Namespace Name Mixin selector official b
Lfxn;b()Lfxr;
intermediary method_47707
Lnet/minecraft/class_6628;method_47707()Lnet/minecraft/class_7965;
named getSender
Lnet/minecraft/client/util/telemetry/TelemetryManager;getSender()Lnet/minecraft/client/util/telemetry/TelemetrySender;
-
getLogManager
- Mappings:
Namespace Name Mixin selector official a
Lfxn;a()Ljava/nio/file/Path;
intermediary method_47701
Lnet/minecraft/class_6628;method_47701()Ljava/nio/file/Path;
named getLogManager
Lnet/minecraft/client/util/telemetry/TelemetryManager;getLogManager()Ljava/nio/file/Path;
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-