Class GameLoadTimesEvent
java.lang.Object
net.minecraft.client.telemetry.events.GameLoadTimesEvent
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OptionalLongstatic final GameLoadTimesEventprivate static final org.slf4j.Loggerprivate final Map<TelemetryProperty<GameLoadTimesEvent.Measurement>, Stopwatch> private final Ticker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginStep(TelemetryProperty<GameLoadTimesEvent.Measurement> pMeasurement) voidbeginStep(TelemetryProperty<GameLoadTimesEvent.Measurement> pMeasurement, Stopwatch pStopwatch) private voidbeginStep(TelemetryProperty<GameLoadTimesEvent.Measurement> pMeasurement, Function<TelemetryProperty<GameLoadTimesEvent.Measurement>, Stopwatch> pStopwatchGetter) voidendStep(TelemetryProperty<GameLoadTimesEvent.Measurement> pMeasurement) voidsend(TelemetryEventSender pSender) voidsetBootstrapTime(long pBootstrapTime)
-
Field Details
-
INSTANCE
-
LOGGER
private static final org.slf4j.Logger LOGGER -
timeSource
-
measurements
-
bootstrapTime
-
-
Constructor Details
-
GameLoadTimesEvent
-
-
Method Details
-
beginStep
-
beginStep
public void beginStep(TelemetryProperty<GameLoadTimesEvent.Measurement> pMeasurement, Stopwatch pStopwatch) -
beginStep
private void beginStep(TelemetryProperty<GameLoadTimesEvent.Measurement> pMeasurement, Function<TelemetryProperty<GameLoadTimesEvent.Measurement>, Stopwatch> pStopwatchGetter) -
endStep
-
send
-
setBootstrapTime
public void setBootstrapTime(long pBootstrapTime)
-