Package net.minecraft.server.commands
Class JfrCommand
java.lang.Object
net.minecraft.server.commands.JfrCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_183646_) private static int
startJfr
(CommandSourceStack p_183650_) private static int
stopJfr
(CommandSourceStack p_183659_)
-
Field Details
-
START_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType START_FAILED -
DUMP_FAILED
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType DUMP_FAILED
-
-
Constructor Details
-
JfrCommand
private JfrCommand()
-
-
Method Details
-
register
-
startJfr
private static int startJfr(CommandSourceStack p_183650_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
stopJfr
private static int stopJfr(CommandSourceStack p_183659_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-