Class ClientSamplerSource

java.lang.Object
net.minecraft.client.util.ClientSamplerSource
All Implemented Interfaces:
SamplerSource

@Environment(CLIENT) public class ClientSamplerSource extends Object implements SamplerSource
Mappings:
Namespace Name
named net/minecraft/client/util/ClientSamplerSource
intermediary net/minecraft/class_6412
official gcw
  • Field Details

    • renderer

      private final WorldRenderer renderer
      Mappings:
      Namespace Name Mixin selector
      named renderer Lnet/minecraft/client/util/ClientSamplerSource;renderer:Lnet/minecraft/client/render/WorldRenderer;
      intermediary field_33959 Lnet/minecraft/class_6412;field_33959:Lnet/minecraft/class_761;
      official a Lgcw;a:Lgdn;
    • samplers

      private final Set<Sampler> samplers
      Mappings:
      Namespace Name Mixin selector
      named samplers Lnet/minecraft/client/util/ClientSamplerSource;samplers:Ljava/util/Set;
      intermediary field_33960 Lnet/minecraft/class_6412;field_33960:Ljava/util/Set;
      official b Lgcw;b:Ljava/util/Set;
    • factory

      private final SamplerFactory factory
      Mappings:
      Namespace Name Mixin selector
      named factory Lnet/minecraft/client/util/ClientSamplerSource;factory:Lnet/minecraft/util/profiler/SamplerFactory;
      intermediary field_33961 Lnet/minecraft/class_6412;field_33961:Lnet/minecraft/class_6401;
      official c Lgcw;c:Lboy;
  • Constructor Details

    • ClientSamplerSource

      public ClientSamplerSource(LongSupplier nanoTimeSupplier, WorldRenderer renderer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/ClientSamplerSource;<init>(Ljava/util/function/LongSupplier;Lnet/minecraft/client/render/WorldRenderer;)V
      intermediary <init> Lnet/minecraft/class_6412;<init>(Ljava/util/function/LongSupplier;Lnet/minecraft/class_761;)V
      official <init> Lgcw;<init>(Ljava/util/function/LongSupplier;Lgdn;)V
  • Method Details

    • addInfoSamplers

      private void addInfoSamplers()
      Mappings:
      Namespace Name Mixin selector
      named addInfoSamplers Lnet/minecraft/client/util/ClientSamplerSource;addInfoSamplers()V
      intermediary method_37309 Lnet/minecraft/class_6412;method_37309()V
      official a Lgcw;a()V
    • 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 Lbos;a(Ljava/util/function/Supplier;)Ljava/util/Set;