Class SampleEvent
java.lang.Object
net.minecraft.client.util.telemetry.SampleEvent
- Direct Known Subclasses:
PerformanceMetricsEvent
- Mappings:
Namespace Name official fzq
intermediary net/minecraft/class_7976
named net/minecraft/client/util/telemetry/SampleEvent
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private boolean
private static final int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected int
abstract void
sample()
abstract void
send
(TelemetrySender sender) boolean
boolean
void
start()
void
tick
(TelemetrySender sender)
-
Field Details
-
INTERVAL_IN_MILLIS
private static final int INTERVAL_IN_MILLIS- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfzq;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
Lfzq;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
Lfzq;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
Lfzq;d:Z
intermediary field_41508
Lnet/minecraft/class_7976;field_41508:Z
named enabled
Lnet/minecraft/client/util/telemetry/SampleEvent;enabled:Z
-
lastSampleTime
- Mappings:
Namespace Name Mixin selector official e
Lfzq;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
Lfzq;a()V
intermediary method_47777
Lnet/minecraft/class_7976;method_47777()V
named start
Lnet/minecraft/client/util/telemetry/SampleEvent;start()V
-
tick
- Mappings:
Namespace Name Mixin selector official a
Lfzq;a(Lfzk;)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
Lfzq;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
Lfzq;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
Lfzq;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
Lfzq;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
Lfzq;f()V
intermediary method_47783
Lnet/minecraft/class_7976;method_47783()V
named sample
Lnet/minecraft/client/util/telemetry/SampleEvent;sample()V
-
send
- Mappings:
Namespace Name Mixin selector official b
Lfzq;b(Lfzk;)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
-