33 lines
1.7 KiB
JSON
33 lines
1.7 KiB
JSON
{
|
||
"$schema": "http://json-schema.org/draft-07/schema",
|
||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.run_command",
|
||
"type": "object",
|
||
"description": "Triggers a slash command or a list of slash commands.",
|
||
"title": "Run command",
|
||
"additionalProperties": false,
|
||
"properties": {
|
||
"command": {
|
||
"default": "",
|
||
"description": "Slash command to run.",
|
||
"title": "command",
|
||
"oneof": [
|
||
{ "type": "string" },
|
||
{
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string",
|
||
"title": "Command",
|
||
"description": "Slash command to run."
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"target": {
|
||
"type": "string",
|
||
"default": "self",
|
||
"description": "The target context to execute against.",
|
||
"title": "target"
|
||
}
|
||
}
|
||
}
|