Package net.minecraft.client.telemetry
Class ClientTelemetryManager
java.lang.Object
net.minecraft.client.telemetry.ClientTelemetryManager
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprivate final TelemetryPropertyMap
private static final Executor
private final Path
private final CompletableFuture<Optional<TelemetryLogManager>>
private final Minecraft
private final Supplier<TelemetryEventSender>
private static final AtomicInteger
private final com.mojang.authlib.minecraft.UserApiService
-
Constructor Summary
ConstructorDescriptionClientTelemetryManager
(Minecraft p_261610_, com.mojang.authlib.minecraft.UserApiService p_261552_, User p_262159_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private TelemetryEventSender
createWorldSessionManager
(boolean p_286373_, Duration p_286752_, String p_286568_)
-
Field Details
-
THREAD_COUNT
-
EXECUTOR
-
minecraft
-
userApiService
private final com.mojang.authlib.minecraft.UserApiService userApiService -
deviceSessionProperties
-
logDirectory
-
logManager
-
outsideSessionSender
-
-
Constructor Details
-
ClientTelemetryManager
-
-
Method Details
-
createWorldSessionManager
public WorldSessionTelemetryManager createWorldSessionManager(boolean p_286373_, @Nullable Duration p_286752_, @Nullable String p_286568_) -
getOutsideSessionSender
-
createEventSender
-
getLogDirectory
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-