Class TickTimeTracker

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

public class TickTimeTracker extends Object
Mappings:
Namespace Name
official ass
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 Lass;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 Lass;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 Lass;c:Lasw;
      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> Lass;<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 Lass;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 Lass;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 Lass;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 Lass;d()Lasy;
      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 Lass;e()Lasx;
      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;