net.minecraft.util.profiling.metrics

public class MetricSampler$MetricSamplerBuilder<T>

brc$a
net.minecraft.util.profiling.metrics.MetricSampler$MetricSamplerBuilder
net.minecraft.class_5965$class_5966
net.minecraft.util.profiler.Sampler$Builder
net.minecraft.util.profiling.metrics.MetricSampler$a

Field summary

Modifier and TypeField
private final String
a
name
field_33885
name
private final MetricCategory
b
category
field_33886
type
private final DoubleSupplier
c
sampler
field_29605
timeGetter
private final T
d
context
field_29606
context
private Runnable
e
beforeTick
field_29607
startAction
private MetricSampler$ThresholdTest
f
thresholdTest
field_29608
deviationChecker

Constructor summary

ModifierConstructor
public (String name, MetricCategory type, ToDoubleFunction<T> timeFunction, T context)

Method summary

Modifier and TypeMethod
public MetricSampler$MetricSamplerBuilder<T>
a(Consumer<T> arg0)
withBeforeTick(Consumer<T> arg0)
method_34789(Consumer<T> arg0)
startAction(Consumer<T> action)
public MetricSampler$MetricSamplerBuilder<T>
a(brc$c arg0)
withThresholdAlert(MetricSampler$ThresholdTest arg0)
method_34788(class_5965$class_5967 arg0)
deviationChecker(Sampler$DeviationChecker deviationChecker)
public MetricSampler
a()
build()
method_34787()
build()