Class SampleEvent
java.lang.Object
net.minecraft.client.session.telemetry.SampleEvent
- Direct Known Subclasses:
PerformanceMetricsEvent
- Mappings:
Namespace Name named net/minecraft/client/session/telemetry/SampleEvent
intermediary net/minecraft/class_7976
official gul
-
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 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
Lgul;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
Lgul;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
Lgul;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
Lgul;d:Z
-
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
Lgul;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
Lgul;a()V
-
tick
- 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
Lgul;a(Lguf;)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
Lgul;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
Lgul;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
Lgul;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
Lgul;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
Lgul;f()V
-
send
- 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
Lgul;b(Lguf;)V
-