2021-01-06 14:07:24 +01:00
|
|
|
{
|
2021-04-04 13:52:35 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.1.16.100.block.events.run_command",
|
2021-01-06 14:07:24 +01:00
|
|
|
"type": "object",
|
|
|
|
|
"description": "Triggers a slash command or a list of slash commands.",
|
2021-03-21 15:18:38 +01:00
|
|
|
"title": "Run Command",
|
2021-01-06 14:07:24 +01:00
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"command": {
|
|
|
|
|
"default": "",
|
|
|
|
|
"description": "Slash command to run.",
|
2021-01-18 01:29:00 +01:00
|
|
|
"title": "Command",
|
2021-03-21 15:18:38 +01:00
|
|
|
"oneof": [{ "type": "string" }, { "type": "array", "items": { "type": "string", "title": "Command", "description": "Slash command to run." } }]
|
2021-01-06 14:07:24 +01:00
|
|
|
},
|
2021-03-21 15:18:38 +01:00
|
|
|
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
|
2021-01-06 14:07:24 +01:00
|
|
|
}
|
|
|
|
|
}
|