类 DummyProfiler

  • 所有已实现的接口:
    Profiler, ReadableProfiler

    public class DummyProfiler
    extends Object
    implements ReadableProfiler
    Mappings:
    Namespace Name
    official api
    intermediary net/minecraft/class_3694
    named net/minecraft/util/profiler/DummyProfiler
    • 字段详细资料

      • INSTANCE

        public static final DummyProfiler INSTANCE
        Mappings:
        Namespace Name Mixin selector
        official a Lapi;a:Lapi;
        intermediary field_16280 Lnet/minecraft/class_3694;field_16280:Lnet/minecraft/class_3694;
        named INSTANCE Lnet/minecraft/util/profiler/DummyProfiler;INSTANCE:Lnet/minecraft/util/profiler/DummyProfiler;
    • 构造器详细资料

      • DummyProfiler

        private DummyProfiler()
    • 方法详细资料

      • startTick

        public void startTick()
        指定者:
        startTick 在接口中 Profiler
        Mappings:
        Namespace Name Mixin selector
        official a Lapl;a()V
        intermediary method_16065 Lnet/minecraft/class_3695;method_16065()V
        named startTick Lnet/minecraft/util/profiler/Profiler;startTick()V
      • endTick

        public void endTick()
        指定者:
        endTick 在接口中 Profiler
        Mappings:
        Namespace Name Mixin selector
        official b Lapl;b()V
        intermediary method_16066 Lnet/minecraft/class_3695;method_16066()V
        named endTick Lnet/minecraft/util/profiler/Profiler;endTick()V
      • push

        public void push​(String location)
        指定者:
        push 在接口中 Profiler
        Mappings:
        Namespace Name Mixin selector
        official a Lapl;a(Ljava/lang/String;)V
        intermediary method_15396 Lnet/minecraft/class_3695;method_15396(Ljava/lang/String;)V
        named push Lnet/minecraft/util/profiler/Profiler;push(Ljava/lang/String;)V
      • push

        public void push​(Supplier<String> locationGetter)
        指定者:
        push 在接口中 Profiler
        Mappings:
        Namespace Name Mixin selector
        official a Lapl;a(Ljava/util/function/Supplier;)V
        intermediary method_15400 Lnet/minecraft/class_3695;method_15400(Ljava/util/function/Supplier;)V
        named push Lnet/minecraft/util/profiler/Profiler;push(Ljava/util/function/Supplier;)V
      • pop

        public void pop()
        指定者:
        pop 在接口中 Profiler
        Mappings:
        Namespace Name Mixin selector
        official c Lapl;c()V
        intermediary method_15407 Lnet/minecraft/class_3695;method_15407()V
        named pop Lnet/minecraft/util/profiler/Profiler;pop()V
      • swap

        public void swap​(String location)
        指定者:
        swap 在接口中 Profiler
        Mappings:
        Namespace Name Mixin selector
        official b Lapl;b(Ljava/lang/String;)V
        intermediary method_15405 Lnet/minecraft/class_3695;method_15405(Ljava/lang/String;)V
        named swap Lnet/minecraft/util/profiler/Profiler;swap(Ljava/lang/String;)V
      • swap

        public void swap​(Supplier<String> locationGetter)
        指定者:
        swap 在接口中 Profiler
        Mappings:
        Namespace Name Mixin selector
        official b Lapl;b(Ljava/util/function/Supplier;)V
        intermediary method_15403 Lnet/minecraft/class_3695;method_15403(Ljava/util/function/Supplier;)V
        named swap Lnet/minecraft/util/profiler/Profiler;swap(Ljava/util/function/Supplier;)V
      • visit

        public void visit​(String marker)
        Increment the visit count for a marker.

        This is useful to keep track of number of calls made to performance- wise expensive methods.

        指定者:
        visit 在接口中 Profiler
        参数:
        marker - a unique marker
        Mappings:
        Namespace Name Mixin selector
        official c Lapl;c(Ljava/lang/String;)V
        intermediary method_24270 Lnet/minecraft/class_3695;method_24270(Ljava/lang/String;)V
        named visit Lnet/minecraft/util/profiler/Profiler;visit(Ljava/lang/String;)V
      • visit

        public void visit​(Supplier<String> markerGetter)
        Increment the visit count for a marker.

        This is useful to keep track of number of calls made to performance- wise expensive methods.

        This method is preferred if getting the marker is costly; the supplier won't be called if the profiler is disabled.

        指定者:
        visit 在接口中 Profiler
        参数:
        markerGetter - the getter for a unique marker
        Mappings:
        Namespace Name Mixin selector
        official c Lapl;c(Ljava/util/function/Supplier;)V
        intermediary method_24271 Lnet/minecraft/class_3695;method_24271(Ljava/util/function/Supplier;)V
        named visit Lnet/minecraft/util/profiler/Profiler;visit(Ljava/util/function/Supplier;)V
      • getResult

        public ProfileResult getResult()
        指定者:
        getResult 在接口中 ReadableProfiler
        Mappings:
        Namespace Name Mixin selector
        official d Lapj;d()Lapk;
        intermediary method_16064 Lnet/minecraft/class_3693;method_16064()Lnet/minecraft/class_3696;
        named getResult Lnet/minecraft/util/profiler/ReadableProfiler;getResult()Lnet/minecraft/util/profiler/ProfileResult;
      • getInfo

        @Nullable
        public ProfilerSystem.LocatedInfo getInfo​(String name)
        指定者:
        getInfo 在接口中 ReadableProfiler
        Mappings:
        Namespace Name Mixin selector
        official d Lapj;d(Ljava/lang/String;)Lape$a;
        intermediary method_34696 Lnet/minecraft/class_3693;method_34696(Ljava/lang/String;)Lnet/minecraft/class_3533$class_4746;
        named getInfo Lnet/minecraft/util/profiler/ReadableProfiler;getInfo(Ljava/lang/String;)Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;