Files
minecraft-bedrock-json-schemas/behaviour/blocks/1.16.100/events/run_command.json
2021-01-06 14:07:24 +01:00

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"
}
}
}