Reassign
When using the COMMAND_REASSIGN
command mode, it will reassign the existing command to a new command name.
Create a command alias using COMMAND_REASSIGN
COMMAND_REASSIGN
First, we need to set our command mode to COMMAND_REASSIGN
.
JSON or JSON5
TOML
YAML
Now that we have set our command mode, we can define our new command.
JSON or JSON5
TOML
YAML
Finally, we chose what existing command our new command will reassign to. In this case, I chose the /help
command.
JSON or JSON5
TOML
YAML
Congratulations, you have now reassigned the command /help
to /minecraft:help
.
Note: The reassignTo
field must not contain any spaces.
Examples
Game Mode Command
JSON or JSON5
TOML
YAML
Last updated
Was this helpful?