Welcome to the API documentation for Bedrock Custom Commands! This section provides detailed information about the various classes and components that make up the custom command handler’s API.
Command
class and how to create custom
commands.CommandArgument
class for
defining command arguments.CommandBuilder
class to build commands.CommandFlag
class and
how flags are processed.CommandCallback
class for
command execution.CommandContext
class and
its role in command execution.CommandError
class for handling
errors during command execution.ParsedArgs
class and its usage in
parsed command arguments.CommandRegistry
class for command registration.CommandToken
class used in
command parsing.CommandTypeParser
class and its role in argument parsing.tokenizeCommand
function
and its importance in command parsing.These API documents provide comprehensive insights into the components that enable custom command creation, execution, and parsing in Bedrock Custom Commands. Use the links above to explore specific areas of interest.