Class ProfilerSystem.LocatedInfo

java.lang.Object
net.minecraft.util.profiler.ProfilerSystem.LocatedInfo
All Implemented Interfaces:
ProfileLocationInfo
Enclosing class:
ProfilerSystem

public static class ProfilerSystem.LocatedInfo extends Object implements ProfileLocationInfo
Mappings:
Namespace Name
named net/minecraft/util/profiler/ProfilerSystem$LocatedInfo
intermediary net/minecraft/class_3533$class_4746
official bpk$a
  • Field Details

    • maxTime

      long maxTime
      Mappings:
      Namespace Name Mixin selector
      named maxTime Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;maxTime:J
      intermediary field_33874 Lnet/minecraft/class_3533$class_4746;field_33874:J
      official a Lbpk$a;a:J
    • minTime

      long minTime
      Mappings:
      Namespace Name Mixin selector
      named minTime Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;minTime:J
      intermediary field_33875 Lnet/minecraft/class_3533$class_4746;field_33875:J
      official b Lbpk$a;b:J
    • totalTime

      long totalTime
      Mappings:
      Namespace Name Mixin selector
      named totalTime Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;totalTime:J
      intermediary field_21820 Lnet/minecraft/class_3533$class_4746;field_21820:J
      official c Lbpk$a;c:J
    • visits

      long visits
      Mappings:
      Namespace Name Mixin selector
      named visits Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;visits:J
      intermediary field_21821 Lnet/minecraft/class_3533$class_4746;field_21821:J
      official d Lbpk$a;d:J
    • counts

      Mappings:
      Namespace Name Mixin selector
      named counts Lnet/minecraft/util/profiler/ProfilerSystem$LocatedInfo;counts:Lit/unimi/dsi/fastutil/objects/Object2LongOpenHashMap;
      intermediary field_21822 Lnet/minecraft/class_3533$class_4746;field_21822:Lit/unimi/dsi/fastutil/objects/Object2LongOpenHashMap;
      official e Lbpk$a;e:Lit/unimi/dsi/fastutil/objects/Object2LongOpenHashMap;
  • Constructor Details

    • LocatedInfo

      public LocatedInfo()
  • Method Details

    • getTotalTime

      public long getTotalTime()
      Returns the total time spent visiting the profiler location.
      Specified by:
      getTotalTime in interface ProfileLocationInfo
      Mappings:
      Namespace Name Mixin selector
      named getTotalTime Lnet/minecraft/util/profiler/ProfileLocationInfo;getTotalTime()J
      intermediary method_24272 Lnet/minecraft/class_4748;method_24272()J
      official a Lbpt;a()J
    • getMaxTime

      public long getMaxTime()
      Specified by:
      getMaxTime in interface ProfileLocationInfo
      Mappings:
      Namespace Name Mixin selector
      named getMaxTime Lnet/minecraft/util/profiler/ProfileLocationInfo;getMaxTime()J
      intermediary method_37169 Lnet/minecraft/class_4748;method_37169()J
      official b Lbpt;b()J
    • getVisitCount

      public long getVisitCount()
      Returns the number of times the profiler location has been visited.
      Specified by:
      getVisitCount in interface ProfileLocationInfo
      Mappings:
      Namespace Name Mixin selector
      named getVisitCount Lnet/minecraft/util/profiler/ProfileLocationInfo;getVisitCount()J
      intermediary method_24273 Lnet/minecraft/class_4748;method_24273()J
      official c Lbpt;c()J
    • getCounts

      public Object2LongMap<String> getCounts()
      Returns a marker to count map indicating the times each marker has been visited in the profiler location.
      Specified by:
      getCounts in interface ProfileLocationInfo
      Mappings:
      Namespace Name Mixin selector
      named getCounts Lnet/minecraft/util/profiler/ProfileLocationInfo;getCounts()Lit/unimi/dsi/fastutil/objects/Object2LongMap;
      intermediary method_24274 Lnet/minecraft/class_4748;method_24274()Lit/unimi/dsi/fastutil/objects/Object2LongMap;
      official d Lbpt;d()Lit/unimi/dsi/fastutil/objects/Object2LongMap;