Add Block

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

Field Type Default Description
block Identifier 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.