Package net.minecraft.util.profiler
Class Sampler.Builder<T>
java.lang.Object
net.minecraft.util.profiler.Sampler.Builder<T>
- Enclosing class:
Sampler
- Mappings:
Namespace Name named net/minecraft/util/profiler/Sampler$Builder
intermediary net/minecraft/class_5965$class_5966
official brb$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final T
private @Nullable Sampler.DeviationChecker
private final String
private final DoubleSupplier
private final SampleType
-
Constructor Summary
ConstructorDescriptionBuilder
(String name, SampleType type, ToDoubleFunction<T> timeFunction, T context) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
deviationChecker
(Sampler.DeviationChecker deviationChecker) startAction
(Consumer<T> action)
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/util/profiler/Sampler$Builder;name:Ljava/lang/String;
intermediary field_33885
Lnet/minecraft/class_5965$class_5966;field_33885:Ljava/lang/String;
official a
Lbrb$a;a:Ljava/lang/String;
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/util/profiler/Sampler$Builder;type:Lnet/minecraft/util/profiler/SampleType;
intermediary field_33886
Lnet/minecraft/class_5965$class_5966;field_33886:Lnet/minecraft/class_5949;
official b
Lbrb$a;b:Lbra;
-
timeGetter
- Mappings:
Namespace Name Mixin selector named timeGetter
Lnet/minecraft/util/profiler/Sampler$Builder;timeGetter:Ljava/util/function/DoubleSupplier;
intermediary field_29605
Lnet/minecraft/class_5965$class_5966;field_29605:Ljava/util/function/DoubleSupplier;
official c
Lbrb$a;c:Ljava/util/function/DoubleSupplier;
-
context
- Mappings:
Namespace Name Mixin selector named context
Lnet/minecraft/util/profiler/Sampler$Builder;context:Ljava/lang/Object;
intermediary field_29606
Lnet/minecraft/class_5965$class_5966;field_29606:Ljava/lang/Object;
official d
Lbrb$a;d:Ljava/lang/Object;
-
startAction
- Mappings:
Namespace Name Mixin selector named startAction
Lnet/minecraft/util/profiler/Sampler$Builder;startAction:Ljava/lang/Runnable;
intermediary field_29607
Lnet/minecraft/class_5965$class_5966;field_29607:Ljava/lang/Runnable;
official e
Lbrb$a;e:Ljava/lang/Runnable;
-
deviationChecker
- Mappings:
Namespace Name Mixin selector named deviationChecker
Lnet/minecraft/util/profiler/Sampler$Builder;deviationChecker:Lnet/minecraft/util/profiler/Sampler$DeviationChecker;
intermediary field_29608
Lnet/minecraft/class_5965$class_5966;field_29608:Lnet/minecraft/class_5965$class_5967;
official f
Lbrb$a;f:Lbrb$c;
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/profiler/Sampler$Builder;<init>(Ljava/lang/String;Lnet/minecraft/util/profiler/SampleType;Ljava/util/function/ToDoubleFunction;Ljava/lang/Object;)V
intermediary <init>
Lnet/minecraft/class_5965$class_5966;<init>(Ljava/lang/String;Lnet/minecraft/class_5949;Ljava/util/function/ToDoubleFunction;Ljava/lang/Object;)V
official <init>
Lbrb$a;<init>(Ljava/lang/String;Lbra;Ljava/util/function/ToDoubleFunction;Ljava/lang/Object;)V
-
-
Method Details
-
startAction
- Mappings:
Namespace Name Mixin selector named startAction
Lnet/minecraft/util/profiler/Sampler$Builder;startAction(Ljava/util/function/Consumer;)Lnet/minecraft/util/profiler/Sampler$Builder;
intermediary method_34789
Lnet/minecraft/class_5965$class_5966;method_34789(Ljava/util/function/Consumer;)Lnet/minecraft/class_5965$class_5966;
official a
Lbrb$a;a(Ljava/util/function/Consumer;)Lbrb$a;
-
deviationChecker
- Mappings:
Namespace Name Mixin selector named deviationChecker
Lnet/minecraft/util/profiler/Sampler$Builder;deviationChecker(Lnet/minecraft/util/profiler/Sampler$DeviationChecker;)Lnet/minecraft/util/profiler/Sampler$Builder;
intermediary method_34788
Lnet/minecraft/class_5965$class_5966;method_34788(Lnet/minecraft/class_5965$class_5967;)Lnet/minecraft/class_5965$class_5966;
official a
Lbrb$a;a(Lbrb$c;)Lbrb$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/util/profiler/Sampler$Builder;build()Lnet/minecraft/util/profiler/Sampler;
intermediary method_34787
Lnet/minecraft/class_5965$class_5966;method_34787()Lnet/minecraft/class_5965;
official a
Lbrb$a;a()Lbrb;
-