类 PerfCommand
java.lang.Object
net.minecraft.server.commands.PerfCommand
-
字段概要
字段修饰符和类型字段说明private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final org.slf4j.Logger
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_180438_) private static void
saveResults
(CommandSourceStack p_180447_, Path p_180448_, MinecraftServer p_180449_) private static int
startProfilingDedicatedServer
(CommandSourceStack p_180442_) private static int
stopProfilingDedicatedServer
(CommandSourceStack p_180457_) private static void
whenStopped
(CommandSourceStack p_180444_, ProfileResults p_180445_)
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
ERROR_NOT_RUNNING
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NOT_RUNNING -
ERROR_ALREADY_RUNNING
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_RUNNING
-
-
构造器详细资料
-
PerfCommand
public PerfCommand()
-
-
方法详细资料
-
register
-
startProfilingDedicatedServer
private static int startProfilingDedicatedServer(CommandSourceStack p_180442_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
stopProfilingDedicatedServer
private static int stopProfilingDedicatedServer(CommandSourceStack p_180457_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
saveResults
private static void saveResults(CommandSourceStack p_180447_, Path p_180448_, MinecraftServer p_180449_) -
whenStopped
-