net.minecraft.util.profiling.metrics

public class MetricSampler$MetricSamplerBuilder<T>

aqa$a
net.minecraft.util.profiling.metrics.MetricSampler$MetricSamplerBuilder
net.minecraft.class_5965$class_5966
net.minecraft.util.profiler.Sampler$Builder
net.minecraft.src.C_141012_$C_141013_
net.minecraft.util.profiling.metrics.MetricSampler$a

Field summary

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

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)
m_146042_(Consumer<T> arg0)
public MetricSampler$MetricSamplerBuilder<T>
a(aqa$c arg0)
withThresholdAlert(MetricSampler$ThresholdTest arg0)
method_34788(class_5965$class_5967 arg0)
deviationChecker(Sampler$DeviationChecker deviationChecker)
m_146040_(C_141012_$C_141015_ arg0)
public MetricSampler
a()
build()
method_34787()
build()
m_146039_()