Class SampleEvent

java.lang.Object
net.minecraft.client.util.telemetry.SampleEvent
Direct Known Subclasses:
PerformanceMetricsEvent

@Environment(CLIENT) public abstract class SampleEvent extends Object
Mappings:
Namespace Name
official fyz
intermediary net/minecraft/class_7976
named net/minecraft/client/util/telemetry/SampleEvent
  • Field Details

    • INTERVAL_IN_MILLIS

      private static final int INTERVAL_IN_MILLIS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfyz;a:I
      intermediary field_41505 Lnet/minecraft/class_7976;field_41505:I
      named INTERVAL_IN_MILLIS Lnet/minecraft/client/util/telemetry/SampleEvent;INTERVAL_IN_MILLIS:I
    • BATCH_SIZE

      private static final int BATCH_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lfyz;b:I
      intermediary field_41506 Lnet/minecraft/class_7976;field_41506:I
      named BATCH_SIZE Lnet/minecraft/client/util/telemetry/SampleEvent;BATCH_SIZE:I
    • sampleCount

      private int sampleCount
      Mappings:
      Namespace Name Mixin selector
      official c Lfyz;c:I
      intermediary field_41507 Lnet/minecraft/class_7976;field_41507:I
      named sampleCount Lnet/minecraft/client/util/telemetry/SampleEvent;sampleCount:I
    • enabled

      private boolean enabled
      Mappings:
      Namespace Name Mixin selector
      official d Lfyz;d:Z
      intermediary field_41508 Lnet/minecraft/class_7976;field_41508:Z
      named enabled Lnet/minecraft/client/util/telemetry/SampleEvent;enabled:Z
    • lastSampleTime

      @Nullable private @Nullable Instant lastSampleTime
      Mappings:
      Namespace Name Mixin selector
      official e Lfyz;e:Ljava/time/Instant;
      intermediary field_41509 Lnet/minecraft/class_7976;field_41509:Ljava/time/Instant;
      named lastSampleTime Lnet/minecraft/client/util/telemetry/SampleEvent;lastSampleTime:Ljava/time/Instant;
  • Constructor Details

    • SampleEvent

      public SampleEvent()
  • Method Details

    • start

      public void start()
      Mappings:
      Namespace Name Mixin selector
      official a Lfyz;a()V
      intermediary method_47777 Lnet/minecraft/class_7976;method_47777()V
      named start Lnet/minecraft/client/util/telemetry/SampleEvent;start()V
    • tick

      public void tick(TelemetrySender sender)
      Mappings:
      Namespace Name Mixin selector
      official a Lfyz;a(Lfyt;)V
      intermediary method_47778 Lnet/minecraft/class_7976;method_47778(Lnet/minecraft/class_7965;)V
      named tick Lnet/minecraft/client/util/telemetry/SampleEvent;tick(Lnet/minecraft/client/util/telemetry/TelemetrySender;)V
    • shouldSample

      public boolean shouldSample()
      Mappings:
      Namespace Name Mixin selector
      official b Lfyz;b()Z
      intermediary method_47779 Lnet/minecraft/class_7976;method_47779()Z
      named shouldSample Lnet/minecraft/client/util/telemetry/SampleEvent;shouldSample()Z
    • shouldSend

      public boolean shouldSend()
      Mappings:
      Namespace Name Mixin selector
      official c Lfyz;c()Z
      intermediary method_47780 Lnet/minecraft/class_7976;method_47780()Z
      named shouldSend Lnet/minecraft/client/util/telemetry/SampleEvent;shouldSend()Z
    • disableSampling

      public void disableSampling()
      Mappings:
      Namespace Name Mixin selector
      official d Lfyz;d()V
      intermediary method_47781 Lnet/minecraft/class_7976;method_47781()V
      named disableSampling Lnet/minecraft/client/util/telemetry/SampleEvent;disableSampling()V
    • getSampleCount

      protected int getSampleCount()
      Mappings:
      Namespace Name Mixin selector
      official e Lfyz;e()I
      intermediary method_47782 Lnet/minecraft/class_7976;method_47782()I
      named getSampleCount Lnet/minecraft/client/util/telemetry/SampleEvent;getSampleCount()I
    • sample

      public abstract void sample()
      Mappings:
      Namespace Name Mixin selector
      official f Lfyz;f()V
      intermediary method_47783 Lnet/minecraft/class_7976;method_47783()V
      named sample Lnet/minecraft/client/util/telemetry/SampleEvent;sample()V
    • send

      public abstract void send(TelemetrySender sender)
      Mappings:
      Namespace Name Mixin selector
      official b Lfyz;b(Lfyt;)V
      intermediary method_47784 Lnet/minecraft/class_7976;method_47784(Lnet/minecraft/class_7965;)V
      named send Lnet/minecraft/client/util/telemetry/SampleEvent;send(Lnet/minecraft/client/util/telemetry/TelemetrySender;)V