Package net.minecraft.util
Class TickDurationMonitor
java.lang.Object
net.minecraft.util.TickDurationMonitor
- Mappings:
Namespace Name named net/minecraft/util/TickDurationMonitor
intermediary net/minecraft/class_4758
official bmy
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Logger
private final long
private ReadableProfiler
private int
private final File
private final LongSupplier
-
Constructor Summary
ConstructorDescriptionTickDurationMonitor
(LongSupplier timeGetter, String filename, long overtime) -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TickDurationMonitor
void
endTick()
static Profiler
tickProfiler
(Profiler profiler, @Nullable TickDurationMonitor monitor)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/util/TickDurationMonitor;LOGGER:Lorg/slf4j/Logger;
intermediary field_21967
Lnet/minecraft/class_4758;field_21967:Lorg/slf4j/Logger;
official a
Lbmy;a:Lorg/slf4j/Logger;
-
timeGetter
- Mappings:
Namespace Name Mixin selector named timeGetter
Lnet/minecraft/util/TickDurationMonitor;timeGetter:Ljava/util/function/LongSupplier;
intermediary field_21968
Lnet/minecraft/class_4758;field_21968:Ljava/util/function/LongSupplier;
official b
Lbmy;b:Ljava/util/function/LongSupplier;
-
overtime
private final long overtime- Mappings:
Namespace Name Mixin selector named overtime
Lnet/minecraft/util/TickDurationMonitor;overtime:J
intermediary field_21969
Lnet/minecraft/class_4758;field_21969:J
official c
Lbmy;c:J
-
tickCount
private int tickCount- Mappings:
Namespace Name Mixin selector named tickCount
Lnet/minecraft/util/TickDurationMonitor;tickCount:I
intermediary field_21970
Lnet/minecraft/class_4758;field_21970:I
official d
Lbmy;d:I
-
tickResultsDirectory
- Mappings:
Namespace Name Mixin selector named tickResultsDirectory
Lnet/minecraft/util/TickDurationMonitor;tickResultsDirectory:Ljava/io/File;
intermediary field_21971
Lnet/minecraft/class_4758;field_21971:Ljava/io/File;
official e
Lbmy;e:Ljava/io/File;
-
profiler
- Mappings:
Namespace Name Mixin selector named profiler
Lnet/minecraft/util/TickDurationMonitor;profiler:Lnet/minecraft/util/profiler/ReadableProfiler;
intermediary field_21972
Lnet/minecraft/class_4758;field_21972:Lnet/minecraft/class_3693;
official f
Lbmy;f:Lbmt;
-
-
Constructor Details
-
TickDurationMonitor
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/TickDurationMonitor;<init>(Ljava/util/function/LongSupplier;Ljava/lang/String;J)V
intermediary <init>
Lnet/minecraft/class_4758;<init>(Ljava/util/function/LongSupplier;Ljava/lang/String;J)V
official <init>
Lbmy;<init>(Ljava/util/function/LongSupplier;Ljava/lang/String;J)V
-
-
Method Details
-
nextProfiler
- Mappings:
Namespace Name Mixin selector named nextProfiler
Lnet/minecraft/util/TickDurationMonitor;nextProfiler()Lnet/minecraft/util/profiler/Profiler;
intermediary method_24339
Lnet/minecraft/class_4758;method_24339()Lnet/minecraft/class_3695;
official a
Lbmy;a()Lbmv;
-
endTick
public void endTick()- Mappings:
Namespace Name Mixin selector named endTick
Lnet/minecraft/util/TickDurationMonitor;endTick()V
intermediary method_24342
Lnet/minecraft/class_4758;method_24342()V
official b
Lbmy;b()V
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/util/TickDurationMonitor;create(Ljava/lang/String;)Lnet/minecraft/util/TickDurationMonitor;
intermediary method_24341
Lnet/minecraft/class_4758;method_24341(Ljava/lang/String;)Lnet/minecraft/class_4758;
official a
Lbmy;a(Ljava/lang/String;)Lbmy;
-
tickProfiler
public static Profiler tickProfiler(Profiler profiler, @Nullable @Nullable TickDurationMonitor monitor) - Mappings:
Namespace Name Mixin selector named tickProfiler
Lnet/minecraft/util/TickDurationMonitor;tickProfiler(Lnet/minecraft/util/profiler/Profiler;Lnet/minecraft/util/TickDurationMonitor;)Lnet/minecraft/util/profiler/Profiler;
intermediary method_24340
Lnet/minecraft/class_4758;method_24340(Lnet/minecraft/class_3695;Lnet/minecraft/class_4758;)Lnet/minecraft/class_3695;
official a
Lbmy;a(Lbmv;Lbmy;)Lbmv;
-