Class SamplerFactory

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

public class SamplerFactory extends Object
Mappings:
Namespace Name
named net/minecraft/util/profiler/SamplerFactory
intermediary net/minecraft/class_6401
official bok
  • Field Details

    • sampledFullPaths

      private final Set<String> sampledFullPaths
      Mappings:
      Namespace Name Mixin selector
      named sampledFullPaths Lnet/minecraft/util/profiler/SamplerFactory;sampledFullPaths:Ljava/util/Set;
      intermediary field_33894 Lnet/minecraft/class_6401;field_33894:Ljava/util/Set;
      official a Lbok;a:Ljava/util/Set;
  • Constructor Details

    • SamplerFactory

      public SamplerFactory()
  • Method Details

    • createSamplers

      public Set<Sampler> createSamplers(Supplier<ReadableProfiler> profilerSupplier)
      Mappings:
      Namespace Name Mixin selector
      named createSamplers Lnet/minecraft/util/profiler/SamplerFactory;createSamplers(Ljava/util/function/Supplier;)Ljava/util/Set;
      intermediary method_37194 Lnet/minecraft/class_6401;method_37194(Ljava/util/function/Supplier;)Ljava/util/Set;
      official a Lbok;a(Ljava/util/function/Supplier;)Ljava/util/Set;
    • createSampler

      private static Sampler createSampler(Supplier<ReadableProfiler> profilerSupplier, String id, SampleType type)
      Mappings:
      Namespace Name Mixin selector
      named createSampler Lnet/minecraft/util/profiler/SamplerFactory;createSampler(Ljava/util/function/Supplier;Ljava/lang/String;Lnet/minecraft/util/profiler/SampleType;)Lnet/minecraft/util/profiler/Sampler;
      intermediary method_37196 Lnet/minecraft/class_6401;method_37196(Ljava/util/function/Supplier;Ljava/lang/String;Lnet/minecraft/class_5949;)Lnet/minecraft/class_5965;
      official a Lbok;a(Ljava/util/function/Supplier;Ljava/lang/String;Lbob;)Lboc;