Class DebugCommand
java.lang.Object
net.minecraft.server.commands.DebugCommand
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final org.slf4j.Loggerprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static intstart(CommandSourceStack source) private static intstop(CommandSourceStack source)
-
Field Details
-
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 -
NO_RECURSIVE_TRACES
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_RECURSIVE_TRACES -
NO_RETURN_RUN
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_RETURN_RUN
-
-
Constructor Details
-
DebugCommand
public DebugCommand()
-
-
Method Details
-
register
-
start
private static int start(CommandSourceStack source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
stop
private static int stop(CommandSourceStack source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-