CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
A list of arguments which results in an execution. More...
Public Member Functions | |
Execution (List< Argument > arguments, CommandAPIExecutor< CommandSender, AbstractCommandSender<? extends CommandSender > > executor) | |
void | register (CommandMetaData< CommandSender > meta, String namespace) |
Register a command with the given arguments and executor to brigadier, by converting it into a AbstractCommandAPICommand . More... | |
Execution< CommandSender, Argument > | prependedBy (Argument argument) |
A list of arguments which results in an execution.
This is used for building branches in a AbstractCommandTree
void dev.jorel.commandapi.Execution< CommandSender, Argument >.register | ( | CommandMetaData< CommandSender > | meta, |
String | namespace | ||
) |
Register a command with the given arguments and executor to brigadier, by converting it into a AbstractCommandAPICommand
.
meta | The metadata to register the command with |
namespace | The namespace to use for this command |