net.minecraft.client.session.telemetry

public abstract class SampleEvent

net.minecraft.client.telemetry.events.AggregatedTelemetryEvent
net.minecraft.class_7976
net.minecraft.client.session.telemetry.SampleEvent

Field summary

Modifier and TypeField
private static final int
SAMPLE_INTERVAL_MS
field_41505
INTERVAL_IN_MILLIS
private static final int
SAMPLES_PER_EVENT
field_41506
BATCH_SIZE
private int
sampleCount
field_41507
sampleCount
private boolean
ticking
field_41508
enabled
private Instant
lastSampleTime
field_41509
lastSampleTime

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
start()
method_47777()
start()
public void
tick(TelemetryEventSender eventSender)
method_47778(class_7965 arg0)
tick(TelemetrySender sender)
public boolean
shouldTakeSample()
method_47779()
shouldSample()
public boolean
shouldSentEvent()
method_47780()
shouldSend()
public void
stop()
method_47781()
disableSampling()
protected int
getSampleCount()
method_47782()
getSampleCount()
public abstract void
takeSample()
method_47783()
sample()
public abstract void
sendEvent(TelemetryEventSender eventSender)
method_47784(class_7965 arg0)
send(TelemetrySender sender)