Execute Command

Block Action Type

Executes a command at the position of the block.

Type ID: origins:execute_command

Fields

Field Type Default Description
command String The command to execute.

Examples

"block_action": {
    "type": "origins:execute_command",
    "command": "summon minecraft:item ~ ~ ~ {Item:{id:\"minecraft:wheat\",Count:1}}"
}

This example will summon a Wheat item entity at the position of the block action type.