public static class CommandFunction.CommandElement extends Object implements CommandFunction.Element
Modifier and Type | Field and Description |
---|---|
private com.mojang.brigadier.ParseResults<ServerCommandSource> |
parsed |
Constructor and Description |
---|
CommandElement(com.mojang.brigadier.ParseResults<ServerCommandSource> parsed) |
Modifier and Type | Method and Description |
---|---|
void |
execute(CommandFunctionManager manager,
ServerCommandSource source,
ArrayDeque<CommandFunctionManager.Entry> stack,
int maxChainLength) |
String |
toString() |
private final com.mojang.brigadier.ParseResults<ServerCommandSource> parsed
public CommandElement(com.mojang.brigadier.ParseResults<ServerCommandSource> parsed)
public void execute(CommandFunctionManager manager, ServerCommandSource source, ArrayDeque<CommandFunctionManager.Entry> stack, int maxChainLength)
execute
in interface CommandFunction.Element