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 bne
  • 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 Lbne;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 Lbne;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 Lbne;c:Lbni;
  • 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> Lbne;<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 Lbne;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 Lbne;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 Lbne;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 Lbne;d()Lbnk;
    • 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 Lbne;e()Lbnj;