Package net.minecraft.util.profiler
Class TickTimeTracker
java.lang.Object
net.minecraft.util.profiler.TickTimeTracker
public class TickTimeTracker extends Object
- Mappings:
Namespace Name official aom
intermediary net/minecraft/class_4757
named net/minecraft/util/profiler/TickTimeTracker
-
Field Summary
Fields Modifier and Type Field Description private ReadableProfiler
profiler
private IntSupplier
tickGetter
private LongSupplier
timeGetter
-
Constructor Summary
Constructors Constructor Description TickTimeTracker(LongSupplier timeGetter, IntSupplier tickGetter)
-
Method Summary
Modifier and Type Method Description void
disable()
void
enable()
Profiler
getProfiler()
ProfileResult
getResult()
boolean
isActive()
-
Field Details
-
timeGetter
- Mappings:
Namespace Name Mixin selector official a
Laom;a:Ljava/util/function/LongSupplier;
intermediary field_21962
Lnet/minecraft/class_4757;field_21962:Ljava/util/function/LongSupplier;
named timeGetter
Lnet/minecraft/util/profiler/TickTimeTracker;timeGetter:Ljava/util/function/LongSupplier;
-
tickGetter
- Mappings:
Namespace Name Mixin selector official b
Laom;b:Ljava/util/function/IntSupplier;
intermediary field_21963
Lnet/minecraft/class_4757;field_21963:Ljava/util/function/IntSupplier;
named tickGetter
Lnet/minecraft/util/profiler/TickTimeTracker;tickGetter:Ljava/util/function/IntSupplier;
-
profiler
- Mappings:
Namespace Name Mixin selector official c
Laom;c:Laoq;
intermediary field_21964
Lnet/minecraft/class_4757;field_21964:Lnet/minecraft/class_3693;
named profiler
Lnet/minecraft/util/profiler/TickTimeTracker;profiler:Lnet/minecraft/util/profiler/ReadableProfiler;
-
-
Constructor Details
-
TickTimeTracker
- Mappings:
Namespace Name Mixin selector official <init>
Laom;<init>(Ljava/util/function/LongSupplier;Ljava/util/function/IntSupplier;)V
intermediary <init>
Lnet/minecraft/class_4757;<init>(Ljava/util/function/LongSupplier;Ljava/util/function/IntSupplier;)V
named <init>
Lnet/minecraft/util/profiler/TickTimeTracker;<init>(Ljava/util/function/LongSupplier;Ljava/util/function/IntSupplier;)V
-
-
Method Details
-
isActive
public boolean isActive()- Mappings:
Namespace Name Mixin selector official a
Laom;a()Z
intermediary method_24333
Lnet/minecraft/class_4757;method_24333()Z
named isActive
Lnet/minecraft/util/profiler/TickTimeTracker;isActive()Z
-
disable
public void disable()- Mappings:
Namespace Name Mixin selector official b
Laom;b()V
intermediary method_24334
Lnet/minecraft/class_4757;method_24334()V
named disable
Lnet/minecraft/util/profiler/TickTimeTracker;disable()V
-
enable
public void enable()- Mappings:
Namespace Name Mixin selector official c
Laom;c()V
intermediary method_24335
Lnet/minecraft/class_4757;method_24335()V
named enable
Lnet/minecraft/util/profiler/TickTimeTracker;enable()V
-
getProfiler
- Mappings:
Namespace Name Mixin selector official d
Laom;d()Laos;
intermediary method_24336
Lnet/minecraft/class_4757;method_24336()Lnet/minecraft/class_3695;
named getProfiler
Lnet/minecraft/util/profiler/TickTimeTracker;getProfiler()Lnet/minecraft/util/profiler/Profiler;
-
getResult
- Mappings:
Namespace Name Mixin selector official e
Laom;e()Laor;
intermediary method_24337
Lnet/minecraft/class_4757;method_24337()Lnet/minecraft/class_3696;
named getResult
Lnet/minecraft/util/profiler/TickTimeTracker;getResult()Lnet/minecraft/util/profiler/ProfileResult;
-