Class SamplingRecorder

java.lang.Object
net.minecraft.client.util.profiler.SamplingRecorder
Direct Known Subclasses:
MetricSuppliers.class_6399

public class SamplingRecorder extends Object
Mappings:
Namespace Name
official apz
intermediary net/minecraft/class_5965
named net/minecraft/client/util/profiler/SamplingRecorder
  • Field Details

    • field_33882

      private final String field_33882
      Mappings:
      Namespace Name Mixin selector
      official b Lapz;b:Ljava/lang/String;
      intermediary field_33882 Lnet/minecraft/class_5965;field_33882:Ljava/lang/String;
      named field_33882 Lnet/minecraft/client/util/profiler/SamplingRecorder;field_33882:Ljava/lang/String;
    • metric

      private final SamplingChannel metric
      Mappings:
      Namespace Name Mixin selector
      official c Lapz;c:Lapy;
      intermediary field_29598 Lnet/minecraft/class_5965;field_29598:Lnet/minecraft/class_5949;
      named metric Lnet/minecraft/client/util/profiler/SamplingRecorder;metric:Lnet/minecraft/client/util/profiler/SamplingChannel;
    • timeGetter

      private final DoubleSupplier timeGetter
      Mappings:
      Namespace Name Mixin selector
      official d Lapz;d:Ljava/util/function/DoubleSupplier;
      intermediary field_29599 Lnet/minecraft/class_5965;field_29599:Ljava/util/function/DoubleSupplier;
      named timeGetter Lnet/minecraft/client/util/profiler/SamplingRecorder;timeGetter:Ljava/util/function/DoubleSupplier;
    • field_33883

      private final ByteBuf field_33883
      Mappings:
      Namespace Name Mixin selector
      official e Lapz;e:Lio/netty/buffer/ByteBuf;
      intermediary field_33883 Lnet/minecraft/class_5965;field_33883:Lio/netty/buffer/ByteBuf;
      named field_33883 Lnet/minecraft/client/util/profiler/SamplingRecorder;field_33883:Lio/netty/buffer/ByteBuf;
    • buffer

      private final ByteBuf buffer
      Mappings:
      Namespace Name Mixin selector
      official f Lapz;f:Lio/netty/buffer/ByteBuf;
      intermediary field_29600 Lnet/minecraft/class_5965;field_29600:Lio/netty/buffer/ByteBuf;
      named buffer Lnet/minecraft/client/util/profiler/SamplingRecorder;buffer:Lio/netty/buffer/ByteBuf;
    • active

      private volatile boolean active
      Mappings:
      Namespace Name Mixin selector
      official g Lapz;g:Z
      intermediary field_29601 Lnet/minecraft/class_5965;field_29601:Z
      named active Lnet/minecraft/client/util/profiler/SamplingRecorder;active:Z
    • startAction

      @Nullable private final @Nullable Runnable startAction
      Mappings:
      Namespace Name Mixin selector
      official h Lapz;h:Ljava/lang/Runnable;
      intermediary field_29602 Lnet/minecraft/class_5965;field_29602:Ljava/lang/Runnable;
      named startAction Lnet/minecraft/client/util/profiler/SamplingRecorder;startAction:Ljava/lang/Runnable;
    • writeAction

      Mappings:
      Namespace Name Mixin selector
      official a Lapz;a:Lapz$c;
      intermediary field_29603 Lnet/minecraft/class_5965;field_29603:Lnet/minecraft/class_5965$class_5967;
      named writeAction Lnet/minecraft/client/util/profiler/SamplingRecorder;writeAction:Lnet/minecraft/client/util/profiler/SamplingRecorder$ValueConsumer;
    • field_33884

      private double field_33884
      Mappings:
      Namespace Name Mixin selector
      official i Lapz;i:D
      intermediary field_33884 Lnet/minecraft/class_5965;field_33884:D
      named field_33884 Lnet/minecraft/client/util/profiler/SamplingRecorder;field_33884:D
  • Constructor Details

  • Method Details

    • create

      public static SamplingRecorder create(String string, SamplingChannel samplingChannel, DoubleSupplier doubleSupplier)
      Mappings:
      Namespace Name Mixin selector
      official a Lapz;a(Ljava/lang/String;Lapy;Ljava/util/function/DoubleSupplier;)Lapz;
      intermediary method_34776 Lnet/minecraft/class_5965;method_34776(Ljava/lang/String;Lnet/minecraft/class_5949;Ljava/util/function/DoubleSupplier;)Lnet/minecraft/class_5965;
      named create Lnet/minecraft/client/util/profiler/SamplingRecorder;create(Ljava/lang/String;Lnet/minecraft/client/util/profiler/SamplingChannel;Ljava/util/function/DoubleSupplier;)Lnet/minecraft/client/util/profiler/SamplingRecorder;
    • create

      public static <T> SamplingRecorder create(String string, SamplingChannel samplingChannel, T t, ToDoubleFunction<T> toDoubleFunction)
      Mappings:
      Namespace Name Mixin selector
      official a Lapz;a(Ljava/lang/String;Lapy;Ljava/lang/Object;Ljava/util/function/ToDoubleFunction;)Lapz;
      intermediary method_34778 Lnet/minecraft/class_5965;method_34778(Ljava/lang/String;Lnet/minecraft/class_5949;Ljava/lang/Object;Ljava/util/function/ToDoubleFunction;)Lnet/minecraft/class_5965;
      named create Lnet/minecraft/client/util/profiler/SamplingRecorder;create(Ljava/lang/String;Lnet/minecraft/client/util/profiler/SamplingChannel;Ljava/lang/Object;Ljava/util/function/ToDoubleFunction;)Lnet/minecraft/client/util/profiler/SamplingRecorder;
    • create

      public static <T> SamplingRecorder.Builder<T> create(String name, SamplingChannel samplingChannel, ToDoubleFunction<T> toDoubleFunction, T t)
      Mappings:
      Namespace Name Mixin selector
      official a Lapz;a(Ljava/lang/String;Lapy;Ljava/util/function/ToDoubleFunction;Ljava/lang/Object;)Lapz$a;
      intermediary method_34779 Lnet/minecraft/class_5965;method_34779(Ljava/lang/String;Lnet/minecraft/class_5949;Ljava/util/function/ToDoubleFunction;Ljava/lang/Object;)Lnet/minecraft/class_5965$class_5966;
      named create Lnet/minecraft/client/util/profiler/SamplingRecorder;create(Ljava/lang/String;Lnet/minecraft/client/util/profiler/SamplingChannel;Ljava/util/function/ToDoubleFunction;Ljava/lang/Object;)Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;
    • start

      public void start()
      Mappings:
      Namespace Name Mixin selector
      official a Lapz;a()V
      intermediary method_34780 Lnet/minecraft/class_5965;method_34780()V
      named start Lnet/minecraft/client/util/profiler/SamplingRecorder;start()V
    • sample

      public void sample(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lapz;a(I)V
      intermediary method_34781 Lnet/minecraft/class_5965;method_34781(I)V
      named sample Lnet/minecraft/client/util/profiler/SamplingRecorder;sample(I)V
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      official b Lapz;b()V
      intermediary method_34782 Lnet/minecraft/class_5965;method_34782()V
      named stop Lnet/minecraft/client/util/profiler/SamplingRecorder;stop()V
    • checkState

      private void checkState()
      Mappings:
      Namespace Name Mixin selector
      official h Lapz;h()V
      intermediary method_34786 Lnet/minecraft/class_5965;method_34786()V
      named checkState Lnet/minecraft/client/util/profiler/SamplingRecorder;checkState()V
    • method_37170

      DoubleSupplier method_37170()
      Mappings:
      Namespace Name Mixin selector
      official c Lapz;c()Ljava/util/function/DoubleSupplier;
      intermediary method_37170 Lnet/minecraft/class_5965;method_37170()Ljava/util/function/DoubleSupplier;
      named method_37170 Lnet/minecraft/client/util/profiler/SamplingRecorder;method_37170()Ljava/util/function/DoubleSupplier;
    • method_37171

      public String method_37171()
      Mappings:
      Namespace Name Mixin selector
      official d Lapz;d()Ljava/lang/String;
      intermediary method_37171 Lnet/minecraft/class_5965;method_37171()Ljava/lang/String;
      named method_37171 Lnet/minecraft/client/util/profiler/SamplingRecorder;method_37171()Ljava/lang/String;
    • method_37172

      public SamplingChannel method_37172()
      Mappings:
      Namespace Name Mixin selector
      official e Lapz;e()Lapy;
      intermediary method_37172 Lnet/minecraft/class_5965;method_37172()Lnet/minecraft/class_5949;
      named method_37172 Lnet/minecraft/client/util/profiler/SamplingRecorder;method_37172()Lnet/minecraft/client/util/profiler/SamplingChannel;
    • method_37173

      public SamplingRecorder.class_6398 method_37173()
      Mappings:
      Namespace Name Mixin selector
      official f Lapz;f()Lapz$b;
      intermediary method_37173 Lnet/minecraft/class_5965;method_37173()Lnet/minecraft/class_5965$class_6398;
      named method_37173 Lnet/minecraft/client/util/profiler/SamplingRecorder;method_37173()Lnet/minecraft/client/util/profiler/SamplingRecorder$class_6398;
    • method_37174

      public boolean method_37174()
      Mappings:
      Namespace Name Mixin selector
      official g Lapz;g()Z
      intermediary method_37174 Lnet/minecraft/class_5965;method_37174()Z
      named method_37174 Lnet/minecraft/client/util/profiler/SamplingRecorder;method_37174()Z
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object