Class FlightProfiler.NoopProfiler

java.lang.Object
net.minecraft.util.profiling.jfr.FlightProfiler.NoopProfiler
All Implemented Interfaces:
FlightProfiler
Enclosing interface:
FlightProfiler

public static class FlightProfiler.NoopProfiler extends Object implements FlightProfiler
Mappings:
Namespace Name
official bat$a
intermediary net/minecraft/class_6611$class_6612
named net/minecraft/util/profiling/jfr/FlightProfiler$NoopProfiler
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lbat$a;b:Lorg/slf4j/Logger;
      intermediary field_34924 Lnet/minecraft/class_6611$class_6612;field_34924:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/util/profiling/jfr/FlightProfiler$NoopProfiler;LOGGER:Lorg/slf4j/Logger;
    • NOOP

      static final Finishable NOOP
      Mappings:
      Namespace Name Mixin selector
      official a Lbat$a;a:Lbaw;
      intermediary field_34925 Lnet/minecraft/class_6611$class_6612;field_34925:Lnet/minecraft/class_6613;
      named NOOP Lnet/minecraft/util/profiling/jfr/FlightProfiler$NoopProfiler;NOOP:Lnet/minecraft/util/profiling/jfr/Finishable;
  • Constructor Details

    • NoopProfiler

      public NoopProfiler()
  • Method Details

    • start

      public boolean start(InstanceType instanceType)
      Specified by:
      start in interface FlightProfiler
      Mappings:
      Namespace Name Mixin selector
      official a Lbat;a(Lbar;)Z
      intermediary method_37981 Lnet/minecraft/class_6611;method_37981(Lnet/minecraft/class_6506;)Z
      named start Lnet/minecraft/util/profiling/jfr/FlightProfiler;start(Lnet/minecraft/util/profiling/jfr/InstanceType;)Z
    • stop

      public Path stop()
      Specified by:
      stop in interface FlightProfiler
      Mappings:
      Namespace Name Mixin selector
      official b Lbat;b()Ljava/nio/file/Path;
      intermediary method_37980 Lnet/minecraft/class_6611;method_37980()Ljava/nio/file/Path;
      named stop Lnet/minecraft/util/profiling/jfr/FlightProfiler;stop()Ljava/nio/file/Path;
    • isProfiling

      public boolean isProfiling()
      Specified by:
      isProfiling in interface FlightProfiler
      Mappings:
      Namespace Name Mixin selector
      official c Lbat;c()Z
      intermediary method_37984 Lnet/minecraft/class_6611;method_37984()Z
      named isProfiling Lnet/minecraft/util/profiling/jfr/FlightProfiler;isProfiling()Z
    • isAvailable

      public boolean isAvailable()
      Specified by:
      isAvailable in interface FlightProfiler
      Mappings:
      Namespace Name Mixin selector
      official d Lbat;d()Z
      intermediary method_38658 Lnet/minecraft/class_6611;method_38658()Z
      named isAvailable Lnet/minecraft/util/profiling/jfr/FlightProfiler;isAvailable()Z
    • onPacketReceived

      public void onPacketReceived(int protocolId, int packetId, SocketAddress remoteAddress, int bytes)
      Specified by:
      onPacketReceived in interface FlightProfiler
      Mappings:
      Namespace Name Mixin selector
      official a Lbat;a(IILjava/net/SocketAddress;I)V
      intermediary method_38656 Lnet/minecraft/class_6611;method_38656(IILjava/net/SocketAddress;I)V
      named onPacketReceived Lnet/minecraft/util/profiling/jfr/FlightProfiler;onPacketReceived(IILjava/net/SocketAddress;I)V
    • onPacketSent

      public void onPacketSent(int protocolId, int packetId, SocketAddress remoteAddress, int bytes)
      Specified by:
      onPacketSent in interface FlightProfiler
      Mappings:
      Namespace Name Mixin selector
      official b Lbat;b(IILjava/net/SocketAddress;I)V
      intermediary method_38657 Lnet/minecraft/class_6611;method_38657(IILjava/net/SocketAddress;I)V
      named onPacketSent Lnet/minecraft/util/profiling/jfr/FlightProfiler;onPacketSent(IILjava/net/SocketAddress;I)V
    • onTick

      public void onTick(float tickTime)
      Specified by:
      onTick in interface FlightProfiler
      Mappings:
      Namespace Name Mixin selector
      official a Lbat;a(F)V
      intermediary method_38654 Lnet/minecraft/class_6611;method_38654(F)V
      named onTick Lnet/minecraft/util/profiling/jfr/FlightProfiler;onTick(F)V
    • startWorldLoadProfiling

      public Finishable startWorldLoadProfiling()
      Specified by:
      startWorldLoadProfiling in interface FlightProfiler
      Mappings:
      Namespace Name Mixin selector
      official e Lbat;e()Lbaw;
      intermediary method_38659 Lnet/minecraft/class_6611;method_38659()Lnet/minecraft/class_6613;
      named startWorldLoadProfiling Lnet/minecraft/util/profiling/jfr/FlightProfiler;startWorldLoadProfiling()Lnet/minecraft/util/profiling/jfr/Finishable;
    • startChunkGenerationProfiling

      @Nullable public @Nullable Finishable startChunkGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus)
      Specified by:
      startChunkGenerationProfiling in interface FlightProfiler
      Mappings:
      Namespace Name Mixin selector
      official a Lbat;a(Lclt;Lacp;Ljava/lang/String;)Lbaw;
      intermediary method_38655 Lnet/minecraft/class_6611;method_38655(Lnet/minecraft/class_1923;Lnet/minecraft/class_5321;Ljava/lang/String;)Lnet/minecraft/class_6613;
      named startChunkGenerationProfiling Lnet/minecraft/util/profiling/jfr/FlightProfiler;startChunkGenerationProfiling(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/registry/RegistryKey;Ljava/lang/String;)Lnet/minecraft/util/profiling/jfr/Finishable;