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 boq$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
Lboq$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
Lboq$a;b:Lbop;
-
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
Lboq$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
Lboq$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
Lboq$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
Lboq$a;f:Lboq$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>
Lboq$a;<init>(Ljava/lang/String;Lbop;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
Lboq$a;a(Ljava/util/function/Consumer;)Lboq$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
Lboq$a;a(Lboq$c;)Lboq$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
Lboq$a;a()Lboq;
-