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_286529_, boolean p_286429_, Duration p_286727_, String p_286633_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onAdvancementDone
(Level p_286825_, AdvancementHolder p_298119_) void
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_286529_, boolean p_286429_, @Nullable Duration p_286727_, @Nullable String p_286633_)
-
-
Method Details
-
tick
public void tick() -
onPlayerInfoReceived
-
onServerBrandReceived
-
setTime
public void setTime(long p_261878_) -
worldSessionStart
public void worldSessionStart() -
onDisconnect
public void onDisconnect() -
onAdvancementDone
-