Class JfrListener

java.lang.Object
net.minecraft.util.profiling.jfr.JfrListener

public class JfrListener extends Object
Mappings:
Namespace Name
official bha
intermediary net/minecraft/class_6507
named net/minecraft/util/profiling/jfr/JfrListener
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lbha;a:Lorg/slf4j/Logger;
      intermediary field_34926 Lnet/minecraft/class_6507;field_34926:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/util/profiling/jfr/JfrListener;LOGGER:Lorg/slf4j/Logger;
    • stopCallback

      private final Runnable stopCallback
      Mappings:
      Namespace Name Mixin selector
      official b Lbha;b:Ljava/lang/Runnable;
      intermediary field_34417 Lnet/minecraft/class_6507;field_34417:Ljava/lang/Runnable;
      named stopCallback Lnet/minecraft/util/profiling/jfr/JfrListener;stopCallback:Ljava/lang/Runnable;
  • Constructor Details

    • JfrListener

      protected JfrListener(Runnable stopCallback)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbha;<init>(Ljava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_6507;<init>(Ljava/lang/Runnable;)V
      named <init> Lnet/minecraft/util/profiling/jfr/JfrListener;<init>(Ljava/lang/Runnable;)V
  • Method Details

    • stop

      public void stop(@Nullable @Nullable Path dumpPath)
      Mappings:
      Namespace Name Mixin selector
      official a Lbha;a(Ljava/nio/file/Path;)V
      intermediary method_38663 Lnet/minecraft/class_6507;method_38663(Ljava/nio/file/Path;)V
      named stop Lnet/minecraft/util/profiling/jfr/JfrListener;stop(Ljava/nio/file/Path;)V
    • log

      private static void log(Supplier<String> logSupplier)
      Mappings:
      Namespace Name Mixin selector
      official a Lbha;a(Ljava/util/function/Supplier;)V
      intermediary method_37991 Lnet/minecraft/class_6507;method_37991(Ljava/util/function/Supplier;)V
      named log Lnet/minecraft/util/profiling/jfr/JfrListener;log(Ljava/util/function/Supplier;)V
    • warn

      private static void warn(Supplier<String> logSupplier, Throwable throwable)
      Mappings:
      Namespace Name Mixin selector
      official a Lbha;a(Ljava/util/function/Supplier;Ljava/lang/Throwable;)V
      intermediary method_37992 Lnet/minecraft/class_6507;method_37992(Ljava/util/function/Supplier;Ljava/lang/Throwable;)V
      named warn Lnet/minecraft/util/profiling/jfr/JfrListener;warn(Ljava/util/function/Supplier;Ljava/lang/Throwable;)V