Beta
Define the custom command, including name, permissions, and parameters.
Custom Command APIs are released as part of Scripting API 2.0 Beta in Minecraft v1.21.80. Here's a video from Mojang that covers the custom command APIs.
Command description as seen on the command line.
Optional
List of mandatory command parameters.
The name of the command. A namespace is required.
List of optional command parameters.
The permission level required to execute the command.
Define the custom command, including name, permissions, and parameters.
Custom Command APIs are released as part of Scripting API 2.0 Beta in Minecraft v1.21.80. Here's a video from Mojang that covers the custom command APIs.