Class PerfCommand
java.lang.Object
net.minecraft.server.dedicated.command.PerfCommand
- Mappings:
Namespace Name named net/minecraft/server/dedicated/command/PerfCommand
intermediary net/minecraft/class_6413
official aoc
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final Logger
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
executeStart
(ServerCommandSource source) private static int
executeStop
(ServerCommandSource source) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static void
saveReport
(ServerCommandSource source, Path tempProfilingDirectory, MinecraftServer server) private static void
sendProfilingStoppedMessage
(ServerCommandSource source, ProfileResult result)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/server/dedicated/command/PerfCommand;LOGGER:Lorg/slf4j/Logger;
intermediary field_33985
Lnet/minecraft/class_6413;field_33985:Lorg/slf4j/Logger;
official a
Laoc;a:Lorg/slf4j/Logger;
-
NOT_RUNNING_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NOT_RUNNING_EXCEPTION- Mappings:
Namespace Name Mixin selector named NOT_RUNNING_EXCEPTION
Lnet/minecraft/server/dedicated/command/PerfCommand;NOT_RUNNING_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_33986
Lnet/minecraft/class_6413;field_33986:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official b
Laoc;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
ALREADY_RUNNING_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_RUNNING_EXCEPTION- Mappings:
Namespace Name Mixin selector named ALREADY_RUNNING_EXCEPTION
Lnet/minecraft/server/dedicated/command/PerfCommand;ALREADY_RUNNING_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_33987
Lnet/minecraft/class_6413;field_33987:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official c
Laoc;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
PerfCommand
public PerfCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/server/dedicated/command/PerfCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_37331
Lnet/minecraft/class_6413;method_37331(Lcom/mojang/brigadier/CommandDispatcher;)V
official a
Laoc;a(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 named executeStart
Lnet/minecraft/server/dedicated/command/PerfCommand;executeStart(Lnet/minecraft/server/command/ServerCommandSource;)I
intermediary method_37333
Lnet/minecraft/class_6413;method_37333(Lnet/minecraft/class_2168;)I
official a
Laoc;a(Lep;)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 named executeStop
Lnet/minecraft/server/dedicated/command/PerfCommand;executeStop(Lnet/minecraft/server/command/ServerCommandSource;)I
intermediary method_37338
Lnet/minecraft/class_6413;method_37338(Lnet/minecraft/class_2168;)I
official b
Laoc;b(Lep;)I
-
saveReport
private static void saveReport(ServerCommandSource source, Path tempProfilingDirectory, MinecraftServer server) - Mappings:
Namespace Name Mixin selector named saveReport
Lnet/minecraft/server/dedicated/command/PerfCommand;saveReport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/nio/file/Path;Lnet/minecraft/server/MinecraftServer;)V
intermediary method_37335
Lnet/minecraft/class_6413;method_37335(Lnet/minecraft/class_2168;Ljava/nio/file/Path;Lnet/minecraft/server/MinecraftServer;)V
official a
Laoc;a(Lep;Ljava/nio/file/Path;Lnet/minecraft/server/MinecraftServer;)V
-
sendProfilingStoppedMessage
- Mappings:
Namespace Name Mixin selector named sendProfilingStoppedMessage
Lnet/minecraft/server/dedicated/command/PerfCommand;sendProfilingStoppedMessage(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/profiler/ProfileResult;)V
intermediary method_37334
Lnet/minecraft/class_6413;method_37334(Lnet/minecraft/class_2168;Lnet/minecraft/class_3696;)V
official a
Laoc;a(Lep;Lbni;)V
-