Class AggregatedTelemetryEvent

java.lang.Object
net.minecraft.client.telemetry.events.AggregatedTelemetryEvent
Direct Known Subclasses:
PerformanceMetricsEvent

public abstract class AggregatedTelemetryEvent extends Object
  • Field Details

    • SAMPLE_INTERVAL_MS

      private static final int SAMPLE_INTERVAL_MS
      See Also:
    • SAMPLES_PER_EVENT

      private static final int SAMPLES_PER_EVENT
      See Also:
    • sampleCount

      private int sampleCount
    • ticking

      private boolean ticking
    • lastSampleTime

      @Nullable private Instant lastSampleTime
  • Constructor Details

    • AggregatedTelemetryEvent

      public AggregatedTelemetryEvent()
  • Method Details

    • start

      public void start()
    • tick

      public void tick(TelemetryEventSender p_263410_)
    • shouldTakeSample

      public boolean shouldTakeSample()
    • shouldSentEvent

      public boolean shouldSentEvent()
    • stop

      public void stop()
    • getSampleCount

      protected int getSampleCount()
    • takeSample

      public abstract void takeSample()
    • sendEvent

      public abstract void sendEvent(TelemetryEventSender p_263328_)