类 DebugRecorder

  • 所有已实现的接口:
    Recorder

    @Environment(CLIENT)
    public class DebugRecorder
    extends Object
    implements Recorder
    Mappings:
    Namespace Name
    official ela
    intermediary net/minecraft/class_5961
    named net/minecraft/client/util/profiler/DebugRecorder
    • 字段详细资料

      • field_32676

        public static final int field_32676
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lela;a:I
        intermediary field_32676 Lnet/minecraft/class_5961;field_32676:I
        named field_32676 Lnet/minecraft/client/util/profiler/DebugRecorder;field_32676:I
      • globalPathConsumer

        @Nullable
        private static @Nullable Consumer<Path> globalPathConsumer
        Mappings:
        Namespace Name Mixin selector
        official b Lela;b:Ljava/util/function/Consumer;
        intermediary field_29579 Lnet/minecraft/class_5961;field_29579:Ljava/util/function/Consumer;
        named globalPathConsumer Lnet/minecraft/client/util/profiler/DebugRecorder;globalPathConsumer:Ljava/util/function/Consumer;
      • categories

        private final List<Category> categories
        Mappings:
        Namespace Name Mixin selector
        official c Lela;c:Ljava/util/List;
        intermediary field_29580 Lnet/minecraft/class_5961;field_29580:Ljava/util/List;
        named categories Lnet/minecraft/client/util/profiler/DebugRecorder;categories:Ljava/util/List;
      • timeTracker

        private final TickTimeTracker timeTracker
        Mappings:
        Namespace Name Mixin selector
        official d Lela;d:Lapf;
        intermediary field_29581 Lnet/minecraft/class_5961;field_29581:Lnet/minecraft/class_4757;
        named timeTracker Lnet/minecraft/client/util/profiler/DebugRecorder;timeTracker:Lnet/minecraft/util/profiler/TickTimeTracker;
      • executor

        private final Executor executor
        Mappings:
        Namespace Name Mixin selector
        official e Lela;e:Ljava/util/concurrent/Executor;
        intermediary field_29582 Lnet/minecraft/class_5961;field_29582:Ljava/util/concurrent/Executor;
        named executor Lnet/minecraft/client/util/profiler/DebugRecorder;executor:Ljava/util/concurrent/Executor;
      • dumper

        private final ProfilerDumper dumper
        Mappings:
        Namespace Name Mixin selector
        official f Lela;f:Lelj;
        intermediary field_29583 Lnet/minecraft/class_5961;field_29583:Lnet/minecraft/class_5971;
        named dumper Lnet/minecraft/client/util/profiler/DebugRecorder;dumper:Lnet/minecraft/client/util/profiler/ProfilerDumper;
      • readAction

        private final Runnable readAction
        Mappings:
        Namespace Name Mixin selector
        official g Lela;g:Ljava/lang/Runnable;
        intermediary field_29584 Lnet/minecraft/class_5961;field_29584:Ljava/lang/Runnable;
        named readAction Lnet/minecraft/client/util/profiler/DebugRecorder;readAction:Ljava/lang/Runnable;
      • pathConsumer

        private final Consumer<Path> pathConsumer
        Mappings:
        Namespace Name Mixin selector
        official h Lela;h:Ljava/util/function/Consumer;
        intermediary field_29585 Lnet/minecraft/class_5961;field_29585:Ljava/util/function/Consumer;
        named pathConsumer Lnet/minecraft/client/util/profiler/DebugRecorder;pathConsumer:Ljava/util/function/Consumer;
      • timeGetter

        private final LongSupplier timeGetter
        Mappings:
        Namespace Name Mixin selector
        official i Lela;i:Ljava/util/function/LongSupplier;
        intermediary field_29586 Lnet/minecraft/class_5961;field_29586:Ljava/util/function/LongSupplier;
        named timeGetter Lnet/minecraft/client/util/profiler/DebugRecorder;timeGetter:Ljava/util/function/LongSupplier;
      • samples

        private final List<Sample> samples
        Mappings:
        Namespace Name Mixin selector
        official j Lela;j:Ljava/util/List;
        intermediary field_29587 Lnet/minecraft/class_5961;field_29587:Ljava/util/List;
        named samples Lnet/minecraft/client/util/profiler/DebugRecorder;samples:Ljava/util/List;
      • nanoStartTime

        private final long nanoStartTime
        Mappings:
        Namespace Name Mixin selector
        official k Lela;k:J
        intermediary field_29588 Lnet/minecraft/class_5961;field_29588:J
        named nanoStartTime Lnet/minecraft/client/util/profiler/DebugRecorder;nanoStartTime:J
      • ticks

        private int ticks
        Mappings:
        Namespace Name Mixin selector
        official l Lela;l:I
        intermediary field_29589 Lnet/minecraft/class_5961;field_29589:I
        named ticks Lnet/minecraft/client/util/profiler/DebugRecorder;ticks:I
      • profiler

        private ReadableProfiler profiler
        Mappings:
        Namespace Name Mixin selector
        official m Lela;m:Lapj;
        intermediary field_29590 Lnet/minecraft/class_5961;field_29590:Lnet/minecraft/class_3693;
        named profiler Lnet/minecraft/client/util/profiler/DebugRecorder;profiler:Lnet/minecraft/util/profiler/ReadableProfiler;
      • pendingRead

        private volatile boolean pendingRead
        Mappings:
        Namespace Name Mixin selector
        official n Lela;n:Z
        intermediary field_29591 Lnet/minecraft/class_5961;field_29591:Z
        named pendingRead Lnet/minecraft/client/util/profiler/DebugRecorder;pendingRead:Z
    • 构造器详细资料

      • DebugRecorder

        private DebugRecorder​(LongSupplier timeGetter,
                              Executor executor,
                              ProfilerDumper dumper,
                              Runnable readAction,
                              Consumer<Path> completeAction)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lela;<init>(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lelj;Ljava/lang/Runnable;Ljava/util/function/Consumer;)V
        intermediary <init> Lnet/minecraft/class_5961;<init>(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/class_5971;Ljava/lang/Runnable;Ljava/util/function/Consumer;)V
        named <init> Lnet/minecraft/client/util/profiler/DebugRecorder;<init>(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/client/util/profiler/ProfilerDumper;Ljava/lang/Runnable;Ljava/util/function/Consumer;)V
    • 方法详细资料

      • create

        public static DebugRecorder create​(LongSupplier timeGetter,
                                           Executor executore,
                                           ProfilerDumper dumper,
                                           Runnable readAction,
                                           Consumer<Path> completeAction)
        Mappings:
        Namespace Name Mixin selector
        official a Lela;a(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lelj;Ljava/lang/Runnable;Ljava/util/function/Consumer;)Lela;
        intermediary method_34760 Lnet/minecraft/class_5961;method_34760(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/class_5971;Ljava/lang/Runnable;Ljava/util/function/Consumer;)Lnet/minecraft/class_5961;
        named create Lnet/minecraft/client/util/profiler/DebugRecorder;create(Ljava/util/function/LongSupplier;Ljava/util/concurrent/Executor;Lnet/minecraft/client/util/profiler/ProfilerDumper;Ljava/lang/Runnable;Ljava/util/function/Consumer;)Lnet/minecraft/client/util/profiler/DebugRecorder;
      • createCategories

        private void createCategories()
        Mappings:
        Namespace Name Mixin selector
        official f Lela;f()V
        intermediary method_34761 Lnet/minecraft/class_5961;method_34761()V
        named createCategories Lnet/minecraft/client/util/profiler/DebugRecorder;createCategories()V
      • createFactory

        private SamplerFactory createFactory​(String name)
        Mappings:
        Namespace Name Mixin selector
        official a Lela;a(Ljava/lang/String;)Lelg;
        intermediary method_34758 Lnet/minecraft/class_5961;method_34758(Ljava/lang/String;)Lnet/minecraft/class_5970;
        named createFactory Lnet/minecraft/client/util/profiler/DebugRecorder;createFactory(Ljava/lang/String;)Lnet/minecraft/client/util/profiler/SamplerFactory;
      • createFrameTimeSampler

        private SamplingRecorder createFrameTimeSampler​(LongSupplier timeGetter)
        Mappings:
        Namespace Name Mixin selector
        official a Lela;a(Ljava/util/function/LongSupplier;)Lele;
        intermediary method_34759 Lnet/minecraft/class_5961;method_34759(Ljava/util/function/LongSupplier;)Lnet/minecraft/class_5965;
        named createFrameTimeSampler Lnet/minecraft/client/util/profiler/DebugRecorder;createFrameTimeSampler(Ljava/util/function/LongSupplier;)Lnet/minecraft/client/util/profiler/SamplingRecorder;
      • sample

        public void sample()
        指定者:
        sample 在接口中 Recorder
        Mappings:
        Namespace Name Mixin selector
        official a Lelb;a()V
        intermediary method_34770 Lnet/minecraft/class_5962;method_34770()V
        named sample Lnet/minecraft/client/util/profiler/Recorder;sample()V
      • start

        public void start()
        指定者:
        start 在接口中 Recorder
        Mappings:
        Namespace Name Mixin selector
        official b Lelb;b()V
        intermediary method_34771 Lnet/minecraft/class_5962;method_34771()V
        named start Lnet/minecraft/client/util/profiler/Recorder;start()V
      • read

        public void read()
        指定者:
        read 在接口中 Recorder
        Mappings:
        Namespace Name Mixin selector
        official c Lelb;c()V
        intermediary method_34772 Lnet/minecraft/class_5962;method_34772()V
        named read Lnet/minecraft/client/util/profiler/Recorder;read()V
      • isActive

        public boolean isActive()
        指定者:
        isActive 在接口中 Recorder
        Mappings:
        Namespace Name Mixin selector
        official d Lelb;d()Z
        intermediary method_34773 Lnet/minecraft/class_5962;method_34773()Z
        named isActive Lnet/minecraft/client/util/profiler/Recorder;isActive()Z
      • getProfiler

        public Profiler getProfiler()
        指定者:
        getProfiler 在接口中 Recorder
        Mappings:
        Namespace Name Mixin selector
        official e Lelb;e()Lapl;
        intermediary method_34774 Lnet/minecraft/class_5962;method_34774()Lnet/minecraft/class_3695;
        named getProfiler Lnet/minecraft/client/util/profiler/Recorder;getProfiler()Lnet/minecraft/util/profiler/Profiler;
      • checkState

        private void checkState()
        Mappings:
        Namespace Name Mixin selector
        official g Lela;g()V
        intermediary method_34762 Lnet/minecraft/class_5961;method_34762()V
        named checkState Lnet/minecraft/client/util/profiler/DebugRecorder;checkState()V
      • execute

        private void execute()
        Mappings:
        Namespace Name Mixin selector
        official h Lela;h()V
        intermediary method_34763 Lnet/minecraft/class_5961;method_34763()V
        named execute Lnet/minecraft/client/util/profiler/DebugRecorder;execute()V
      • method_35762

        public static void method_35762​(Consumer<Path> consumer)
        Mappings:
        Namespace Name Mixin selector
        official a Lela;a(Ljava/util/function/Consumer;)V
        intermediary method_35762 Lnet/minecraft/class_5961;method_35762(Ljava/util/function/Consumer;)V
        named method_35762 Lnet/minecraft/client/util/profiler/DebugRecorder;method_35762(Ljava/util/function/Consumer;)V