Class PerfCommand
java.lang.Object
net.minecraft.server.dedicated.command.PerfCommand
- Mappings:
Namespace Name official afjintermediary net/minecraft/class_6413named net/minecraft/server/dedicated/command/PerfCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final Loggerprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intexecuteStart(ServerCommandSource source) private static intexecuteStop(ServerCommandSource source) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static voidsaveReport(ServerCommandSource source, Path tempProfilingDirectory, MinecraftServer server) private static voidsendProfilingStoppedMessage(ServerCommandSource source, ProfileResult result)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLafj;a:Lorg/slf4j/Logger;intermediary field_33985Lnet/minecraft/class_6413;field_33985:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/server/dedicated/command/PerfCommand;LOGGER:Lorg/slf4j/Logger;
-
NOT_RUNNING_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NOT_RUNNING_EXCEPTION- Mappings:
Namespace Name Mixin selector official bLafj;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_33986Lnet/minecraft/class_6413;field_33986:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named NOT_RUNNING_EXCEPTIONLnet/minecraft/server/dedicated/command/PerfCommand;NOT_RUNNING_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
ALREADY_RUNNING_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_RUNNING_EXCEPTION- Mappings:
Namespace Name Mixin selector official cLafj;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_33987Lnet/minecraft/class_6413;field_33987:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named ALREADY_RUNNING_EXCEPTIONLnet/minecraft/server/dedicated/command/PerfCommand;ALREADY_RUNNING_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
PerfCommand
public PerfCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official aLafj;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_37331Lnet/minecraft/class_6413;method_37331(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/dedicated/command/PerfCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeStart
private static int executeStart(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLafj;a(Lds;)Iintermediary method_37333Lnet/minecraft/class_6413;method_37333(Lnet/minecraft/class_2168;)Inamed executeStartLnet/minecraft/server/dedicated/command/PerfCommand;executeStart(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeStop
private static int executeStop(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official bLafj;b(Lds;)Iintermediary method_37338Lnet/minecraft/class_6413;method_37338(Lnet/minecraft/class_2168;)Inamed executeStopLnet/minecraft/server/dedicated/command/PerfCommand;executeStop(Lnet/minecraft/server/command/ServerCommandSource;)I
-
saveReport
private static void saveReport(ServerCommandSource source, Path tempProfilingDirectory, MinecraftServer server) - Mappings:
Namespace Name Mixin selector official aLafj;a(Lds;Ljava/nio/file/Path;Lnet/minecraft/server/MinecraftServer;)Vintermediary method_37335Lnet/minecraft/class_6413;method_37335(Lnet/minecraft/class_2168;Ljava/nio/file/Path;Lnet/minecraft/server/MinecraftServer;)Vnamed saveReportLnet/minecraft/server/dedicated/command/PerfCommand;saveReport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/nio/file/Path;Lnet/minecraft/server/MinecraftServer;)V
-
sendProfilingStoppedMessage
- Mappings:
Namespace Name Mixin selector official aLafj;a(Lds;Lbal;)Vintermediary method_37334Lnet/minecraft/class_6413;method_37334(Lnet/minecraft/class_2168;Lnet/minecraft/class_3696;)Vnamed sendProfilingStoppedMessageLnet/minecraft/server/dedicated/command/PerfCommand;sendProfilingStoppedMessage(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/profiler/ProfileResult;)V
-