Class DebugCommand.TraceCustomExecutor
java.lang.Object
net.minecraft.commands.execution.CustomCommandExecutor.WithErrorHandling<CommandSourceStack>
net.minecraft.server.commands.DebugCommand.TraceCustomExecutor
- All Implemented Interfaces:
com.mojang.brigadier.Command<CommandSourceStack>, CustomCommandExecutor<CommandSourceStack>, CustomCommandExecutor.CommandAdapter<CommandSourceStack>
- Enclosing class:
DebugCommand
private static class DebugCommand.TraceCustomExecutor
extends CustomCommandExecutor.WithErrorHandling<CommandSourceStack>
implements CustomCommandExecutor.CommandAdapter<CommandSourceStack>
-
Nested Class Summary
Nested classes/interfaces inherited from interface CustomCommandExecutor
CustomCommandExecutor.CommandAdapter<T>, CustomCommandExecutor.WithErrorHandling<T> -
Field Summary
Fields inherited from interface com.mojang.brigadier.Command
SINGLE_SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrunGuarded(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> context) Methods inherited from class CustomCommandExecutor.WithErrorHandling
onError, runMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CustomCommandExecutor
runMethods inherited from interface CustomCommandExecutor.CommandAdapter
run
-
Constructor Details
-
TraceCustomExecutor
private TraceCustomExecutor()
-
-
Method Details
-
runGuarded
public void runGuarded(CommandSourceStack source, com.mojang.brigadier.context.ContextChain<CommandSourceStack> currentStep, ChainModifiers modifiers, ExecutionControl<CommandSourceStack> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
runGuardedin classCustomCommandExecutor.WithErrorHandling<CommandSourceStack>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-