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.SimpleCommandExceptionTypeALREADY_RUNNING_EXCEPTIONprivate static FileSystemProviderFILE_SYSTEM_PROVIDERprivate static LoggerLOGGERprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeNOT_RUNNING_EXCEPTION -
Constructor Summary
Constructors Constructor Description DebugCommand() -
Method Summary
Modifier and Type Method Description private static intcreateDebugReport(ServerCommandSource source)private static intexecuteStart(ServerCommandSource source)private static intexecuteStop(ServerCommandSource source)static voidregister(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
-