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 aye$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 Laye$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 Laye$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> Laye$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 Laye$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