Add Block - apace100/origins-fabric GitHub Wiki

Block Action. Adds a block at the specified action position. Adding means setting the block at the position, offset by the direction of the action.

Type ID: origins:add_block

Fields:

block, string: The ID of the block to place.

Example:

"block_action": {
  "type": "origins:add_block",
  "block": "minecraft:coal_ore"
}

This action sets the block at the position of the action, offset by the direction of the action, to a coal ore.