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 boc$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 Lboc$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 Lboc$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> Lboc$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 Lboc$c;test(D)Z