Package net.minecraft.server.commands
Class PerfCommand
java.lang.Object
net.minecraft.server.commands.PerfCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final org.slf4j.Logger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_180438_) private static voidsaveResults(CommandSourceStack p_180447_, Path p_180448_, MinecraftServer p_180449_) private static intstartProfilingDedicatedServer(CommandSourceStack p_180442_) private static intstopProfilingDedicatedServer(CommandSourceStack p_180457_) private static voidwhenStopped(CommandSourceStack p_180444_, ProfileResults p_180445_) 
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
ERROR_NOT_RUNNINGprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NOT_RUNNING
- 
ERROR_ALREADY_RUNNINGprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_RUNNING
 
- 
- 
Constructor Details- 
PerfCommandpublic PerfCommand()
 
- 
- 
Method Details- 
register
- 
startProfilingDedicatedServerprivate static int startProfilingDedicatedServer(CommandSourceStack p_180442_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
stopProfilingDedicatedServerprivate static int stopProfilingDedicatedServer(CommandSourceStack p_180457_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
saveResultsprivate static void saveResults(CommandSourceStack p_180447_, Path p_180448_, MinecraftServer p_180449_) 
- 
whenStopped
 
-