Block Documentation - run_command
run_command
is an event response that will trigger a slash command or a series of slash commands set in an array.
Extra Parameters
run_command
can use the following parameters
Name | Default Value | Type | Description |
---|---|---|---|
command | not set | String | Slash command to run. |
command array | not set | Array | List of slash commands to run. |
target | self | Minecraft Filter | The target context to execute against. |
Example
"run_command":{
"command" : "/give @p emerald",
"command array": [], //not used
"target" : "self"
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for