Class SampleEvent
java.lang.Object
net.minecraft.client.util.telemetry.SampleEvent
- All Implemented Interfaces:
TelemetryEvent
- Direct Known Subclasses:
PerformanceMetricsEvent
- Mappings:
Namespace Name official ftgintermediary net/minecraft/class_7976named net/minecraft/client/util/telemetry/SampleEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate booleanprivate static final intprivate int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.util.telemetry.TelemetryEvent
send
-
Field Details
-
INTERVAL_IN_MILLIS
private static final int INTERVAL_IN_MILLIS- See Also:
- Mappings:
Namespace Name Mixin selector official aLftg;a:Iintermediary field_41505Lnet/minecraft/class_7976;field_41505:Inamed INTERVAL_IN_MILLISLnet/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 bLftg;b:Iintermediary field_41506Lnet/minecraft/class_7976;field_41506:Inamed BATCH_SIZELnet/minecraft/client/util/telemetry/SampleEvent;BATCH_SIZE:I
-
sampleCount
private int sampleCount- Mappings:
Namespace Name Mixin selector official cLftg;c:Iintermediary field_41507Lnet/minecraft/class_7976;field_41507:Inamed sampleCountLnet/minecraft/client/util/telemetry/SampleEvent;sampleCount:I
-
enabled
private boolean enabled- Mappings:
Namespace Name Mixin selector official dLftg;d:Zintermediary field_41508Lnet/minecraft/class_7976;field_41508:Znamed enabledLnet/minecraft/client/util/telemetry/SampleEvent;enabled:Z
-
lastSampleTime
- Mappings:
Namespace Name Mixin selector official eLftg;e:Ljava/time/Instant;intermediary field_41509Lnet/minecraft/class_7976;field_41509:Ljava/time/Instant;named lastSampleTimeLnet/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 aLftg;a()Vintermediary method_47777Lnet/minecraft/class_7976;method_47777()Vnamed startLnet/minecraft/client/util/telemetry/SampleEvent;start()V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official bLftg;b()Vintermediary method_47778Lnet/minecraft/class_7976;method_47778()Vnamed tickLnet/minecraft/client/util/telemetry/SampleEvent;tick()V
-
shouldSample
public boolean shouldSample()- Mappings:
Namespace Name Mixin selector official cLftg;c()Zintermediary method_47779Lnet/minecraft/class_7976;method_47779()Znamed shouldSampleLnet/minecraft/client/util/telemetry/SampleEvent;shouldSample()Z
-
shouldSend
public boolean shouldSend()- Mappings:
Namespace Name Mixin selector official dLftg;d()Zintermediary method_47780Lnet/minecraft/class_7976;method_47780()Znamed shouldSendLnet/minecraft/client/util/telemetry/SampleEvent;shouldSend()Z
-
disableSampling
public void disableSampling()- Mappings:
Namespace Name Mixin selector official eLftg;e()Vintermediary method_47781Lnet/minecraft/class_7976;method_47781()Vnamed disableSamplingLnet/minecraft/client/util/telemetry/SampleEvent;disableSampling()V
-
getSampleCount
protected int getSampleCount()- Mappings:
Namespace Name Mixin selector official fLftg;f()Iintermediary method_47782Lnet/minecraft/class_7976;method_47782()Inamed getSampleCountLnet/minecraft/client/util/telemetry/SampleEvent;getSampleCount()I
-
sample
public abstract void sample()- Mappings:
Namespace Name Mixin selector official gLftg;g()Vintermediary method_47783Lnet/minecraft/class_7976;method_47783()Vnamed sampleLnet/minecraft/client/util/telemetry/SampleEvent;sample()V
-
send
public abstract void send()- Mappings:
Namespace Name Mixin selector official hLftg;h()Vintermediary method_47784Lnet/minecraft/class_7976;method_47784()Vnamed sendLnet/minecraft/client/util/telemetry/SampleEvent;send()V
-