Beta
Provides the functionality for registering custom commands.
The callback triggered when the command executes.
Registers a custom command that when executed triggers a script callback.
This function can't be called in read-only mode.
This function can be called in early-execution mode.
This function can throw errors.
CustomCommandError
minecraftcommon.EngineError
NamespaceNameError
Provides the functionality for registering custom commands.