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 official aud$a
intermediary net/minecraft/class_5965$class_5966
named net/minecraft/util/profiler/Sampler$Builder
-
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 official a
Laud$a;a:Ljava/lang/String;
intermediary field_33885
Lnet/minecraft/class_5965$class_5966;field_33885:Ljava/lang/String;
named name
Lnet/minecraft/util/profiler/Sampler$Builder;name:Ljava/lang/String;
-
type
- Mappings:
Namespace Name Mixin selector official b
Laud$a;b:Lauc;
intermediary field_33886
Lnet/minecraft/class_5965$class_5966;field_33886:Lnet/minecraft/class_5949;
named type
Lnet/minecraft/util/profiler/Sampler$Builder;type:Lnet/minecraft/util/profiler/SampleType;
-
timeGetter
- Mappings:
Namespace Name Mixin selector official c
Laud$a;c:Ljava/util/function/DoubleSupplier;
intermediary field_29605
Lnet/minecraft/class_5965$class_5966;field_29605:Ljava/util/function/DoubleSupplier;
named timeGetter
Lnet/minecraft/util/profiler/Sampler$Builder;timeGetter:Ljava/util/function/DoubleSupplier;
-
context
- Mappings:
Namespace Name Mixin selector official d
Laud$a;d:Ljava/lang/Object;
intermediary field_29606
Lnet/minecraft/class_5965$class_5966;field_29606:Ljava/lang/Object;
named context
Lnet/minecraft/util/profiler/Sampler$Builder;context:Ljava/lang/Object;
-
startAction
- Mappings:
Namespace Name Mixin selector official e
Laud$a;e:Ljava/lang/Runnable;
intermediary field_29607
Lnet/minecraft/class_5965$class_5966;field_29607:Ljava/lang/Runnable;
named startAction
Lnet/minecraft/util/profiler/Sampler$Builder;startAction:Ljava/lang/Runnable;
-
deviationChecker
- Mappings:
Namespace Name Mixin selector official f
Laud$a;f:Laud$c;
intermediary field_29608
Lnet/minecraft/class_5965$class_5966;field_29608:Lnet/minecraft/class_5965$class_5967;
named deviationChecker
Lnet/minecraft/util/profiler/Sampler$Builder;deviationChecker:Lnet/minecraft/util/profiler/Sampler$DeviationChecker;
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector official <init>
Laud$a;<init>(Ljava/lang/String;Lauc;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
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
-
-
Method Details
-
startAction
- Mappings:
Namespace Name Mixin selector official a
Laud$a;a(Ljava/util/function/Consumer;)Laud$a;
intermediary method_34789
Lnet/minecraft/class_5965$class_5966;method_34789(Ljava/util/function/Consumer;)Lnet/minecraft/class_5965$class_5966;
named startAction
Lnet/minecraft/util/profiler/Sampler$Builder;startAction(Ljava/util/function/Consumer;)Lnet/minecraft/util/profiler/Sampler$Builder;
-
deviationChecker
- Mappings:
Namespace Name Mixin selector official a
Laud$a;a(Laud$c;)Laud$a;
intermediary method_34788
Lnet/minecraft/class_5965$class_5966;method_34788(Lnet/minecraft/class_5965$class_5967;)Lnet/minecraft/class_5965$class_5966;
named deviationChecker
Lnet/minecraft/util/profiler/Sampler$Builder;deviationChecker(Lnet/minecraft/util/profiler/Sampler$DeviationChecker;)Lnet/minecraft/util/profiler/Sampler$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official a
Laud$a;a()Laud;
intermediary method_34787
Lnet/minecraft/class_5965$class_5966;method_34787()Lnet/minecraft/class_5965;
named build
Lnet/minecraft/util/profiler/Sampler$Builder;build()Lnet/minecraft/util/profiler/Sampler;
-