Class Sampler.RatioDeviationChecker

java.lang.Object
net.minecraft.util.profiler.Sampler.RatioDeviationChecker
All Implemented Interfaces:
Sampler.DeviationChecker
Enclosing class:
Sampler

public static class Sampler.RatioDeviationChecker extends Object implements Sampler.DeviationChecker
Mappings:
Namespace Name
named net/minecraft/util/profiler/Sampler$RatioDeviationChecker
intermediary net/minecraft/class_5965$class_5968
official bom$d
  • Field Details

    • threshold

      private final float threshold
      Mappings:
      Namespace Name Mixin selector
      named threshold Lnet/minecraft/util/profiler/Sampler$RatioDeviationChecker;threshold:F
      intermediary field_29609 Lnet/minecraft/class_5965$class_5968;field_29609:F
      official a Lbom$d;a:F
    • lastValue

      private double lastValue
      Mappings:
      Namespace Name Mixin selector
      named lastValue Lnet/minecraft/util/profiler/Sampler$RatioDeviationChecker;lastValue:D
      intermediary field_29611 Lnet/minecraft/class_5965$class_5968;field_29611:D
      official b Lbom$d;b:D
  • Constructor Details

    • RatioDeviationChecker

      public RatioDeviationChecker(float threshold)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/profiler/Sampler$RatioDeviationChecker;<init>(F)V
      intermediary <init> Lnet/minecraft/class_5965$class_5968;<init>(F)V
      official <init> Lbom$d;<init>(F)V
  • Method Details

    • check

      public boolean check(double value)
      Specified by:
      check in interface Sampler.DeviationChecker
      Mappings:
      Namespace Name Mixin selector
      named check Lnet/minecraft/util/profiler/Sampler$DeviationChecker;check(D)Z
      intermediary method_34792 Lnet/minecraft/class_5965$class_5967;method_34792(D)Z
      official test Lbom$c;test(D)Z