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 bpx
  • Field Details

    • DUMMY

      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 Lbpx;a:Lbpx;
    • wrapped

      @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 Lbpx;b:Lbps;
  • Constructor Details

    • ScopedProfiler

      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> Lbpx;<init>(Lbps;)V
  • Method Details

    • addLabel

      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 Lbpx;a(Ljava/lang/String;)Lbpx;
    • addLabel

      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 Lbpx;a(Ljava/util/function/Supplier;)Lbpx;
    • addValue

      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 Lbpx;a(J)Lbpx;
    • setColor

      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 Lbpx;a(I)Lbpx;
    • close

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