Package net.minecraft.server.command
Class DebugCommand
java.lang.Object
net.minecraft.server.command.DebugCommand
public class DebugCommand extends Object
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ALREADY_RUNNING_EXCEPTION
private static FileSystemProvider
FILE_SYSTEM_PROVIDER
private static Logger
LOGGER
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
NOT_RUNNING_EXCEPTION
-
Constructor Summary
Constructors Constructor Description DebugCommand()
-
Method Summary
Modifier and Type Method Description private static int
createDebugReport(ServerCommandSource source)
private static int
executeStart(ServerCommandSource source)
private static int
executeStop(ServerCommandSource source)
static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
LOGGER
-
NOT_RUNNING_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NOT_RUNNING_EXCEPTION -
ALREADY_RUNNING_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_RUNNING_EXCEPTION -
FILE_SYSTEM_PROVIDER
-
-
Constructor Details
-
DebugCommand
public DebugCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
executeStart
private static int executeStart(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
executeStop
private static int executeStop(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
createDebugReport
-