Package net.minecraft.util.profiling.jfr
Class FlightProfiler.NoopProfiler
java.lang.Object
net.minecraft.util.profiling.jfr.FlightProfiler.NoopProfiler
- All Implemented Interfaces:
FlightProfiler
- Enclosing interface:
- FlightProfiler
- Mappings:
Namespace Name official aqv$a
intermediary net/minecraft/class_6611$class_6612
named net/minecraft/util/profiling/jfr/FlightProfiler$NoopProfiler
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.profiling.jfr.FlightProfiler
FlightProfiler.NoopProfiler
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Logger
(package private) static final Finishable
Fields inherited from interface net.minecraft.util.profiling.jfr.FlightProfiler
INSTANCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
onPacketReceived
(Supplier<String> packetNameSupplier, SocketAddress remoteAddress, int bytes) void
onPacketSent
(Supplier<String> packetNameSupplier, SocketAddress remoteAddress, int bytes) void
onTick
(float tickTime) void
boolean
start
(InstanceType instanceType) startChunkGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) stop()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Laqv$a;a:Lorg/apache/logging/log4j/Logger;
intermediary field_34924
Lnet/minecraft/class_6611$class_6612;field_34924:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/util/profiling/jfr/FlightProfiler$NoopProfiler;LOGGER:Lorg/apache/logging/log4j/Logger;
-
NOOP
- Mappings:
Namespace Name Mixin selector official b
Laqv$a;b:Laqy;
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
-
registerEvents
public void registerEvents()- Specified by:
registerEvents
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official a
Laqv;a()V
intermediary method_38653
Lnet/minecraft/class_6611;method_38653()V
named registerEvents
Lnet/minecraft/util/profiling/jfr/FlightProfiler;registerEvents()V
-
start
- Specified by:
start
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Laqt;)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
- Specified by:
stop
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official b
Laqv;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 interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official c
Laqv;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 interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official d
Laqv;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(Supplier<String> packetNameSupplier, SocketAddress remoteAddress, int bytes) - Specified by:
onPacketReceived
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Ljava/util/function/Supplier;Ljava/net/SocketAddress;I)V
intermediary method_38656
Lnet/minecraft/class_6611;method_38656(Ljava/util/function/Supplier;Ljava/net/SocketAddress;I)V
named onPacketReceived
Lnet/minecraft/util/profiling/jfr/FlightProfiler;onPacketReceived(Ljava/util/function/Supplier;Ljava/net/SocketAddress;I)V
-
onPacketSent
public void onPacketSent(Supplier<String> packetNameSupplier, SocketAddress remoteAddress, int bytes) - Specified by:
onPacketSent
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Ljava/util/function/Supplier;Ljava/net/SocketAddress;I)V
intermediary method_38657
Lnet/minecraft/class_6611;method_38657(Ljava/util/function/Supplier;Ljava/net/SocketAddress;I)V
named onPacketSent
Lnet/minecraft/util/profiling/jfr/FlightProfiler;onPacketSent(Ljava/util/function/Supplier;Ljava/net/SocketAddress;I)V
-
onTick
public void onTick(float tickTime) - Specified by:
onTick
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official a
Laqv;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
- Specified by:
startWorldLoadProfiling
in interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official e
Laqv;e()Laqy;
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 interfaceFlightProfiler
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lbxq;Lwy;Ljava/lang/String;)Laqy;
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/util/registry/RegistryKey;Ljava/lang/String;)Lnet/minecraft/util/profiling/jfr/Finishable;
-