Class Profiler

java.lang.Object
net.minecraft.util.profiler.Profiler

public class Profiler extends Object
Mappings:
Namespace Name
official xr
intermediary net/minecraft/class_839
named net/minecraft/util/profiler/Profiler
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lxr;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_9066 Lnet/minecraft/class_839;field_9066:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/util/profiler/Profiler;LOGGER:Lorg/apache/logging/log4j/Logger;
    • path

      private final List<String> path
      Mappings:
      Namespace Name Mixin selector
      official b Lxr;b:Ljava/util/List;
      intermediary field_3091 Lnet/minecraft/class_839;field_3091:Ljava/util/List;
      named path Lnet/minecraft/util/profiler/Profiler;path:Ljava/util/List;
    • timeList

      private final List<Long> timeList
      Mappings:
      Namespace Name Mixin selector
      official c Lxr;c:Ljava/util/List;
      intermediary field_3092 Lnet/minecraft/class_839;field_3092:Ljava/util/List;
      named timeList Lnet/minecraft/util/profiler/Profiler;timeList:Ljava/util/List;
    • enabled

      private boolean enabled
      Mappings:
      Namespace Name Mixin selector
      official d Lxr;d:Z
      intermediary field_3090 Lnet/minecraft/class_839;field_3090:Z
      named enabled Lnet/minecraft/util/profiler/Profiler;enabled:Z
    • fullLocation

      private String fullLocation
      Mappings:
      Namespace Name Mixin selector
      official e Lxr;e:Ljava/lang/String;
      intermediary field_3093 Lnet/minecraft/class_839;field_3093:Ljava/lang/String;
      named fullLocation Lnet/minecraft/util/profiler/Profiler;fullLocation:Ljava/lang/String;
    • profilingLocationTimes

      private final Map<String,Long> profilingLocationTimes
      Mappings:
      Namespace Name Mixin selector
      official f Lxr;f:Ljava/util/Map;
      intermediary field_3094 Lnet/minecraft/class_839;field_3094:Ljava/util/Map;
      named profilingLocationTimes Lnet/minecraft/util/profiler/Profiler;profilingLocationTimes:Ljava/util/Map;
    • field_22250

      private long field_22250
      Mappings:
      Namespace Name Mixin selector
      official g Lxr;g:J
      intermediary field_22250 Lnet/minecraft/class_839;field_22250:J
      named field_22250 Lnet/minecraft/util/profiler/Profiler;field_22250:J
    • field_22251

      private int field_22251
      Mappings:
      Namespace Name Mixin selector
      official h Lxr;h:I
      intermediary field_22251 Lnet/minecraft/class_839;field_22251:I
      named field_22251 Lnet/minecraft/util/profiler/Profiler;field_22251:I
  • Constructor Details

    • Profiler

      public Profiler()
  • Method Details

    • method_21519

      public boolean method_21519()
      Mappings:
      Namespace Name Mixin selector
      official a Lxr;a()Z
      intermediary method_21519 Lnet/minecraft/class_839;method_21519()Z
      named method_21519 Lnet/minecraft/util/profiler/Profiler;method_21519()Z
    • method_21521

      public void method_21521()
      Mappings:
      Namespace Name Mixin selector
      official b Lxr;b()V
      intermediary method_21521 Lnet/minecraft/class_839;method_21521()V
      named method_21521 Lnet/minecraft/util/profiler/Profiler;method_21521()V
    • method_21522

      public long method_21522()
      Mappings:
      Namespace Name Mixin selector
      official c Lxr;c()J
      intermediary method_21522 Lnet/minecraft/class_839;method_21522()J
      named method_21522 Lnet/minecraft/util/profiler/Profiler;method_21522()J
    • method_21523

      public int method_21523()
      Mappings:
      Namespace Name Mixin selector
      official d Lxr;d()I
      intermediary method_21523 Lnet/minecraft/class_839;method_21523()I
      named method_21523 Lnet/minecraft/util/profiler/Profiler;method_21523()I
    • method_21520

      public void method_21520(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lxr;a(I)V
      intermediary method_21520 Lnet/minecraft/class_839;method_21520(I)V
      named method_21520 Lnet/minecraft/util/profiler/Profiler;method_21520(I)V
    • push

      public void push(String location)
      Mappings:
      Namespace Name Mixin selector
      official a Lxr;a(Ljava/lang/String;)V
      intermediary method_2356 Lnet/minecraft/class_839;method_2356(Ljava/lang/String;)V
      named push Lnet/minecraft/util/profiler/Profiler;push(Ljava/lang/String;)V
    • push

      public void push(Supplier<String> locationSupplier)
      Mappings:
      Namespace Name Mixin selector
      official a Lxr;a(Ljava/util/function/Supplier;)V
      intermediary method_15022 Lnet/minecraft/class_839;method_15022(Ljava/util/function/Supplier;)V
      named push Lnet/minecraft/util/profiler/Profiler;push(Ljava/util/function/Supplier;)V
    • pop

      public void pop()
      Mappings:
      Namespace Name Mixin selector
      official e Lxr;e()V
      intermediary method_2357 Lnet/minecraft/class_839;method_2357()V
      named pop Lnet/minecraft/util/profiler/Profiler;pop()V
    • getData

      public List<Profiler.Section> getData(String location)
      Mappings:
      Namespace Name Mixin selector
      official b Lxr;b(Ljava/lang/String;)Ljava/util/List;
      intermediary method_2358 Lnet/minecraft/class_839;method_2358(Ljava/lang/String;)Ljava/util/List;
      named getData Lnet/minecraft/util/profiler/Profiler;getData(Ljava/lang/String;)Ljava/util/List;
    • swap

      public void swap(String location)
      Mappings:
      Namespace Name Mixin selector
      official c Lxr;c(Ljava/lang/String;)V
      intermediary method_2360 Lnet/minecraft/class_839;method_2360(Ljava/lang/String;)V
      named swap Lnet/minecraft/util/profiler/Profiler;swap(Ljava/lang/String;)V
    • swap

      @Environment(CLIENT) public void swap(Supplier<String> locationSupplier)
      Mappings:
      Namespace Name Mixin selector
      official b Lxr;b(Ljava/util/function/Supplier;)V
      intermediary method_15023 Lnet/minecraft/class_839;method_15023(Ljava/util/function/Supplier;)V
      named swap Lnet/minecraft/util/profiler/Profiler;swap(Ljava/util/function/Supplier;)V
    • getCurrentLocation

      public String getCurrentLocation()
      Mappings:
      Namespace Name Mixin selector
      official f Lxr;f()Ljava/lang/String;
      intermediary method_2359 Lnet/minecraft/class_839;method_2359()Ljava/lang/String;
      named getCurrentLocation Lnet/minecraft/util/profiler/Profiler;getCurrentLocation()Ljava/lang/String;