Class MetricSampler.ValueIncreasedByPercentage
java.lang.Object
net.minecraft.util.profiling.metrics.MetricSampler.ValueIncreasedByPercentage
- All Implemented Interfaces:
MetricSampler.ThresholdTest
- Enclosing class:
- MetricSampler
public static class MetricSampler.ValueIncreasedByPercentage
extends Object
implements MetricSampler.ThresholdTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float
private double
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
percentageIncreaseThreshold
private final float percentageIncreaseThreshold -
previousValue
private double previousValue
-
-
Constructor Details
-
ValueIncreasedByPercentage
public ValueIncreasedByPercentage(float p_146064_)
-
-
Method Details
-
test
public boolean test(double p_146066_) - Specified by:
test
in interfaceMetricSampler.ThresholdTest
-