Class TickTimeTracker

java.lang.Object
net.minecraft.util.profiler.TickTimeTracker

public class TickTimeTracker extends Object
Mappings:
Namespace Name
official bah
intermediary net/minecraft/class_4757
named net/minecraft/util/profiler/TickTimeTracker
  • Field Details

    • timeGetter

      private final LongSupplier timeGetter
      Mappings:
      Namespace Name Mixin selector
      official a Lbah;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

      private final IntSupplier tickGetter
      Mappings:
      Namespace Name Mixin selector
      official b Lbah;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

      private ReadableProfiler profiler
      Mappings:
      Namespace Name Mixin selector
      official c Lbah;c:Lbal;
      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

      public TickTimeTracker(LongSupplier timeGetter, IntSupplier tickGetter)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbah;<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 Lbah;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 Lbah;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 Lbah;c()V
      intermediary method_24335 Lnet/minecraft/class_4757;method_24335()V
      named enable Lnet/minecraft/util/profiler/TickTimeTracker;enable()V
    • getProfiler

      public Profiler getProfiler()
      Mappings:
      Namespace Name Mixin selector
      official d Lbah;d()Lban;
      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

      public ProfileResult getResult()
      Mappings:
      Namespace Name Mixin selector
      official e Lbah;e()Lbam;
      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;