Class SamplerFactory

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

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

    • sampledFullPaths

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

    • SamplerFactory

      public SamplerFactory()
  • Method Details

    • createSamplers

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

      private static Sampler createSampler(Supplier<ReadableProfiler> profilerSupplier, String id, SampleType type)
      Mappings:
      Namespace Name Mixin selector
      official a Lbca;a(Ljava/util/function/Supplier;Ljava/lang/String;Lbbr;)Lbbs;
      intermediary method_37196 Lnet/minecraft/class_6401;method_37196(Ljava/util/function/Supplier;Ljava/lang/String;Lnet/minecraft/class_5949;)Lnet/minecraft/class_5965;
      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;