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 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_262073_, Duration p_261589_)
-
Field Details
-
THREAD_COUNT
-
EXECUTOR
-
userApiService
private final com.mojang.authlib.minecraft.UserApiService userApiService -
deviceSessionProperties
-
logDirectory
-
logManager
-
-
Constructor Details
-
ClientTelemetryManager
-
-
Method Details
-
createWorldSessionManager
public WorldSessionTelemetryManager createWorldSessionManager(boolean p_262073_, @Nullable Duration p_261589_) -
createWorldSessionEventSender
-
getLogDirectory
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-