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
official gee
intermediary net/minecraft/class_7976
named net/minecraft/client/session/telemetry/SampleEvent
  • Field Details

    • INTERVAL_IN_MILLIS

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

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

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

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

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

    • SampleEvent

      public SampleEvent()
  • Method Details

    • start

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

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

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

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

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

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

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

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