Class ServerSamplerSource

java.lang.Object
net.minecraft.util.profiler.ServerSamplerSource
All Implemented Interfaces:
SamplerSource

public class ServerSamplerSource extends Object implements SamplerSource
Mappings:
Namespace Name
named net/minecraft/util/profiler/ServerSamplerSource
intermediary net/minecraft/class_6402
official bol
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/util/profiler/ServerSamplerSource;LOGGER:Lorg/slf4j/Logger;
      intermediary field_33988 Lnet/minecraft/class_6402;field_33988:Lorg/slf4j/Logger;
      official a Lbol;a:Lorg/slf4j/Logger;
    • samplers

      private final Set<Sampler> samplers
      Mappings:
      Namespace Name Mixin selector
      named samplers Lnet/minecraft/util/profiler/ServerSamplerSource;samplers:Ljava/util/Set;
      intermediary field_33895 Lnet/minecraft/class_6402;field_33895:Ljava/util/Set;
      official b Lbol;b:Ljava/util/Set;
    • factory

      private final SamplerFactory factory
      Mappings:
      Namespace Name Mixin selector
      named factory Lnet/minecraft/util/profiler/ServerSamplerSource;factory:Lnet/minecraft/util/profiler/SamplerFactory;
      intermediary field_33896 Lnet/minecraft/class_6402;field_33896:Lnet/minecraft/class_6401;
      official c Lbol;c:Lbok;
  • Constructor Details

    • ServerSamplerSource

      public ServerSamplerSource(LongSupplier nanoTimeSupplier, boolean includeSystem)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/profiler/ServerSamplerSource;<init>(Ljava/util/function/LongSupplier;Z)V
      intermediary <init> Lnet/minecraft/class_6402;<init>(Ljava/util/function/LongSupplier;Z)V
      official <init> Lbol;<init>(Ljava/util/function/LongSupplier;Z)V
  • Method Details

    • createSystemSamplers

      public static Set<Sampler> createSystemSamplers()
      Mappings:
      Namespace Name Mixin selector
      named createSystemSamplers Lnet/minecraft/util/profiler/ServerSamplerSource;createSystemSamplers()Ljava/util/Set;
      intermediary method_37199 Lnet/minecraft/class_6402;method_37199()Ljava/util/Set;
      official a Lbol;a()Ljava/util/Set;
    • getSamplers

      public Set<Sampler> getSamplers(Supplier<ReadableProfiler> profilerSupplier)
      Specified by:
      getSamplers in interface SamplerSource
      Mappings:
      Namespace Name Mixin selector
      named getSamplers Lnet/minecraft/util/profiler/SamplerSource;getSamplers(Ljava/util/function/Supplier;)Ljava/util/Set;
      intermediary method_37189 Lnet/minecraft/class_6400;method_37189(Ljava/util/function/Supplier;)Ljava/util/Set;
      official a Lboe;a(Ljava/util/function/Supplier;)Ljava/util/Set;
    • createTickTimeTracker

      public static Sampler createTickTimeTracker(LongSupplier nanoTimeSupplier)
      Mappings:
      Namespace Name Mixin selector
      named createTickTimeTracker Lnet/minecraft/util/profiler/ServerSamplerSource;createTickTimeTracker(Ljava/util/function/LongSupplier;)Lnet/minecraft/util/profiler/Sampler;
      intermediary method_37202 Lnet/minecraft/class_6402;method_37202(Ljava/util/function/LongSupplier;)Lnet/minecraft/class_5965;
      official a Lbol;a(Ljava/util/function/LongSupplier;)Lboc;