Refactoring block
This commit is contained in:
16
source/behavior/blocks/format/events/run_command.json
Normal file
16
source/behavior/blocks/format/events/run_command.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.1.17.0.block.events.run_command",
|
||||
"type": "object",
|
||||
"description": "Triggers a slash command or a list of slash commands.",
|
||||
"title": "Run Command 1.17.0",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user