Class SampleEvent

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

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

    • INTERVAL_IN_MILLIS

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

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

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

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

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

    • SampleEvent

      public SampleEvent()
  • Method Details

    • start

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

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

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

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

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

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

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

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