Class SamplingRecorder.Builder<T>

java.lang.Object
net.minecraft.client.util.profiler.SamplingRecorder.Builder<T>
Enclosing class:
SamplingRecorder

public static class SamplingRecorder.Builder<T> extends Object
Mappings:
Namespace Name
official apz$a
intermediary net/minecraft/class_5965$class_5966
named net/minecraft/client/util/profiler/SamplingRecorder$Builder
  • Field Details

    • field_33885

      private final String field_33885
      Mappings:
      Namespace Name Mixin selector
      official a Lapz$a;a:Ljava/lang/String;
      intermediary field_33885 Lnet/minecraft/class_5965$class_5966;field_33885:Ljava/lang/String;
      named field_33885 Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;field_33885:Ljava/lang/String;
    • field_33886

      private final SamplingChannel field_33886
      Mappings:
      Namespace Name Mixin selector
      official b Lapz$a;b:Lapy;
      intermediary field_33886 Lnet/minecraft/class_5965$class_5966;field_33886:Lnet/minecraft/class_5949;
      named field_33886 Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;field_33886:Lnet/minecraft/client/util/profiler/SamplingChannel;
    • timeGetter

      private final DoubleSupplier timeGetter
      Mappings:
      Namespace Name Mixin selector
      official c Lapz$a;c:Ljava/util/function/DoubleSupplier;
      intermediary field_29605 Lnet/minecraft/class_5965$class_5966;field_29605:Ljava/util/function/DoubleSupplier;
      named timeGetter Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;timeGetter:Ljava/util/function/DoubleSupplier;
    • context

      private final T context
      Mappings:
      Namespace Name Mixin selector
      official d Lapz$a;d:Ljava/lang/Object;
      intermediary field_29606 Lnet/minecraft/class_5965$class_5966;field_29606:Ljava/lang/Object;
      named context Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;context:Ljava/lang/Object;
    • startAction

      @Nullable private @Nullable Runnable startAction
      Mappings:
      Namespace Name Mixin selector
      official e Lapz$a;e:Ljava/lang/Runnable;
      intermediary field_29607 Lnet/minecraft/class_5965$class_5966;field_29607:Ljava/lang/Runnable;
      named startAction Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;startAction:Ljava/lang/Runnable;
    • writeAction

      Mappings:
      Namespace Name Mixin selector
      official f Lapz$a;f:Lapz$c;
      intermediary field_29608 Lnet/minecraft/class_5965$class_5966;field_29608:Lnet/minecraft/class_5965$class_5967;
      named writeAction Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;writeAction:Lnet/minecraft/client/util/profiler/SamplingRecorder$ValueConsumer;
  • Constructor Details

  • Method Details

    • startAction

      public SamplingRecorder.Builder<T> startAction(Consumer<T> action)
      Mappings:
      Namespace Name Mixin selector
      official a Lapz$a;a(Ljava/util/function/Consumer;)Lapz$a;
      intermediary method_34789 Lnet/minecraft/class_5965$class_5966;method_34789(Ljava/util/function/Consumer;)Lnet/minecraft/class_5965$class_5966;
      named startAction Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;startAction(Ljava/util/function/Consumer;)Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;
    • writeAction

      public SamplingRecorder.Builder<T> writeAction(SamplingRecorder.ValueConsumer writeAction)
      Mappings:
      Namespace Name Mixin selector
      official a Lapz$a;a(Lapz$c;)Lapz$a;
      intermediary method_34788 Lnet/minecraft/class_5965$class_5966;method_34788(Lnet/minecraft/class_5965$class_5967;)Lnet/minecraft/class_5965$class_5966;
      named writeAction Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;writeAction(Lnet/minecraft/client/util/profiler/SamplingRecorder$ValueConsumer;)Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;
    • create

      public SamplingRecorder create()
      Mappings:
      Namespace Name Mixin selector
      official a Lapz$a;a()Lapz;
      intermediary method_34787 Lnet/minecraft/class_5965$class_5966;method_34787()Lnet/minecraft/class_5965;
      named create Lnet/minecraft/client/util/profiler/SamplingRecorder$Builder;create()Lnet/minecraft/client/util/profiler/SamplingRecorder;