Package net.minecraft.client.telemetry
Class WorldSessionTelemetryManager
java.lang.Object
net.minecraft.client.telemetry.WorldSessionTelemetryManager
-
Field Summary
Modifier and TypeFieldDescriptionprivate final TelemetryEventSender
private final PerformanceMetricsEvent
private final WorldLoadEvent
private final WorldLoadTimesEvent
private final UUID
private final WorldUnloadEvent
-
Constructor Summary
ConstructorDescriptionWorldSessionTelemetryManager
(TelemetryEventSender p_261695_, boolean p_261623_, Duration p_261937_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
onPlayerInfoReceived
(GameType p_261768_, boolean p_261669_) void
onServerBrandReceived
(String p_261520_) void
setTime
(long p_261878_) void
tick()
void
-
Field Details
-
worldSessionId
-
eventSender
-
worldLoadEvent
-
worldUnloadEvent
-
performanceMetricsEvent
-
worldLoadTimesEvent
-
-
Constructor Details
-
WorldSessionTelemetryManager
public WorldSessionTelemetryManager(TelemetryEventSender p_261695_, boolean p_261623_, @Nullable Duration p_261937_)
-
-
Method Details
-
tick
public void tick() -
onPlayerInfoReceived
-
onServerBrandReceived
-
setTime
public void setTime(long p_261878_) -
worldSessionStart
public void worldSessionStart() -
onDisconnect
public void onDisconnect()
-