Class Profiler.class_10211

java.lang.Object
net.minecraft.util.profiler.Profiler.class_10211
All Implemented Interfaces:
Profiler
Enclosing interface:
Profiler

public static class Profiler.class_10211 extends Object implements Profiler
Mappings:
Namespace Name
named net/minecraft/util/profiler/Profiler$class_10211
intermediary net/minecraft/class_3695$class_10211
official bon$a
  • Field Details

    • field_21965

      private final Profiler field_21965
      Mappings:
      Namespace Name Mixin selector
      named field_21965 Lnet/minecraft/util/profiler/Profiler$class_10211;field_21965:Lnet/minecraft/util/profiler/Profiler;
      intermediary field_21965 Lnet/minecraft/class_3695$class_10211;field_21965:Lnet/minecraft/class_3695;
      official a Lbon$a;a:Lbon;
    • field_21966

      private final Profiler field_21966
      Mappings:
      Namespace Name Mixin selector
      named field_21966 Lnet/minecraft/util/profiler/Profiler$class_10211;field_21966:Lnet/minecraft/util/profiler/Profiler;
      intermediary field_21966 Lnet/minecraft/class_3695$class_10211;field_21966:Lnet/minecraft/class_3695;
      official c Lbon$a;c:Lbon;
  • Constructor Details

  • Method Details

    • startTick

      public void startTick()
      Specified by:
      startTick in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named startTick Lnet/minecraft/util/profiler/Profiler;startTick()V
      intermediary method_16065 Lnet/minecraft/class_3695;method_16065()V
      official a Lbon;a()V
    • endTick

      public void endTick()
      Specified by:
      endTick in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named endTick Lnet/minecraft/util/profiler/Profiler;endTick()V
      intermediary method_16066 Lnet/minecraft/class_3695;method_16066()V
      official b Lbon;b()V
    • push

      public void push(String location)
      Specified by:
      push in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named push Lnet/minecraft/util/profiler/Profiler;push(Ljava/lang/String;)V
      intermediary method_15396 Lnet/minecraft/class_3695;method_15396(Ljava/lang/String;)V
      official a Lbon;a(Ljava/lang/String;)V
    • push

      public void push(Supplier<String> locationGetter)
      Specified by:
      push in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named push Lnet/minecraft/util/profiler/Profiler;push(Ljava/util/function/Supplier;)V
      intermediary method_15400 Lnet/minecraft/class_3695;method_15400(Ljava/util/function/Supplier;)V
      official a Lbon;a(Ljava/util/function/Supplier;)V
    • markSampleType

      public void markSampleType(SampleType type)
      Specified by:
      markSampleType in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named markSampleType Lnet/minecraft/util/profiler/Profiler;markSampleType(Lnet/minecraft/util/profiler/SampleType;)V
      intermediary method_37167 Lnet/minecraft/class_3695;method_37167(Lnet/minecraft/class_5949;)V
      official a Lbon;a(Lbpv;)V
    • pop

      public void pop()
      Specified by:
      pop in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named pop Lnet/minecraft/util/profiler/Profiler;pop()V
      intermediary method_15407 Lnet/minecraft/class_3695;method_15407()V
      official c Lbon;c()V
    • swap

      public void swap(String location)
      Specified by:
      swap in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named swap Lnet/minecraft/util/profiler/Profiler;swap(Ljava/lang/String;)V
      intermediary method_15405 Lnet/minecraft/class_3695;method_15405(Ljava/lang/String;)V
      official b Lbon;b(Ljava/lang/String;)V
    • swap

      public void swap(Supplier<String> locationGetter)
      Specified by:
      swap in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named swap Lnet/minecraft/util/profiler/Profiler;swap(Ljava/util/function/Supplier;)V
      intermediary method_15403 Lnet/minecraft/class_3695;method_15403(Ljava/util/function/Supplier;)V
      official b Lbon;b(Ljava/util/function/Supplier;)V
    • visit

      public void visit(String marker, int num)
      Increment the visit count for a marker.

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

      Specified by:
      visit in interface Profiler
      Parameters:
      marker - a unique marker
      Mappings:
      Namespace Name Mixin selector
      named visit Lnet/minecraft/util/profiler/Profiler;visit(Ljava/lang/String;I)V
      intermediary method_24270 Lnet/minecraft/class_3695;method_24270(Ljava/lang/String;I)V
      official a Lbon;a(Ljava/lang/String;I)V
    • visit

      public void visit(Supplier<String> markerGetter, int num)
      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.

      Specified by:
      visit in interface Profiler
      Parameters:
      markerGetter - the getter for a unique marker
      Mappings:
      Namespace Name Mixin selector
      named visit Lnet/minecraft/util/profiler/Profiler;visit(Ljava/util/function/Supplier;I)V
      intermediary method_24271 Lnet/minecraft/class_3695;method_24271(Ljava/util/function/Supplier;I)V
      official a Lbon;a(Ljava/util/function/Supplier;I)V
    • method_64155

      public void method_64155(String string)
      Specified by:
      method_64155 in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named method_64155 Lnet/minecraft/util/profiler/Profiler;method_64155(Ljava/lang/String;)V
      intermediary method_64155 Lnet/minecraft/class_3695;method_64155(Ljava/lang/String;)V
      official e Lbon;e(Ljava/lang/String;)V
    • method_64153

      public void method_64153(long long2)
      Specified by:
      method_64153 in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named method_64153 Lnet/minecraft/util/profiler/Profiler;method_64153(J)V
      intermediary method_64153 Lnet/minecraft/class_3695;method_64153(J)V
      official a Lbon;a(J)V
    • method_64152

      public void method_64152(int int2)
      Specified by:
      method_64152 in interface Profiler
      Mappings:
      Namespace Name Mixin selector
      named method_64152 Lnet/minecraft/util/profiler/Profiler;method_64152(I)V
      intermediary method_64152 Lnet/minecraft/class_3695;method_64152(I)V
      official a Lbon;a(I)V