Class ScopedProfiler

java.lang.Object
net.minecraft.util.profiler.ScopedProfiler
All Implemented Interfaces:
AutoCloseable

public class ScopedProfiler extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/util/profiler/ScopedProfiler
intermediary net/minecraft/class_10214
official boz
  • Field Details Link icon

    • DUMMY Link icon

      public static final ScopedProfiler DUMMY
      Mappings:
      Namespace Name Mixin selector
      named DUMMY Lnet/minecraft/util/profiler/ScopedProfiler;DUMMY:Lnet/minecraft/util/profiler/ScopedProfiler;
      intermediary field_54225 Lnet/minecraft/class_10214;field_54225:Lnet/minecraft/class_10214;
      official a Lboz;a:Lboz;
    • wrapped Link icon

      @Nullable private final @Nullable Profiler wrapped
      Mappings:
      Namespace Name Mixin selector
      named wrapped Lnet/minecraft/util/profiler/ScopedProfiler;wrapped:Lnet/minecraft/util/profiler/Profiler;
      intermediary field_54226 Lnet/minecraft/class_10214;field_54226:Lnet/minecraft/class_3695;
      official b Lboz;b:Lbou;
  • Constructor Details Link icon

    • ScopedProfiler Link icon

      ScopedProfiler(@Nullable @Nullable Profiler wrapped)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/profiler/ScopedProfiler;<init>(Lnet/minecraft/util/profiler/Profiler;)V
      intermediary <init> Lnet/minecraft/class_10214;<init>(Lnet/minecraft/class_3695;)V
      official <init> Lboz;<init>(Lbou;)V
  • Method Details Link icon

    • addLabel Link icon

      public ScopedProfiler addLabel(String label)
      Mappings:
      Namespace Name Mixin selector
      named addLabel Lnet/minecraft/util/profiler/ScopedProfiler;addLabel(Ljava/lang/String;)Lnet/minecraft/util/profiler/ScopedProfiler;
      intermediary method_64164 Lnet/minecraft/class_10214;method_64164(Ljava/lang/String;)Lnet/minecraft/class_10214;
      official a Lboz;a(Ljava/lang/String;)Lboz;
    • addLabel Link icon

      public ScopedProfiler addLabel(Supplier<String> labelSupplier)
      Mappings:
      Namespace Name Mixin selector
      named addLabel Lnet/minecraft/util/profiler/ScopedProfiler;addLabel(Ljava/util/function/Supplier;)Lnet/minecraft/util/profiler/ScopedProfiler;
      intermediary method_64165 Lnet/minecraft/class_10214;method_64165(Ljava/util/function/Supplier;)Lnet/minecraft/class_10214;
      official a Lboz;a(Ljava/util/function/Supplier;)Lboz;
    • addValue Link icon

      public ScopedProfiler addValue(long value)
      Mappings:
      Namespace Name Mixin selector
      named addValue Lnet/minecraft/util/profiler/ScopedProfiler;addValue(J)Lnet/minecraft/util/profiler/ScopedProfiler;
      intermediary method_64163 Lnet/minecraft/class_10214;method_64163(J)Lnet/minecraft/class_10214;
      official a Lboz;a(J)Lboz;
    • setColor Link icon

      public ScopedProfiler setColor(int color)
      Mappings:
      Namespace Name Mixin selector
      named setColor Lnet/minecraft/util/profiler/ScopedProfiler;setColor(I)Lnet/minecraft/util/profiler/ScopedProfiler;
      intermediary method_64162 Lnet/minecraft/class_10214;method_64162(I)Lnet/minecraft/class_10214;
      official a Lboz;a(I)Lboz;
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable