33 lines
836 B
JSON
33 lines
836 B
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"
|
|
}
|
|
}
|
|
}
|