Add Block

Block Action Type

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 namespace and ID of the block to place.

Examples

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

This example will add a Coal Ore block at the position of the block action type.

"block_action": {
    "type": "origins:add_block",
    "block": "minecraft:chest[facing=north]"
}

This example will add a Chest block facing north at the position of the block action type.