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
official fim
intermediary net/minecraft/class_6412
named net/minecraft/client/util/ClientSamplerSource
  • Field Details

    • renderer

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

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

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

    • ClientSamplerSource

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

    • addInfoSamplers

      private void addInfoSamplers()
      Mappings:
      Namespace Name Mixin selector
      official a Lfim;a()V
      intermediary method_37309 Lnet/minecraft/class_6412;method_37309()V
      named addInfoSamplers Lnet/minecraft/client/util/ClientSamplerSource;addInfoSamplers()V
    • getSamplers

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