Skip to content

Block Action At

apace100 edited this page Nov 2, 2020 · 1 revision

Entity Action. Executes a Block Action at the position of the entity.

Type ID: origins:block_action_at

Fields:

block_action, Block Action: The block action to execute.

Example:

"entity_action": {
  "type": "origins:block_action_at",
  "block_action": {
    "type": "origins:set_block",
    "block": "minecraft:sand"
  }
}

This action will set the block at the position of the entity (usually at their feet) to a sand block.

Clone this wiki locally