Class TickTimeTracker

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

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

    • timeGetter

      private final LongSupplier timeGetter
      Mappings:
      Namespace Name Mixin selector
      named timeGetter Lnet/minecraft/util/profiler/TickTimeTracker;timeGetter:Ljava/util/function/LongSupplier;
      intermediary field_21962 Lnet/minecraft/class_4757;field_21962:Ljava/util/function/LongSupplier;
      official a Lbnd;a:Ljava/util/function/LongSupplier;
    • tickGetter

      private final IntSupplier tickGetter
      Mappings:
      Namespace Name Mixin selector
      named tickGetter Lnet/minecraft/util/profiler/TickTimeTracker;tickGetter:Ljava/util/function/IntSupplier;
      intermediary field_21963 Lnet/minecraft/class_4757;field_21963:Ljava/util/function/IntSupplier;
      official b Lbnd;b:Ljava/util/function/IntSupplier;
    • profiler

      private ReadableProfiler profiler
      Mappings:
      Namespace Name Mixin selector
      named profiler Lnet/minecraft/util/profiler/TickTimeTracker;profiler:Lnet/minecraft/util/profiler/ReadableProfiler;
      intermediary field_21964 Lnet/minecraft/class_4757;field_21964:Lnet/minecraft/class_3693;
      official c Lbnd;c:Lbnh;
  • Constructor Details

    • TickTimeTracker

      public TickTimeTracker(LongSupplier timeGetter, IntSupplier tickGetter)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/profiler/TickTimeTracker;<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
      official <init> Lbnd;<init>(Ljava/util/function/LongSupplier;Ljava/util/function/IntSupplier;)V
  • Method Details

    • isActive

      public boolean isActive()
      Mappings:
      Namespace Name Mixin selector
      named isActive Lnet/minecraft/util/profiler/TickTimeTracker;isActive()Z
      intermediary method_24333 Lnet/minecraft/class_4757;method_24333()Z
      official a Lbnd;a()Z
    • disable

      public void disable()
      Mappings:
      Namespace Name Mixin selector
      named disable Lnet/minecraft/util/profiler/TickTimeTracker;disable()V
      intermediary method_24334 Lnet/minecraft/class_4757;method_24334()V
      official b Lbnd;b()V
    • enable

      public void enable()
      Mappings:
      Namespace Name Mixin selector
      named enable Lnet/minecraft/util/profiler/TickTimeTracker;enable()V
      intermediary method_24335 Lnet/minecraft/class_4757;method_24335()V
      official c Lbnd;c()V
    • getProfiler

      public Profiler getProfiler()
      Mappings:
      Namespace Name Mixin selector
      named getProfiler Lnet/minecraft/util/profiler/TickTimeTracker;getProfiler()Lnet/minecraft/util/profiler/Profiler;
      intermediary method_24336 Lnet/minecraft/class_4757;method_24336()Lnet/minecraft/class_3695;
      official d Lbnd;d()Lbnj;
    • getResult

      public ProfileResult getResult()
      Mappings:
      Namespace Name Mixin selector
      named getResult Lnet/minecraft/util/profiler/TickTimeTracker;getResult()Lnet/minecraft/util/profiler/ProfileResult;
      intermediary method_24337 Lnet/minecraft/class_4757;method_24337()Lnet/minecraft/class_3696;
      official e Lbnd;e()Lbni;