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
official bbs$d
intermediary net/minecraft/class_5965$class_5968
named net/minecraft/util/profiler/Sampler$RatioDeviationChecker
  • Field Details

    • threshold

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

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

    • RatioDeviationChecker

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

    • check

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